@principal-ai/subsystems-react 0.51.0 → 0.51.2

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.
Files changed (88) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +6 -4
  4. package/dist/index.js.map +1 -1
  5. package/dist/pierre/PierreTrailCodeView.d.ts +1 -1
  6. package/dist/pierre/PierreTrailCodeView.d.ts.map +1 -1
  7. package/dist/pierre/PierreTrailCodeView.js +44 -21
  8. package/dist/pierre/PierreTrailCodeView.js.map +1 -1
  9. package/dist/stories/Subsystem/C4Graph/c4ProposedElements.fixture.d.ts +493 -0
  10. package/dist/stories/Subsystem/C4Graph/c4ProposedElements.fixture.d.ts.map +1 -0
  11. package/dist/stories/Subsystem/C4Graph/c4ProposedElements.fixture.js +329 -0
  12. package/dist/stories/Subsystem/C4Graph/c4ProposedElements.fixture.js.map +1 -0
  13. package/dist/subsystem/C4Graph.d.ts +2 -2
  14. package/dist/subsystem/C4Graph.d.ts.map +1 -1
  15. package/dist/subsystem/C4Graph.js +25 -16
  16. package/dist/subsystem/C4Graph.js.map +1 -1
  17. package/dist/subsystem/C4NodeCard.d.ts +85 -35
  18. package/dist/subsystem/C4NodeCard.d.ts.map +1 -1
  19. package/dist/subsystem/C4NodeCard.js +112 -83
  20. package/dist/subsystem/C4NodeCard.js.map +1 -1
  21. package/dist/subsystem/FileDrawer.d.ts.map +1 -1
  22. package/dist/subsystem/FileDrawer.js +20 -21
  23. package/dist/subsystem/FileDrawer.js.map +1 -1
  24. package/dist/subsystem/IssueList.d.ts.map +1 -1
  25. package/dist/subsystem/IssueList.js +12 -3
  26. package/dist/subsystem/IssueList.js.map +1 -1
  27. package/dist/subsystem/SubsystemComponentGraph.d.ts.map +1 -1
  28. package/dist/subsystem/SubsystemComponentGraph.js +85 -7
  29. package/dist/subsystem/SubsystemComponentGraph.js.map +1 -1
  30. package/dist/subsystem/c4.d.ts +273 -0
  31. package/dist/subsystem/c4.d.ts.map +1 -0
  32. package/dist/subsystem/c4.js +322 -0
  33. package/dist/subsystem/c4.js.map +1 -0
  34. package/dist/subsystem/c4Evidence.d.ts +143 -0
  35. package/dist/subsystem/c4Evidence.d.ts.map +1 -0
  36. package/dist/subsystem/c4Evidence.js +240 -0
  37. package/dist/subsystem/c4Evidence.js.map +1 -0
  38. package/dist/subsystem/model.d.ts +2 -6
  39. package/dist/subsystem/model.d.ts.map +1 -1
  40. package/dist/subsystem/model.js.map +1 -1
  41. package/package.json +5 -4
  42. package/src/index.ts +26 -28
  43. package/src/pierre/PierreTrailCodeView.tsx +49 -21
  44. package/src/stories/Subsystem/C4Graph/C4NodeGallery.stories.tsx +171 -80
  45. package/src/stories/Subsystem/C4Graph/ProposedElements.stories.tsx +293 -0
  46. package/src/stories/Subsystem/C4Graph/c4ProposedElements.fixture.ts +366 -0
  47. package/src/stories/Subsystem/ComponentGraph/IssueOverlay.stories.tsx +1 -1
  48. package/src/stories/Subsystem/ComponentGraph/Issues.stories.tsx +169 -3
  49. package/src/subsystem/C4Graph.tsx +39 -24
  50. package/src/subsystem/C4NodeCard.test.ts +204 -62
  51. package/src/subsystem/C4NodeCard.tsx +146 -101
  52. package/src/subsystem/FileDrawer.tsx +32 -34
  53. package/src/subsystem/IssueList.tsx +13 -2
  54. package/src/subsystem/SubsystemComponentGraph.tsx +98 -7
  55. package/src/subsystem/c4.test.ts +573 -0
  56. package/src/subsystem/c4.ts +559 -0
  57. package/src/subsystem/c4Evidence.test.ts +386 -0
  58. package/src/subsystem/c4Evidence.ts +329 -0
  59. package/src/subsystem/model.ts +2 -6
  60. package/dist/stories/Subsystem/C4Graph/c4Associations.fixture.d.ts +0 -95
  61. package/dist/stories/Subsystem/C4Graph/c4Associations.fixture.d.ts.map +0 -1
  62. package/dist/stories/Subsystem/C4Graph/c4Associations.fixture.js +0 -340
  63. package/dist/stories/Subsystem/C4Graph/c4Associations.fixture.js.map +0 -1
  64. package/dist/stories/Subsystem/C4Graph/c4Fixture.d.ts +0 -7
  65. package/dist/stories/Subsystem/C4Graph/c4Fixture.d.ts.map +0 -1
  66. package/dist/stories/Subsystem/C4Graph/c4Fixture.js +0 -7335
  67. package/dist/stories/Subsystem/C4Graph/c4Fixture.js.map +0 -1
  68. package/dist/stories/Subsystem/C4Graph/generateFixture.d.ts +0 -2
  69. package/dist/stories/Subsystem/C4Graph/generateFixture.d.ts.map +0 -1
  70. package/dist/stories/Subsystem/C4Graph/generateFixture.js +0 -145
  71. package/dist/stories/Subsystem/C4Graph/generateFixture.js.map +0 -1
  72. package/dist/subsystem/c4Associations.d.ts +0 -186
  73. package/dist/subsystem/c4Associations.d.ts.map +0 -1
  74. package/dist/subsystem/c4Associations.js +0 -284
  75. package/dist/subsystem/c4Associations.js.map +0 -1
  76. package/dist/subsystem/toC4.d.ts +0 -214
  77. package/dist/subsystem/toC4.d.ts.map +0 -1
  78. package/dist/subsystem/toC4.js +0 -282
  79. package/dist/subsystem/toC4.js.map +0 -1
  80. package/src/stories/Subsystem/C4Graph/C4Associations.stories.tsx +0 -273
  81. package/src/stories/Subsystem/C4Graph/C4Container.stories.tsx +0 -101
  82. package/src/stories/Subsystem/C4Graph/c4Associations.fixture.ts +0 -344
  83. package/src/stories/Subsystem/C4Graph/c4Fixture.ts +0 -7339
  84. package/src/stories/Subsystem/C4Graph/generateFixture.ts +0 -161
  85. package/src/subsystem/c4Associations.test.ts +0 -484
  86. package/src/subsystem/c4Associations.ts +0 -398
  87. package/src/subsystem/toC4.test.ts +0 -114
  88. package/src/subsystem/toC4.ts +0 -478
