@treasuryspatial/render-kit 0.1.17 → 0.1.18

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 (37) hide show
  1. package/dist/prompt-pack/packs/index.d.ts +10 -0
  2. package/dist/prompt-pack/packs/index.d.ts.map +1 -1
  3. package/dist/prompt-pack/packs/index.js +10 -0
  4. package/dist/prompt-pack/packs/transit.base.d.ts +143 -0
  5. package/dist/prompt-pack/packs/transit.base.d.ts.map +1 -0
  6. package/dist/prompt-pack/packs/transit.base.js +251 -0
  7. package/dist/prompt-pack/packs/transit.design.d.ts +142 -0
  8. package/dist/prompt-pack/packs/transit.design.d.ts.map +1 -0
  9. package/dist/prompt-pack/packs/transit.design.js +233 -0
  10. package/dist/prompt-pack/packs/transit.imagine.d.ts +126 -0
  11. package/dist/prompt-pack/packs/transit.imagine.d.ts.map +1 -0
  12. package/dist/prompt-pack/packs/transit.imagine.js +196 -0
  13. package/dist/prompt-pack/packs/transit.map.d.ts +142 -0
  14. package/dist/prompt-pack/packs/transit.map.d.ts.map +1 -0
  15. package/dist/prompt-pack/packs/transit.map.js +233 -0
  16. package/dist/prompt-pack/packs/transit.mode.design.d.ts +21 -0
  17. package/dist/prompt-pack/packs/transit.mode.design.d.ts.map +1 -0
  18. package/dist/prompt-pack/packs/transit.mode.design.js +32 -0
  19. package/dist/prompt-pack/packs/transit.mode.map.d.ts +21 -0
  20. package/dist/prompt-pack/packs/transit.mode.map.d.ts.map +1 -0
  21. package/dist/prompt-pack/packs/transit.mode.map.js +32 -0
  22. package/dist/prompt-pack/packs/transit.mode.streetmix.d.ts +27 -0
  23. package/dist/prompt-pack/packs/transit.mode.streetmix.d.ts.map +1 -0
  24. package/dist/prompt-pack/packs/transit.mode.streetmix.js +40 -0
  25. package/dist/prompt-pack/packs/transit.mode.streetview.d.ts +21 -0
  26. package/dist/prompt-pack/packs/transit.mode.streetview.d.ts.map +1 -0
  27. package/dist/prompt-pack/packs/transit.mode.streetview.js +32 -0
  28. package/dist/prompt-pack/packs/transit.streetmix.d.ts +146 -0
  29. package/dist/prompt-pack/packs/transit.streetmix.d.ts.map +1 -0
  30. package/dist/prompt-pack/packs/transit.streetmix.js +239 -0
  31. package/dist/prompt-pack/packs/transit.streetview.d.ts +142 -0
  32. package/dist/prompt-pack/packs/transit.streetview.d.ts.map +1 -0
  33. package/dist/prompt-pack/packs/transit.streetview.js +233 -0
  34. package/dist/prompt-pack/registry.d.ts.map +1 -1
  35. package/dist/prompt-pack/registry.js +43 -1
  36. package/dist/tsconfig.tsbuildinfo +1 -1
  37. package/package.json +1 -1
