@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 transitDesign = {
2
+ "id": "transit.design",
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
+ "design": [
28
+ "Render a photorealistic transit-oriented streetscape visualization using the provided scaffold image as the controlling reference.",
29
+ "Use the input image as the exact geometry and camera guide; do not drift from the base street condition.",
30
+ "Transit design upgrades should read as deliberate interventions on a fixed corridor 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
+ "footerLines": [
46
+ {
47
+ "text": "Keep lane hierarchy, curb structure, and stop placement aligned to the captured scaffold.",
48
+ "ensureSentence": true
49
+ }
50
+ ]
51
+ },
52
+ "view": {
53
+ "id": "view",
54
+ "label": "View",
55
+ "fields": [
56
+ "view.locationLabel",
57
+ "view.timeOfDayLabel"
58
+ ]
59
+ },
60
+ "style": {
61
+ "id": "style",
62
+ "label": "Style",
63
+ "fields": [
64
+ "style.styleReference"
65
+ ]
66
+ },
67
+ "program": {
68
+ "id": "program",
69
+ "label": "Program",
70
+ "fields": [
71
+ "program.people",
72
+ "program.bicycles",
73
+ "program.cars",
74
+ "program.trams",
75
+ "program.landscaping",
76
+ "program.tech"
77
+ ]
78
+ },
79
+ "context": {
80
+ "id": "context",
81
+ "label": "Context",
82
+ "fields": [
83
+ "context.modeGuidance"
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,126 @@
1
+ export declare const transitImagine: {
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
+ imagine: string[];
15
+ };
16
+ };
17
+ blocks: {
18
+ task: {
19
+ id: string;
20
+ };
21
+ form: {
22
+ id: string;
23
+ label: string;
24
+ fields: never[];
25
+ footerLines: never[];
26
+ };
27
+ view: {
28
+ id: string;
29
+ label: string;
30
+ fields: string[];
31
+ };
32
+ style: {
33
+ id: string;
34
+ label: string;
35
+ fields: string[];
36
+ };
37
+ program: {
38
+ id: string;
39
+ label: string;
40
+ fields: string[];
41
+ };
42
+ context: {
43
+ id: string;
44
+ label: string;
45
+ fields: string[];
46
+ };
47
+ };
48
+ fields: {
49
+ "view.locationLabel": {
50
+ id: string;
51
+ type: string;
52
+ label: string;
53
+ promptTemplate: string;
54
+ ensureSentence: boolean;
55
+ };
56
+ "view.timeOfDayLabel": {
57
+ id: string;
58
+ type: string;
59
+ label: string;
60
+ promptTemplate: string;
61
+ ensureSentence: boolean;
62
+ };
63
+ "style.styleReference": {
64
+ id: string;
65
+ type: string;
66
+ label: string;
67
+ promptTemplate: string;
68
+ ensureSentence: boolean;
69
+ };
70
+ "program.people": {
71
+ id: string;
72
+ type: string;
73
+ label: string;
74
+ promptOn: string;
75
+ };
76
+ "program.bicycles": {
77
+ id: string;
78
+ type: string;
79
+ label: string;
80
+ promptOn: string;
81
+ };
82
+ "program.cars": {
83
+ id: string;
84
+ type: string;
85
+ label: string;
86
+ promptOn: string;
87
+ };
88
+ "program.trams": {
89
+ id: string;
90
+ type: string;
91
+ label: string;
92
+ promptOn: string;
93
+ };
94
+ "program.landscaping": {
95
+ id: string;
96
+ type: string;
97
+ label: string;
98
+ promptOn: string;
99
+ };
100
+ "program.tech": {
101
+ id: string;
102
+ type: string;
103
+ label: string;
104
+ promptOn: string;
105
+ };
106
+ "context.modeGuidance": {
107
+ id: string;
108
+ type: string;
109
+ label: string;
110
+ ensureSentence: boolean;
111
+ };
112
+ };
113
+ ui: {
114
+ panels: {
115
+ id: string;
116
+ label: string;
117
+ description: string;
118
+ groups: {
119
+ id: string;
120
+ label: string;
121
+ fields: string[];
122
+ }[];
123
+ }[];
124
+ };
125
+ };
126
+ //# sourceMappingURL=transit.imagine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transit.imagine.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/transit.imagine.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmM1B,CAAC"}
@@ -0,0 +1,196 @@
1
+ export const transitImagine = {
2
+ "id": "transit.imagine",
3
+ "version": "v1",
4
+ "label": "Transit Corridor",
5
+ "description": "Prompt pack for transit-facing streetscape and corridor visualizations.",
6
+ "blockOrder": [
7
+ "task",
8
+ "view",
9
+ "style",
10
+ "program",
11
+ "context"
12
+ ],
13
+ "assembly": {
14
+ "strategy": "full",
15
+ "updateBlocks": [
16
+ "form",
17
+ "view",
18
+ "style",
19
+ "program",
20
+ "context"
21
+ ],
22
+ "includeUserPrompt": true
23
+ },
24
+ "task": {
25
+ "variants": {
26
+ "imagine": [
27
+ "Render a photorealistic transit-oriented streetscape visualization from the text brief alone.",
28
+ "Use the user prompt and feature blocks as the full brief; do not assume a scaffold image or locked camera.",
29
+ "Prioritize corridor legibility, rider experience, curb hierarchy, transit operations, and public-realm credibility."
30
+ ]
31
+ }
32
+ },
33
+ "blocks": {
34
+ "task": {
35
+ "id": "task"
36
+ },
37
+ "form": {
38
+ "id": "form",
39
+ "label": "Mode",
40
+ "fields": [],
41
+ "footerLines": []
42
+ },
43
+ "view": {
44
+ "id": "view",
45
+ "label": "View",
46
+ "fields": [
47
+ "view.locationLabel",
48
+ "view.timeOfDayLabel"
49
+ ]
50
+ },
51
+ "style": {
52
+ "id": "style",
53
+ "label": "Style",
54
+ "fields": [
55
+ "style.styleReference"
56
+ ]
57
+ },
58
+ "program": {
59
+ "id": "program",
60
+ "label": "Program",
61
+ "fields": [
62
+ "program.people",
63
+ "program.bicycles",
64
+ "program.cars",
65
+ "program.trams",
66
+ "program.landscaping",
67
+ "program.tech"
68
+ ]
69
+ },
70
+ "context": {
71
+ "id": "context",
72
+ "label": "Context",
73
+ "fields": [
74
+ "context.modeGuidance"
75
+ ]
76
+ }
77
+ },
78
+ "fields": {
79
+ "view.locationLabel": {
80
+ "id": "view.locationLabel",
81
+ "type": "text",
82
+ "label": "location",
83
+ "promptTemplate": "Geographic context is {value}; let transit operations, materials, and weather cues reflect that setting.",
84
+ "ensureSentence": true
85
+ },
86
+ "view.timeOfDayLabel": {
87
+ "id": "view.timeOfDayLabel",
88
+ "type": "text",
89
+ "label": "time of day",
90
+ "promptTemplate": "Lighting and atmosphere should reflect {value}.",
91
+ "ensureSentence": true
92
+ },
93
+ "style.styleReference": {
94
+ "id": "style.styleReference",
95
+ "type": "text",
96
+ "label": "style reference",
97
+ "promptTemplate": "Style reference is {value}; use it for tone, material, and image attitude without direct imitation.",
98
+ "ensureSentence": true
99
+ },
100
+ "program.people": {
101
+ "id": "program.people",
102
+ "type": "toggle",
103
+ "label": "people",
104
+ "promptOn": "Include riders and pedestrians at realistic scale, with believable waiting, walking, boarding, and transfer behavior."
105
+ },
106
+ "program.bicycles": {
107
+ "id": "program.bicycles",
108
+ "type": "toggle",
109
+ "label": "bicycles",
110
+ "promptOn": "Include bicycles and micromobility activity where the corridor design supports them, integrated credibly with transit movement."
111
+ },
112
+ "program.cars": {
113
+ "id": "program.cars",
114
+ "type": "toggle",
115
+ "label": "cars",
116
+ "promptOn": "Include cars only where the corridor still permits them, keeping private vehicles subordinate to the transit and public-realm hierarchy."
117
+ },
118
+ "program.trams": {
119
+ "id": "program.trams",
120
+ "type": "toggle",
121
+ "label": "trams",
122
+ "promptOn": "Include visible transit vehicles or rail elements where appropriate, keeping stop identity and vehicle operations legible."
123
+ },
124
+ "program.landscaping": {
125
+ "id": "program.landscaping",
126
+ "type": "toggle",
127
+ "label": "landscaping",
128
+ "promptOn": "Use planting and street trees to support rider comfort, shade, and public-realm identity without obscuring transit operations."
129
+ },
130
+ "program.tech": {
131
+ "id": "program.tech",
132
+ "type": "toggle",
133
+ "label": "tech",
134
+ "promptOn": "Include fare, information, lighting, and wayfinding technology only where it improves transit legibility and rider experience."
135
+ },
136
+ "context.modeGuidance": {
137
+ "id": "context.modeGuidance",
138
+ "type": "text",
139
+ "label": "mode guidance",
140
+ "ensureSentence": true
141
+ }
142
+ },
143
+ "ui": {
144
+ "panels": [
145
+ {
146
+ "id": "view",
147
+ "label": "View",
148
+ "description": "Context and lighting",
149
+ "groups": [
150
+ {
151
+ "id": "view",
152
+ "label": "View context",
153
+ "fields": [
154
+ "view.locationLabel",
155
+ "view.timeOfDayLabel"
156
+ ]
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "id": "program",
162
+ "label": "Program",
163
+ "description": "Transit-facing scene content",
164
+ "groups": [
165
+ {
166
+ "id": "program",
167
+ "label": "Scene elements",
168
+ "fields": [
169
+ "program.people",
170
+ "program.bicycles",
171
+ "program.cars",
172
+ "program.trams",
173
+ "program.landscaping",
174
+ "program.tech"
175
+ ]
176
+ }
177
+ ]
178
+ },
179
+ {
180
+ "id": "context",
181
+ "label": "Context",
182
+ "description": "Mode-specific rules",
183
+ "groups": [
184
+ {
185
+ "id": "context",
186
+ "label": "Mode guidance",
187
+ "fields": [
188
+ "context.modeGuidance",
189
+ "style.styleReference"
190
+ ]
191
+ }
192
+ ]
193
+ }
194
+ ]
195
+ }
196
+ };
@@ -0,0 +1,142 @@
1
+ export declare const transitMap: {
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
+ map: string[];
15
+ };
16
+ };
17
+ blocks: {
18
+ task: {
19
+ id: string;
20
+ };
21
+ form: {
22
+ id: string;
23
+ label: string;
24
+ fields: string[];
25
+ };
26
+ view: {
27
+ id: string;
28
+ label: string;
29
+ fields: string[];
30
+ };
31
+ style: {
32
+ id: string;
33
+ label: string;
34
+ fields: string[];
35
+ };
36
+ program: {
37
+ id: string;
38
+ label: string;
39
+ fields: string[];
40
+ };
41
+ context: {
42
+ id: string;
43
+ label: string;
44
+ fields: string[];
45
+ footerLines: {
46
+ text: string;
47
+ ensureSentence: boolean;
48
+ }[];
49
+ };
50
+ };
51
+ fields: {
52
+ "form.scaffoldMode": {
53
+ id: string;
54
+ type: string;
55
+ label: string;
56
+ promptTemplate: string;
57
+ ensureSentence: boolean;
58
+ };
59
+ "form.scaffoldReference": {
60
+ id: string;
61
+ type: string;
62
+ label: string;
63
+ ensureSentence: boolean;
64
+ };
65
+ "view.locationLabel": {
66
+ id: string;
67
+ type: string;
68
+ label: string;
69
+ promptTemplate: string;
70
+ ensureSentence: boolean;
71
+ };
72
+ "view.timeOfDayLabel": {
73
+ id: string;
74
+ type: string;
75
+ label: string;
76
+ promptTemplate: string;
77
+ ensureSentence: boolean;
78
+ };
79
+ "style.styleReference": {
80
+ id: string;
81
+ type: string;
82
+ label: string;
83
+ promptTemplate: string;
84
+ ensureSentence: boolean;
85
+ };
86
+ "program.people": {
87
+ id: string;
88
+ type: string;
89
+ label: string;
90
+ promptOn: string;
91
+ };
92
+ "program.bicycles": {
93
+ id: string;
94
+ type: string;
95
+ label: string;
96
+ promptOn: string;
97
+ };
98
+ "program.cars": {
99
+ id: string;
100
+ type: string;
101
+ label: string;
102
+ promptOn: string;
103
+ };
104
+ "program.trams": {
105
+ id: string;
106
+ type: string;
107
+ label: string;
108
+ promptOn: string;
109
+ };
110
+ "program.landscaping": {
111
+ id: string;
112
+ type: string;
113
+ label: string;
114
+ promptOn: string;
115
+ };
116
+ "program.tech": {
117
+ id: string;
118
+ type: string;
119
+ label: string;
120
+ promptOn: string;
121
+ };
122
+ "context.modeGuidance": {
123
+ id: string;
124
+ type: string;
125
+ label: string;
126
+ ensureSentence: boolean;
127
+ };
128
+ };
129
+ ui: {
130
+ panels: {
131
+ id: string;
132
+ label: string;
133
+ description: string;
134
+ groups: {
135
+ id: string;
136
+ label: string;
137
+ fields: string[];
138
+ }[];
139
+ }[];
140
+ };
141
+ };
142
+ //# sourceMappingURL=transit.map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transit.map.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/transit.map.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwOtB,CAAC"}