@@ -0,0 +1,493 @@
1
+ /**
2
+ * A proposed C4 element set — what an agent's output looks like.
3
+ *
4
+ * Hand-authored on purpose. The previous fixture was *generated* from live
5
+ * store data by converting each `process` value into a container, which is the
6
+ * thing we no longer believe: `process` says where code runs, not which runs
7
+ * of code are one deployable unit.
8
+ *
9
+ * Everything below is a claim, and each carries a `rationale` saying why. All
10
+ * of it is `proposed` — accepting is a human's decision.
11
+ *
12
+ * Three of these are deliberately wrong, and `c4OpenQuestions` surfaces them:
13
+ * `container:shared-ui` is a library pretending to be a deployable unit,
14
+ * `container:in-memory-state` is process-lifetime state pretending to be a
15
+ * container, and `external:opencode-db` is a boundary two models disagree on.
16
+ */
17
+ import type { C4Element } from '../../../subsystem/c4';
18
+ export declare const c4ProposedElements: C4Element[];
19
+ /**
20
+ * A small document the elements above can be drawn against: the member aliases
21
+ * resolved, plus one trail so there is a line to draw.
22
+ *
23
+ * Only members named by an element appear. A component nobody claimed is
24
+ * deliberately absent — `buildC4Model` reports those as `unmapped` instead of
25
+ * inventing a home for them.
26
+ */
27
+ export declare const c4FixtureDocument: {
28
+ readonly components: readonly [{
29
+ readonly alias: "store-create";
30
+ readonly name: "createSubsystemModel";
31
+ readonly construct: "function";
32
+ readonly file: "packages/subsystems-studio/src/bun/subsystem-model-store.ts";
33
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/subsystem-model-store.ts";
34
+ }, {
35
+ readonly alias: "store-list";
36
+ readonly name: "listSubsystemModels";
37
+ readonly construct: "function";
38
+ readonly file: "packages/subsystems-studio/src/bun/subsystem-model-store.ts";
39
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/subsystem-model-store.ts";
40
+ }, {
41
+ readonly alias: "verify-files";
42
+ readonly name: "verifyModelFiles";
43
+ readonly construct: "function";
44
+ readonly file: "packages/subsystems-studio/src/bun/subsystem-model-store.ts";
45
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/subsystem-model-store.ts";
46
+ }, {
47
+ readonly alias: "resolve-root";
48
+ readonly name: "resolveRepoRootForComponent";
49
+ readonly construct: "function";
50
+ readonly file: "packages/subsystems-studio/src/bun/subsystem-model-store.ts";
51
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/subsystem-model-store.ts";
52
+ }, {
53
+ readonly alias: "audit-model";
54
+ readonly name: "auditSubsystemModel";
55
+ readonly construct: "function";
56
+ readonly file: "packages/subsystems-studio/src/bun/verify-subsystem-component.ts";
57
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/verify-subsystem-component.ts";
58
+ }, {
59
+ readonly alias: "http-put";
60
+ readonly name: "handleSubsystemModelRequest";
61
+ readonly construct: "function";
62
+ readonly file: "packages/subsystems-studio/src/bun/http-server.ts";
63
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/http-server.ts";
64
+ }, {
65
+ readonly alias: "http-propose";
66
+ readonly name: "postSubsystemModelProposal";
67
+ readonly construct: "function";
68
+ readonly file: "packages/subsystems-studio/src/bun/proposal-store.ts";
69
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/proposal-store.ts";
70
+ }, {
71
+ readonly alias: "register-roots";
72
+ readonly name: "registerRepoRoots";
73
+ readonly construct: "function";
74
+ readonly file: "packages/subsystems-studio/src/bun/alexandria.ts";
75
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/alexandria.ts";
76
+ }, {
77
+ readonly alias: "tab-registry";
78
+ readonly name: "tabs";
79
+ readonly construct: "store";
80
+ readonly file: "packages/subsystems-studio/src/bun/index.ts";
81
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/index.ts";
82
+ readonly declaration: {
83
+ readonly kind: "store";
84
+ readonly storage: "memory";
85
+ readonly properties: readonly [];
86
+ };
87
+ }, {
88
+ readonly alias: "live-feed-store";
89
+ readonly name: "OpencodeLiveFeedState";
90
+ readonly construct: "store";
91
+ readonly file: "packages/subsystems-studio/src/bun/opencode-v2-live.ts";
92
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/opencode-v2-live.ts";
93
+ readonly declaration: {
94
+ readonly kind: "store";
95
+ readonly storage: "memory";
96
+ readonly properties: readonly [];
97
+ };
98
+ }, {
99
+ readonly alias: "maintain-probe-registry";
100
+ readonly name: "MaintainerProbeRegistry";
101
+ readonly construct: "store";
102
+ readonly file: "packages/subsystems-studio/src/bun/maintainer-probe.ts";
103
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/maintainer-probe.ts";
104
+ readonly declaration: {
105
+ readonly kind: "store";
106
+ readonly storage: "memory";
107
+ readonly properties: readonly [];
108
+ };
109
+ }, {
110
+ readonly alias: "run-store";
111
+ readonly name: "SubsystemModelRunStore";
112
+ readonly construct: "store";
113
+ readonly file: "packages/subsystems-studio/src/bun/subsystem-model-runs.ts";
114
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/subsystem-model-runs.ts";
115
+ readonly declaration: {
116
+ readonly kind: "store";
117
+ readonly storage: "disk";
118
+ readonly properties: readonly [];
119
+ };
120
+ }, {
121
+ readonly alias: "graphify-store";
122
+ readonly name: "ensureCaches";
123
+ readonly construct: "function";
124
+ readonly file: "packages/subsystems-studio/src/bun/graphify-store.ts";
125
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/graphify-store.ts";
126
+ }, {
127
+ readonly alias: "proposal-create";
128
+ readonly name: "createSubsystemModelProposal";
129
+ readonly construct: "function";
130
+ readonly file: "packages/subsystems-studio/src/bun/proposal-store.ts";
131
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/proposal-store.ts";
132
+ }, {
133
+ readonly alias: "proposal-accept";
134
+ readonly name: "acceptSubsystemModelProposal";
135
+ readonly construct: "function";
136
+ readonly file: "packages/subsystems-studio/src/bun/proposal-store.ts";
137
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/proposal-store.ts";
138
+ }, {
139
+ readonly alias: "maintain-orchestrator";
140
+ readonly name: "maintainSubsystemModel";
141
+ readonly construct: "function";
142
+ readonly file: "packages/subsystems-studio/src/bun/maintain-model.ts";
143
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/maintain-model.ts";
144
+ }, {
145
+ readonly alias: "run-maintain-agent";
146
+ readonly name: "runMaintainAgent";
147
+ readonly construct: "function";
148
+ readonly file: "packages/subsystems-studio/src/bun/maintain-model.ts";
149
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/maintain-model.ts";
150
+ }, {
151
+ readonly alias: "ensure-graphify";
152
+ readonly name: "ensureCaches";
153
+ readonly construct: "function";
154
+ readonly file: "packages/subsystems-studio/src/bun/graphify-store.ts";
155
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/graphify-store.ts";
156
+ }, {
157
+ readonly alias: "store-file";
158
+ readonly name: "writeFile";
159
+ readonly construct: "function";
160
+ readonly file: "packages/subsystems-studio/src/bun/subsystem-model-store.ts";
161
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/subsystem-model-store.ts";
162
+ }, {
163
+ readonly alias: "read-file";
164
+ readonly name: "readSubsystemFile";
165
+ readonly construct: "function";
166
+ readonly file: "packages/subsystems-studio/src/bun/index.ts";
167
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/index.ts";
168
+ }, {
169
+ readonly alias: "close-tab";
170
+ readonly name: "closeTabById";
171
+ readonly construct: "function";
172
+ readonly file: "packages/subsystems-studio/src/bun/index.ts";
173
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/index.ts";
174
+ }, {
175
+ readonly alias: "open-tab";
176
+ readonly name: "openSubsystemModelTab";
177
+ readonly construct: "function";
178
+ readonly file: "packages/subsystems-studio/src/bun/index.ts";
179
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/index.ts";
180
+ }, {
181
+ readonly alias: "subsystems-view";
182
+ readonly name: "SubsystemsModelsView";
183
+ readonly construct: "function";
184
+ readonly file: "packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
185
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
186
+ }, {
187
+ readonly alias: "model-view";
188
+ readonly name: "SubsystemModelView";
189
+ readonly construct: "function";
190
+ readonly file: "packages/subsystems-studio/src/mainview/views/SubsystemModelView.tsx";
191
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/views/SubsystemModelView.tsx";
192
+ }, {
193
+ readonly alias: "regular-audit-view";
194
+ readonly name: "RegularAuditView";
195
+ readonly construct: "function";
196
+ readonly file: "packages/subsystems-studio/src/mainview/views/SubsystemModelView.tsx";
197
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/views/SubsystemModelView.tsx";
198
+ }, {
199
+ readonly alias: "list-view";
200
+ readonly name: "listView";
201
+ readonly construct: "function";
202
+ readonly file: "packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
203
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
204
+ }, {
205
+ readonly alias: "file-panel";
206
+ readonly name: "FilePanel";
207
+ readonly construct: "function";
208
+ readonly file: "packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
209
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
210
+ }, {
211
+ readonly alias: "rpc-bridge";
212
+ readonly name: "electrobun";
213
+ readonly construct: "store";
214
+ readonly file: "packages/subsystems-studio/src/mainview/rpc.ts";
215
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/rpc.ts";
216
+ readonly declaration: {
217
+ readonly kind: "store";
218
+ readonly properties: readonly [];
219
+ };
220
+ }, {
221
+ readonly alias: "reload-subs";
222
+ readonly name: "reloadSubscribers";
223
+ readonly construct: "store";
224
+ readonly file: "packages/subsystems-studio/src/mainview/rpc.ts";
225
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/rpc.ts";
226
+ readonly declaration: {
227
+ readonly kind: "store";
228
+ readonly properties: readonly [];
229
+ };
230
+ }, {
231
+ readonly alias: "regular-audit-subscribers";
232
+ readonly name: "regularAuditChangeSubscribers";
233
+ readonly construct: "store";
234
+ readonly file: "packages/subsystems-studio/src/mainview/rpc.ts";
235
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/rpc.ts";
236
+ readonly declaration: {
237
+ readonly kind: "store";
238
+ readonly properties: readonly [];
239
+ };
240
+ }, {
241
+ readonly alias: "app-shell";
242
+ readonly name: "App";
243
+ readonly construct: "function";
244
+ readonly file: "packages/subsystems-studio/src/mainview/App.tsx";
245
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/App.tsx";
246
+ }, {
247
+ readonly alias: "tab-strip";
248
+ readonly name: "TabStrip";
249
+ readonly construct: "function";
250
+ readonly file: "packages/subsystems-studio/src/mainview/components/TabStrip.tsx";
251
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/components/TabStrip.tsx";
252
+ }, {
253
+ readonly alias: "graph-view";
254
+ readonly name: "SubsystemComponentGraph";
255
+ readonly construct: "function";
256
+ readonly file: "packages/subsystems-react/src/subsystem/SubsystemComponentGraph.tsx";
257
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-react/src/subsystem/SubsystemComponentGraph.tsx";
258
+ }, {
259
+ readonly alias: "detail-graph";
260
+ readonly name: "DetailGraph";
261
+ readonly construct: "function";
262
+ readonly file: "packages/subsystems-react/src/subsystem/SubsystemComponentGraph.tsx";
263
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-react/src/subsystem/SubsystemComponentGraph.tsx";
264
+ }, {
265
+ readonly alias: "is-model-viewed";
266
+ readonly name: "isModelViewed";
267
+ readonly construct: "function";
268
+ readonly file: "packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
269
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
270
+ }, {
271
+ readonly alias: "preloadHighlighter";
272
+ readonly name: "preloadHighlighter";
273
+ readonly construct: "external";
274
+ readonly file: "";
275
+ readonly purl: "pkg:npm/@pierre/diffs";
276
+ }, {
277
+ readonly alias: "SharedHighlighter";
278
+ readonly name: "SharedHighlighter";
279
+ readonly construct: "external";
280
+ readonly file: "";
281
+ readonly purl: "pkg:npm/@pierre/diffs";
282
+ }, {
283
+ readonly alias: "CodeView";
284
+ readonly name: "CodeView";
285
+ readonly construct: "external";
286
+ readonly file: "";
287
+ readonly purl: "pkg:npm/@pierre/diffs";
288
+ }, {
289
+ readonly alias: "cli-create";
290
+ readonly name: "create";
291
+ readonly construct: "function";
292
+ readonly file: "packages/principal-studio-cli/src/commands/subsystem-model.ts";
293
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/principal-studio-cli/src/commands/subsystem-model.ts";
294
+ }, {
295
+ readonly alias: "nest-groups";
296
+ readonly name: "nestCompoundGroups";
297
+ readonly construct: "function";
298
+ readonly file: "packages/subsystems-react/src/utils/elkLayout.ts";
299
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-react/src/utils/elkLayout.ts";
300
+ }, {
301
+ readonly alias: "build-boundary-layout";
302
+ readonly name: "buildBoundaryLayoutGroups";
303
+ readonly construct: "function";
304
+ readonly file: "packages/subsystems-react/src/subsystem/model.ts";
305
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-react/src/subsystem/model.ts";
306
+ }, {
307
+ readonly alias: "measured-dims";
308
+ readonly name: "measuredDimsRef";
309
+ readonly construct: "store";
310
+ readonly file: "packages/subsystems-react/src/subsystem/SubsystemComponentGraph.tsx";
311
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-react/src/subsystem/SubsystemComponentGraph.tsx";
312
+ readonly declaration: {
313
+ readonly kind: "store";
314
+ readonly properties: readonly [];
315
+ };
316
+ }, {
317
+ readonly alias: "model-disk-store";
318
+ readonly name: "~/.principal/subsystem-models";
319
+ readonly construct: "store";
320
+ readonly file: "";
321
+ readonly purl: "external:file:~/.principal/subsystem-models";
322
+ readonly declaration: {
323
+ readonly kind: "store";
324
+ readonly storage: "disk";
325
+ readonly properties: readonly [];
326
+ };
327
+ }, {
328
+ readonly alias: "proposals-store";
329
+ readonly name: "SubsystemModelProposalStore";
330
+ readonly construct: "store";
331
+ readonly file: "packages/subsystems-studio/src/bun/proposal-store.ts";
332
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/proposal-store.ts";
333
+ readonly declaration: {
334
+ readonly kind: "store";
335
+ readonly storage: "disk";
336
+ readonly properties: readonly [];
337
+ };
338
+ }, {
339
+ readonly alias: "opencode-v2-service";
340
+ readonly name: "OpenCode v2 service";
341
+ readonly construct: "external";
342
+ readonly file: "";
343
+ readonly purl: "external:opencode/v2-service";
344
+ }, {
345
+ readonly alias: "github-gists-api";
346
+ readonly name: "GitHub Gists API";
347
+ readonly construct: "external";
348
+ readonly file: "";
349
+ readonly purl: "external:api.github.com/gists";
350
+ }, {
351
+ readonly alias: "session-v2";
352
+ readonly name: "session_v2";
353
+ readonly construct: "external";
354
+ readonly file: "";
355
+ readonly purl: "external:opencode.db/session-v2";
356
+ }, {
357
+ readonly alias: "event";
358
+ readonly name: "event";
359
+ readonly construct: "external";
360
+ readonly file: "";
361
+ readonly purl: "external:opencode.db/event";
362
+ }, {
363
+ readonly alias: "session-message";
364
+ readonly name: "session_message";
365
+ readonly construct: "external";
366
+ readonly file: "";
367
+ readonly purl: "external:opencode.db/session-message";
368
+ }, {
369
+ readonly alias: "renderer-probe-cache";
370
+ readonly name: "rendererProbeCache";
371
+ readonly construct: "store";
372
+ readonly file: "packages/subsystems-studio/src/mainview/rpc.ts";
373
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/rpc.ts";
374
+ readonly declaration: {
375
+ readonly kind: "store";
376
+ readonly storage: "memory";
377
+ readonly properties: readonly [];
378
+ };
379
+ }, {
380
+ readonly alias: "tab-order-cache";
381
+ readonly name: "tabOrderCache";
382
+ readonly construct: "store";
383
+ readonly file: "packages/subsystems-studio/src/mainview/components/TabStrip.tsx";
384
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/components/TabStrip.tsx";
385
+ readonly declaration: {
386
+ readonly kind: "store";
387
+ readonly storage: "memory";
388
+ readonly properties: readonly [];
389
+ };
390
+ }, {
391
+ readonly alias: "maintain-agent";
392
+ readonly name: "Maintenance agent (OpenCode) session";
393
+ readonly construct: "custom_entity";
394
+ readonly file: "";
395
+ readonly purl: "external";
396
+ }];
397
+ readonly trails: readonly [{
398
+ readonly id: "tl-audit";
399
+ readonly title: "Run a dry-run audit from the Audit button";
400
+ readonly steps: readonly [{
401
+ readonly from: "model-view";
402
+ readonly to: "audit-model";
403
+ readonly mechanism: "calls";
404
+ readonly file: "packages/subsystems-studio/src/mainview/views/SubsystemModelView.tsx";
405
+ readonly line: 443;
406
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/views/SubsystemModelView.tsx";
407
+ readonly symbol: "SubsystemModelView";
408
+ }, {
409
+ readonly from: "audit-model";
410
+ readonly to: "model-disk-store";
411
+ readonly mechanism: "writes";
412
+ readonly file: "packages/subsystems-studio/src/bun/verify-subsystem-component.ts";
413
+ readonly line: 950;
414
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/verify-subsystem-component.ts";
415
+ readonly symbol: "auditSubsystemModel";
416
+ }, {
417
+ readonly from: "subsystems-view";
418
+ readonly to: "model-view";
419
+ readonly mechanism: "feeds";
420
+ readonly file: "packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
421
+ readonly line: 1152;
422
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
423
+ readonly symbol: "openSubsystemModel";
424
+ }, {
425
+ readonly from: "subsystems-view";
426
+ readonly to: "file-panel";
427
+ readonly mechanism: "uses";
428
+ readonly file: "packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
429
+ readonly line: 958;
430
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/mainview/views/SubsystemModelsView.tsx";
431
+ readonly symbol: "onShowAuditReport";
432
+ }];
433
+ }, {
434
+ readonly id: "tl-maintain";
435
+ readonly title: "Maintain run posts a correction proposal";
436
+ readonly steps: readonly [{
437
+ readonly from: "maintain-orchestrator";
438
+ readonly to: "run-maintain-agent";
439
+ readonly mechanism: "calls";
440
+ readonly file: "packages/subsystems-studio/src/bun/maintain-model.ts";
441
+ readonly line: 854;
442
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/maintain-model.ts";
443
+ readonly symbol: "maintainSubsystemModel";
444
+ }, {
445
+ readonly from: "run-maintain-agent";
446
+ readonly to: "opencode-v2-service";
447
+ readonly mechanism: "calls";
448
+ readonly file: "packages/subsystems-studio/src/bun/maintain-model.ts";
449
+ readonly line: 651;
450
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/maintain-model.ts";
451
+ readonly symbol: "runMaintainAgent";
452
+ }, {
453
+ readonly from: "opencode-v2-service";
454
+ readonly to: "maintain-agent";
455
+ readonly mechanism: "feeds";
456
+ readonly file: "packages/subsystems-studio/src/bun/maintain-model.ts";
457
+ readonly line: 650;
458
+ readonly purl: "external:opencode/v2-service#packages/subsystems-studio/src/bun/maintain-model.ts";
459
+ readonly symbol: "runMaintainAgent";
460
+ }, {
461
+ readonly from: "http-propose";
462
+ readonly to: "proposal-create";
463
+ readonly mechanism: "calls";
464
+ readonly file: "packages/subsystems-studio/src/bun/http-server.ts";
465
+ readonly line: 404;
466
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/http-server.ts";
467
+ readonly symbol: "handleSubsystemModelRequest";
468
+ }, {
469
+ readonly from: "proposal-create";
470
+ readonly to: "proposals-store";
471
+ readonly mechanism: "writes";
472
+ readonly file: "packages/subsystems-studio/src/bun/proposal-store.ts";
473
+ readonly line: 554;
474
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/proposal-store.ts";
475
+ readonly symbol: "createSubsystemModelProposal";
476
+ }, {
477
+ readonly from: "maintain-orchestrator";
478
+ readonly to: "run-store";
479
+ readonly mechanism: "writes";
480
+ readonly file: "packages/subsystems-studio/src/bun/maintain-model.ts";
481
+ readonly line: 892;
482
+ readonly purl: "pkg:github/acme/subsystem-modeling#packages/subsystems-studio/src/bun/maintain-model.ts";
483
+ readonly symbol: "noteSubsystemModelRunStart";
484
+ }];
485
+ }];
486
+ };
487
+ /** Elements the author is asking a question about, surfaced in the story. */
488
+ export declare const c4OpenQuestions: {
489
+ id: string;
490
+ label: string;
491
+ rationale: string;
492
+ }[];
493
+ //# sourceMappingURL=c4ProposedElements.fixture.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"c4ProposedElements.fixture.d.ts","sourceRoot":"","sources":["../../../../src/stories/Subsystem/C4Graph/c4ProposedElements.fixture.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAIvD,eAAO,MAAM,kBAAkB,EAAE,SAAS,EAqPzC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFpB,CAAC;AAEX,6EAA6E;AAC7E,eAAO,MAAM,eAAe;;;;GAE0C,CAAC"}