@@ -0,0 +1,233 @@
1
+ export const transitMap = {
2
+ "id": "transit.map",
3
+ "version": "v1",
4
+ "label": "Transit Corridor",
5
+ "description": "Prompt pack for transit-facing streetscape and corridor visualizations.",
6
+ "blockOrder": [
7
+ "task",
8
+ "form",
9
+ "view",
10
+ "style",
11
+ "program",
12
+ "context"
13
+ ],
14
+ "assembly": {
15
+ "strategy": "base+update",
16
+ "updateBlocks": [
17
+ "form",
18
+ "view",
19
+ "style",
20
+ "program",
21
+ "context"
22
+ ],
23
+ "includeUserPrompt": true
24
+ },
25
+ "task": {
26
+ "variants": {
27
+ "map": [
28
+ "Render a photorealistic transit-oriented streetscape visualization using the provided scaffold image as the controlling reference.",
29
+ "Site orientation, parcel context, and selected corridor geometry are authoritative and must remain fixed.",
30
+ "Transit design upgrades should read as realistic changes to the selected site rather than a new invented street."
31
+ ]
32
+ }
33
+ },
34
+ "blocks": {
35
+ "task": {
36
+ "id": "task"
37
+ },
38
+ "form": {
39
+ "id": "form",
40
+ "label": "Scaffold",
41
+ "fields": [
42
+ "form.scaffoldMode",
43
+ "form.scaffoldReference"
44
+ ]
45
+ },
46
+ "view": {
47
+ "id": "view",
48
+ "label": "View",
49
+ "fields": [
50
+ "view.locationLabel",
51
+ "view.timeOfDayLabel"
52
+ ]
53
+ },
54
+ "style": {
55
+ "id": "style",
56
+ "label": "Style",
57
+ "fields": [
58
+ "style.styleReference"
59
+ ]
60
+ },
61
+ "program": {
62
+ "id": "program",
63
+ "label": "Program",
64
+ "fields": [
65
+ "program.people",
66
+ "program.bicycles",
67
+ "program.cars",
68
+ "program.trams",
69
+ "program.landscaping",
70
+ "program.tech"
71
+ ]
72
+ },
73
+ "context": {
74
+ "id": "context",
75
+ "label": "Context",
76
+ "fields": [
77
+ "context.modeGuidance"
78
+ ],
79
+ "footerLines": [
80
+ {
81
+ "text": "Preserve the selected site orientation, curb alignment, and corridor context from the map-driven scaffold.",
82
+ "ensureSentence": true
83
+ }
84
+ ]
85
+ }
86
+ },
87
+ "fields": {
88
+ "form.scaffoldMode": {
89
+ "id": "form.scaffoldMode",
90
+ "type": "text",
91
+ "label": "scaffold mode",
92
+ "promptTemplate": "Active mode: {value}.",
93
+ "ensureSentence": true
94
+ },
95
+ "form.scaffoldReference": {
96
+ "id": "form.scaffoldReference",
97
+ "type": "text",
98
+ "label": "scaffold reference",
99
+ "ensureSentence": true
100
+ },
101
+ "view.locationLabel": {
102
+ "id": "view.locationLabel",
103
+ "type": "text",
104
+ "label": "location",
105
+ "promptTemplate": "Geographic context is {value}; let transit operations, materials, and weather cues reflect that setting.",
106
+ "ensureSentence": true
107
+ },
108
+ "view.timeOfDayLabel": {
109
+ "id": "view.timeOfDayLabel",
110
+ "type": "text",
111
+ "label": "time of day",
112
+ "promptTemplate": "Lighting and atmosphere should reflect {value}.",
113
+ "ensureSentence": true
114
+ },
115
+ "style.styleReference": {
116
+ "id": "style.styleReference",
117
+ "type": "text",
118
+ "label": "style reference",
119
+ "promptTemplate": "Style reference is {value}; use it for tone, material, and image attitude without direct imitation.",
120
+ "ensureSentence": true
121
+ },
122
+ "program.people": {
123
+ "id": "program.people",
124
+ "type": "toggle",
125
+ "label": "people",
126
+ "promptOn": "Include riders and pedestrians at realistic scale, with believable waiting, walking, boarding, and transfer behavior."
127
+ },
128
+ "program.bicycles": {
129
+ "id": "program.bicycles",
130
+ "type": "toggle",
131
+ "label": "bicycles",
132
+ "promptOn": "Include bicycles and micromobility activity where the corridor design supports them, integrated credibly with transit movement."
133
+ },
134
+ "program.cars": {
135
+ "id": "program.cars",
136
+ "type": "toggle",
137
+ "label": "cars",
138
+ "promptOn": "Include cars only where the corridor still permits them, keeping private vehicles subordinate to the transit and public-realm hierarchy."
139
+ },
140
+ "program.trams": {
141
+ "id": "program.trams",
142
+ "type": "toggle",
143
+ "label": "trams",
144
+ "promptOn": "Include visible transit vehicles or rail elements where appropriate, keeping stop identity and vehicle operations legible."
145
+ },
146
+ "program.landscaping": {
147
+ "id": "program.landscaping",
148
+ "type": "toggle",
149
+ "label": "landscaping",
150
+ "promptOn": "Use planting and street trees to support rider comfort, shade, and public-realm identity without obscuring transit operations."
151
+ },
152
+ "program.tech": {
153
+ "id": "program.tech",
154
+ "type": "toggle",
155
+ "label": "tech",
156
+ "promptOn": "Include fare, information, lighting, and wayfinding technology only where it improves transit legibility and rider experience."
157
+ },
158
+ "context.modeGuidance": {
159
+ "id": "context.modeGuidance",
160
+ "type": "text",
161
+ "label": "mode guidance",
162
+ "ensureSentence": true
163
+ }
164
+ },
165
+ "ui": {
166
+ "panels": [
167
+ {
168
+ "id": "form",
169
+ "label": "Scaffold",
170
+ "description": "What image state is controlling the render",
171
+ "groups": [
172
+ {
173
+ "id": "scaffold",
174
+ "label": "Scaffold source",
175
+ "fields": [
176
+ "form.scaffoldMode",
177
+ "form.scaffoldReference"
178
+ ]
179
+ }
180
+ ]
181
+ },
182
+ {
183
+ "id": "view",
184
+ "label": "View",
185
+ "description": "Context and lighting",
186
+ "groups": [
187
+ {
188
+ "id": "view",
189
+ "label": "View context",
190
+ "fields": [
191
+ "view.locationLabel",
192
+ "view.timeOfDayLabel"
193
+ ]
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "id": "program",
199
+ "label": "Program",
200
+ "description": "Transit-facing scene content",
201
+ "groups": [
202
+ {
203
+ "id": "program",
204
+ "label": "Scene elements",
205
+ "fields": [
206
+ "program.people",
207
+ "program.bicycles",
208
+ "program.cars",
209
+ "program.trams",
210
+ "program.landscaping",
211
+ "program.tech"
212
+ ]
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ "id": "context",
218
+ "label": "Context",
219
+ "description": "Mode-specific rules",
220
+ "groups": [
221
+ {
222
+ "id": "context",
223
+ "label": "Mode guidance",
224
+ "fields": [
225
+ "context.modeGuidance",
226
+ "style.styleReference"
227
+ ]
228
+ }
229
+ ]
230
+ }
231
+ ]
232
+ }
233
+ };
@@ -0,0 +1,21 @@
1
+ export declare const transitDesignOverlay: {
2
+ assembly: {
3
+ strategy: string;
4
+ updateBlocks: string[];
5
+ includeUserPrompt: boolean;
6
+ };
7
+ task: {
8
+ variants: {
9
+ design: string[];
10
+ };
11
+ };
12
+ blocks: {
13
+ form: {
14
+ footerLines: {
15
+ text: string;
16
+ ensureSentence: boolean;
17
+ }[];
18
+ };
19
+ };
20
+ };
21
+ //# sourceMappingURL=transit.mode.design.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transit.mode.design.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/transit.mode.design.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;CA+BhC,CAAC"}
@@ -0,0 +1,32 @@
1
+ export const transitDesignOverlay = {
2
+ "assembly": {
3
+ "strategy": "base+update",
4
+ "updateBlocks": [
5
+ "form",
6
+ "view",
7
+ "style",
8
+ "program",
9
+ "context"
10
+ ],
11
+ "includeUserPrompt": true
12
+ },
13
+ "task": {
14
+ "variants": {
15
+ "design": [
16
+ "Render a photorealistic transit-oriented streetscape visualization using the provided scaffold image as the controlling reference.",
17
+ "Use the input image as the exact geometry and camera guide; do not drift from the base street condition.",
18
+ "Transit design upgrades should read as deliberate interventions on a fixed corridor rather than a new invented street."
19
+ ]
20
+ }
21
+ },
22
+ "blocks": {
23
+ "form": {
24
+ "footerLines": [
25
+ {
26
+ "text": "Keep lane hierarchy, curb structure, and stop placement aligned to the captured scaffold.",
27
+ "ensureSentence": true
28
+ }
29
+ ]
30
+ }
31
+ }
32
+ };
@@ -0,0 +1,21 @@
1
+ export declare const transitMapOverlay: {
2
+ assembly: {
3
+ strategy: string;
4
+ updateBlocks: string[];
5
+ includeUserPrompt: boolean;
6
+ };
7
+ task: {
8
+ variants: {
9
+ map: string[];
10
+ };
11
+ };
12
+ blocks: {
13
+ context: {
14
+ footerLines: {
15
+ text: string;
16
+ ensureSentence: boolean;
17
+ }[];
18
+ };
19
+ };
20
+ };
21
+ //# sourceMappingURL=transit.mode.map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transit.mode.map.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/transit.mode.map.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;CA+B7B,CAAC"}
@@ -0,0 +1,32 @@
1
+ export const transitMapOverlay = {
2
+ "assembly": {
3
+ "strategy": "base+update",
4
+ "updateBlocks": [
5
+ "form",
6
+ "view",
7
+ "style",
8
+ "program",
9
+ "context"
10
+ ],
11
+ "includeUserPrompt": true
12
+ },
13
+ "task": {
14
+ "variants": {
15
+ "map": [
16
+ "Render a photorealistic transit-oriented streetscape visualization using the provided scaffold image as the controlling reference.",
17
+ "Site orientation, parcel context, and selected corridor geometry are authoritative and must remain fixed.",
18
+ "Transit design upgrades should read as realistic changes to the selected site rather than a new invented street."
19
+ ]
20
+ }
21
+ },
22
+ "blocks": {
23
+ "context": {
24
+ "footerLines": [
25
+ {
26
+ "text": "Preserve the selected site orientation, curb alignment, and corridor context from the map-driven scaffold.",
27
+ "ensureSentence": true
28
+ }
29
+ ]
30
+ }
31
+ }
32
+ };
@@ -0,0 +1,27 @@
1
+ export declare const transitStreetmixOverlay: {
2
+ assembly: {
3
+ strategy: string;
4
+ updateBlocks: string[];
5
+ includeUserPrompt: boolean;
6
+ };
7
+ task: {
8
+ variants: {
9
+ streetmix: string[];
10
+ };
11
+ };
12
+ blocks: {
13
+ form: {
14
+ footerLines: {
15
+ text: string;
16
+ ensureSentence: boolean;
17
+ }[];
18
+ };
19
+ context: {
20
+ footerLines: {
21
+ text: string;
22
+ ensureSentence: boolean;
23
+ }[];
24
+ };
25
+ };
26
+ };
27
+ //# sourceMappingURL=transit.mode.streetmix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transit.mode.streetmix.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/transit.mode.streetmix.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;CAuCnC,CAAC"}
@@ -0,0 +1,40 @@
1
+ export const transitStreetmixOverlay = {
2
+ "assembly": {
3
+ "strategy": "base+update",
4
+ "updateBlocks": [
5
+ "form",
6
+ "view",
7
+ "style",
8
+ "program",
9
+ "context"
10
+ ],
11
+ "includeUserPrompt": true
12
+ },
13
+ "task": {
14
+ "variants": {
15
+ "streetmix": [
16
+ "Render a photorealistic transit-oriented streetscape visualization using the provided Streetmix street section capture as the controlling reference.",
17
+ "The Streetmix section is authoritative for lane allocation, curb hierarchy, stop placement, and right-of-way proportions.",
18
+ "Convert the Streetmix scaffold into a plausible on-the-ground corridor image without changing the designed street section."
19
+ ]
20
+ }
21
+ },
22
+ "blocks": {
23
+ "form": {
24
+ "footerLines": [
25
+ {
26
+ "text": "Do not change the designed street section; materialize it as a credible transit corridor at human scale.",
27
+ "ensureSentence": true
28
+ }
29
+ ]
30
+ },
31
+ "context": {
32
+ "footerLines": [
33
+ {
34
+ "text": "Streetmix-generated lane widths, curb zones, and transit zones are authoritative.",
35
+ "ensureSentence": true
36
+ }
37
+ ]
38
+ }
39
+ }
40
+ };
@@ -0,0 +1,21 @@
1
+ export declare const transitStreetviewOverlay: {
2
+ assembly: {
3
+ strategy: string;
4
+ updateBlocks: string[];
5
+ includeUserPrompt: boolean;
6
+ };
7
+ task: {
8
+ variants: {
9
+ streetview: string[];
10
+ };
11
+ };
12
+ blocks: {
13
+ view: {
14
+ footerLines: {
15
+ text: string;
16
+ ensureSentence: boolean;
17
+ }[];
18
+ };
19
+ };
20
+ };
21
+ //# sourceMappingURL=transit.mode.streetview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transit.mode.streetview.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/transit.mode.streetview.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;CA+BpC,CAAC"}
@@ -0,0 +1,32 @@
1
+ export const transitStreetviewOverlay = {
2
+ "assembly": {
3
+ "strategy": "base+update",
4
+ "updateBlocks": [
5
+ "form",
6
+ "view",
7
+ "style",
8
+ "program",
9
+ "context"
10
+ ],
11
+ "includeUserPrompt": true
12
+ },
13
+ "task": {
14
+ "variants": {
15
+ "streetview": [
16
+ "Render a photorealistic transit-oriented streetscape visualization using the provided Street View capture as the controlling reference.",
17
+ "Keep the real-world camera framing, horizon line, curb geometry, and baseline corridor condition fixed while applying transit upgrades from the brief.",
18
+ "Changes should read as realistic interventions on an existing street, not as a wholly new invented place."
19
+ ]
20
+ }
21
+ },
22
+ "blocks": {
23
+ "view": {
24
+ "footerLines": [
25
+ {
26
+ "text": "Maintain the captured Street View camera framing and horizon; do not reinterpret the viewpoint.",
27
+ "ensureSentence": true
28
+ }
29
+ ]
30
+ }
31
+ }
32
+ };
@@ -0,0 +1,146 @@
1
+ export declare const transitStreetmix: {
2
+ id: string;
3
+ version: string;
4
+ label: string;
5
+ description: string;
6
+ blockOrder: string[];
7
+ assembly: {
8
+ strategy: string;
9
+ updateBlocks: string[];
10
+ includeUserPrompt: boolean;
11
+ };
12
+ task: {
13
+ variants: {
14
+ streetmix: string[];
15
+ };
16
+ };
17
+ blocks: {
18
+ task: {
19
+ id: string;
20
+ };
21
+ form: {
22
+ id: string;
23
+ label: string;
24
+ fields: string[];
25
+ footerLines: {
26
+ text: string;
27
+ ensureSentence: boolean;
28
+ }[];
29
+ };
30
+ view: {
31
+ id: string;
32
+ label: string;
33
+ fields: string[];
34
+ };
35
+ style: {
36
+ id: string;
37
+ label: string;
38
+ fields: string[];
39
+ };
40
+ program: {
41
+ id: string;
42
+ label: string;
43
+ fields: string[];
44
+ };
45
+ context: {
46
+ id: string;
47
+ label: string;
48
+ fields: string[];
49
+ footerLines: {
50
+ text: string;
51
+ ensureSentence: boolean;
52
+ }[];
53
+ };
54
+ };
55
+ fields: {
56
+ "form.scaffoldMode": {
57
+ id: string;
58
+ type: string;
59
+ label: string;
60
+ promptTemplate: string;
61
+ ensureSentence: boolean;
62
+ };
63
+ "form.scaffoldReference": {
64
+ id: string;
65
+ type: string;
66
+ label: string;
67
+ ensureSentence: boolean;
68
+ };
69
+ "view.locationLabel": {
70
+ id: string;
71
+ type: string;
72
+ label: string;
73
+ promptTemplate: string;
74
+ ensureSentence: boolean;
75
+ };
76
+ "view.timeOfDayLabel": {
77
+ id: string;
78
+ type: string;
79
+ label: string;
80
+ promptTemplate: string;
81
+ ensureSentence: boolean;
82
+ };
83
+ "style.styleReference": {
84
+ id: string;
85
+ type: string;
86
+ label: string;
87
+ promptTemplate: string;
88
+ ensureSentence: boolean;
89
+ };
90
+ "program.people": {
91
+ id: string;
92
+ type: string;
93
+ label: string;
94
+ promptOn: string;
95
+ };
96
+ "program.bicycles": {
97
+ id: string;
98
+ type: string;
99
+ label: string;
100
+ promptOn: string;
101
+ };
102
+ "program.cars": {
103
+ id: string;
104
+ type: string;
105
+ label: string;
106
+ promptOn: string;
107
+ };
108
+ "program.trams": {
109
+ id: string;
110
+ type: string;
111
+ label: string;
112
+ promptOn: string;
113
+ };
114
+ "program.landscaping": {
115
+ id: string;
116
+ type: string;
117
+ label: string;
118
+ promptOn: string;
119
+ };
120
+ "program.tech": {
121
+ id: string;
122
+ type: string;
123
+ label: string;
124
+ promptOn: string;
125
+ };
126
+ "context.modeGuidance": {
127
+ id: string;
128
+ type: string;
129
+ label: string;
130
+ ensureSentence: boolean;
131
+ };
132
+ };
133
+ ui: {
134
+ panels: {
135
+ id: string;
136
+ label: string;
137
+ description: string;
138
+ groups: {
139
+ id: string;
140
+ label: string;
141
+ fields: string[];
142
+ }[];
143
+ }[];
144
+ };
145
+ };
146
+ //# sourceMappingURL=transit.streetmix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transit.streetmix.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/transit.streetmix.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8O5B,CAAC"}