@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.
- package/dist/prompt-pack/packs/index.d.ts +10 -0
- package/dist/prompt-pack/packs/index.d.ts.map +1 -1
- package/dist/prompt-pack/packs/index.js +10 -0
- package/dist/prompt-pack/packs/transit.base.d.ts +143 -0
- package/dist/prompt-pack/packs/transit.base.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.base.js +251 -0
- package/dist/prompt-pack/packs/transit.design.d.ts +142 -0
- package/dist/prompt-pack/packs/transit.design.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.design.js +233 -0
- package/dist/prompt-pack/packs/transit.imagine.d.ts +126 -0
- package/dist/prompt-pack/packs/transit.imagine.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.imagine.js +196 -0
- package/dist/prompt-pack/packs/transit.map.d.ts +142 -0
- package/dist/prompt-pack/packs/transit.map.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.map.js +233 -0
- package/dist/prompt-pack/packs/transit.mode.design.d.ts +21 -0
- package/dist/prompt-pack/packs/transit.mode.design.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.mode.design.js +32 -0
- package/dist/prompt-pack/packs/transit.mode.map.d.ts +21 -0
- package/dist/prompt-pack/packs/transit.mode.map.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.mode.map.js +32 -0
- package/dist/prompt-pack/packs/transit.mode.streetmix.d.ts +27 -0
- package/dist/prompt-pack/packs/transit.mode.streetmix.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.mode.streetmix.js +40 -0
- package/dist/prompt-pack/packs/transit.mode.streetview.d.ts +21 -0
- package/dist/prompt-pack/packs/transit.mode.streetview.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.mode.streetview.js +32 -0
- package/dist/prompt-pack/packs/transit.streetmix.d.ts +146 -0
- package/dist/prompt-pack/packs/transit.streetmix.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.streetmix.js +239 -0
- package/dist/prompt-pack/packs/transit.streetview.d.ts +142 -0
- package/dist/prompt-pack/packs/transit.streetview.d.ts.map +1 -0
- package/dist/prompt-pack/packs/transit.streetview.js +233 -0
- package/dist/prompt-pack/registry.d.ts.map +1 -1
- package/dist/prompt-pack/registry.js +43 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
export const transitStreetmix = {
|
|
2
|
+
"id": "transit.streetmix",
|
|
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
|
+
"streetmix": [
|
|
28
|
+
"Render a photorealistic transit-oriented streetscape visualization using the provided Streetmix street section capture as the controlling reference.",
|
|
29
|
+
"The Streetmix section is authoritative for lane allocation, curb hierarchy, stop placement, and right-of-way proportions.",
|
|
30
|
+
"Convert the Streetmix scaffold into a plausible on-the-ground corridor image without changing the designed street section."
|
|
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": "Do not change the designed street section; materialize it as a credible transit corridor at human scale.",
|
|
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
|
+
"footerLines": [
|
|
86
|
+
{
|
|
87
|
+
"text": "Streetmix-generated lane widths, curb zones, and transit zones are authoritative.",
|
|
88
|
+
"ensureSentence": true
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"fields": {
|
|
94
|
+
"form.scaffoldMode": {
|
|
95
|
+
"id": "form.scaffoldMode",
|
|
96
|
+
"type": "text",
|
|
97
|
+
"label": "scaffold mode",
|
|
98
|
+
"promptTemplate": "Active mode: {value}.",
|
|
99
|
+
"ensureSentence": true
|
|
100
|
+
},
|
|
101
|
+
"form.scaffoldReference": {
|
|
102
|
+
"id": "form.scaffoldReference",
|
|
103
|
+
"type": "text",
|
|
104
|
+
"label": "scaffold reference",
|
|
105
|
+
"ensureSentence": true
|
|
106
|
+
},
|
|
107
|
+
"view.locationLabel": {
|
|
108
|
+
"id": "view.locationLabel",
|
|
109
|
+
"type": "text",
|
|
110
|
+
"label": "location",
|
|
111
|
+
"promptTemplate": "Geographic context is {value}; let transit operations, materials, and weather cues reflect that setting.",
|
|
112
|
+
"ensureSentence": true
|
|
113
|
+
},
|
|
114
|
+
"view.timeOfDayLabel": {
|
|
115
|
+
"id": "view.timeOfDayLabel",
|
|
116
|
+
"type": "text",
|
|
117
|
+
"label": "time of day",
|
|
118
|
+
"promptTemplate": "Lighting and atmosphere should reflect {value}.",
|
|
119
|
+
"ensureSentence": true
|
|
120
|
+
},
|
|
121
|
+
"style.styleReference": {
|
|
122
|
+
"id": "style.styleReference",
|
|
123
|
+
"type": "text",
|
|
124
|
+
"label": "style reference",
|
|
125
|
+
"promptTemplate": "Style reference is {value}; use it for tone, material, and image attitude without direct imitation.",
|
|
126
|
+
"ensureSentence": true
|
|
127
|
+
},
|
|
128
|
+
"program.people": {
|
|
129
|
+
"id": "program.people",
|
|
130
|
+
"type": "toggle",
|
|
131
|
+
"label": "people",
|
|
132
|
+
"promptOn": "Include riders and pedestrians at realistic scale, with believable waiting, walking, boarding, and transfer behavior."
|
|
133
|
+
},
|
|
134
|
+
"program.bicycles": {
|
|
135
|
+
"id": "program.bicycles",
|
|
136
|
+
"type": "toggle",
|
|
137
|
+
"label": "bicycles",
|
|
138
|
+
"promptOn": "Include bicycles and micromobility activity where the corridor design supports them, integrated credibly with transit movement."
|
|
139
|
+
},
|
|
140
|
+
"program.cars": {
|
|
141
|
+
"id": "program.cars",
|
|
142
|
+
"type": "toggle",
|
|
143
|
+
"label": "cars",
|
|
144
|
+
"promptOn": "Include cars only where the corridor still permits them, keeping private vehicles subordinate to the transit and public-realm hierarchy."
|
|
145
|
+
},
|
|
146
|
+
"program.trams": {
|
|
147
|
+
"id": "program.trams",
|
|
148
|
+
"type": "toggle",
|
|
149
|
+
"label": "trams",
|
|
150
|
+
"promptOn": "Include visible transit vehicles or rail elements where appropriate, keeping stop identity and vehicle operations legible."
|
|
151
|
+
},
|
|
152
|
+
"program.landscaping": {
|
|
153
|
+
"id": "program.landscaping",
|
|
154
|
+
"type": "toggle",
|
|
155
|
+
"label": "landscaping",
|
|
156
|
+
"promptOn": "Use planting and street trees to support rider comfort, shade, and public-realm identity without obscuring transit operations."
|
|
157
|
+
},
|
|
158
|
+
"program.tech": {
|
|
159
|
+
"id": "program.tech",
|
|
160
|
+
"type": "toggle",
|
|
161
|
+
"label": "tech",
|
|
162
|
+
"promptOn": "Include fare, information, lighting, and wayfinding technology only where it improves transit legibility and rider experience."
|
|
163
|
+
},
|
|
164
|
+
"context.modeGuidance": {
|
|
165
|
+
"id": "context.modeGuidance",
|
|
166
|
+
"type": "text",
|
|
167
|
+
"label": "mode guidance",
|
|
168
|
+
"ensureSentence": true
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"ui": {
|
|
172
|
+
"panels": [
|
|
173
|
+
{
|
|
174
|
+
"id": "form",
|
|
175
|
+
"label": "Scaffold",
|
|
176
|
+
"description": "What image state is controlling the render",
|
|
177
|
+
"groups": [
|
|
178
|
+
{
|
|
179
|
+
"id": "scaffold",
|
|
180
|
+
"label": "Scaffold source",
|
|
181
|
+
"fields": [
|
|
182
|
+
"form.scaffoldMode",
|
|
183
|
+
"form.scaffoldReference"
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"id": "view",
|
|
190
|
+
"label": "View",
|
|
191
|
+
"description": "Context and lighting",
|
|
192
|
+
"groups": [
|
|
193
|
+
{
|
|
194
|
+
"id": "view",
|
|
195
|
+
"label": "View context",
|
|
196
|
+
"fields": [
|
|
197
|
+
"view.locationLabel",
|
|
198
|
+
"view.timeOfDayLabel"
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "program",
|
|
205
|
+
"label": "Program",
|
|
206
|
+
"description": "Transit-facing scene content",
|
|
207
|
+
"groups": [
|
|
208
|
+
{
|
|
209
|
+
"id": "program",
|
|
210
|
+
"label": "Scene elements",
|
|
211
|
+
"fields": [
|
|
212
|
+
"program.people",
|
|
213
|
+
"program.bicycles",
|
|
214
|
+
"program.cars",
|
|
215
|
+
"program.trams",
|
|
216
|
+
"program.landscaping",
|
|
217
|
+
"program.tech"
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "context",
|
|
224
|
+
"label": "Context",
|
|
225
|
+
"description": "Mode-specific rules",
|
|
226
|
+
"groups": [
|
|
227
|
+
{
|
|
228
|
+
"id": "context",
|
|
229
|
+
"label": "Mode guidance",
|
|
230
|
+
"fields": [
|
|
231
|
+
"context.modeGuidance",
|
|
232
|
+
"style.styleReference"
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export declare const transitStreetview: {
|
|
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
|
+
streetview: 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
|
+
footerLines: {
|
|
31
|
+
text: string;
|
|
32
|
+
ensureSentence: boolean;
|
|
33
|
+
}[];
|
|
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
|
+
};
|
|
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.streetview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transit.streetview.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/transit.streetview.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwO7B,CAAC"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
export const transitStreetview = {
|
|
2
|
+
"id": "transit.streetview",
|
|
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
|
+
"streetview": [
|
|
28
|
+
"Render a photorealistic transit-oriented streetscape visualization using the provided Street View capture as the controlling reference.",
|
|
29
|
+
"Keep the real-world camera framing, horizon line, curb geometry, and baseline corridor condition fixed while applying transit upgrades from the brief.",
|
|
30
|
+
"Changes should read as realistic interventions on an existing street, not as a wholly new invented place."
|
|
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
|
+
"footerLines": [
|
|
54
|
+
{
|
|
55
|
+
"text": "Maintain the captured Street View camera framing and horizon; do not reinterpret the viewpoint.",
|
|
56
|
+
"ensureSentence": true
|
|
57
|
+
}
|
|
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
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/prompt-pack/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,WAAW,EAEX,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACX,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/prompt-pack/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,WAAW,EAEX,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACX,MAAM,SAAS,CAAC;AAgBjB,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAClE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;IAC9C,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;CAC3D,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAClE,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AA4DF,eAAO,MAAM,eAAe,GAAI,MAAM,UAAU,EAAE,UAAU,iBAAiB,GAAG,IAAI,KAAG,UAoBtF,CAAC;AAiBF,eAAO,MAAM,oBAAoB,EAAE,kBAmElC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,WAAU,kBAAyC,KAAG,sBAAsB,EAQhE,CAAC;AASpD,eAAO,MAAM,6BAA6B,GAAI,SAAS;IACrD,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B;;;;CAgBA,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { courtyardBasePack, courtyardDesign, courtyardDesignOverlay, courtyardImagine, courtyardMap, courtyardMapOverlay, } from './packs';
|
|
1
|
+
import { courtyardBasePack, courtyardDesign, courtyardDesignOverlay, courtyardImagine, courtyardMap, courtyardMapOverlay, transitDesign, transitImagine, transitMap, transitStreetmix, transitStreetview, } from './packs';
|
|
2
2
|
const DEFAULT_ASSEMBLY = {
|
|
3
3
|
strategy: 'full',
|
|
4
4
|
updateBlocks: ['form', 'view', 'style', 'program', 'context'],
|
|
@@ -84,6 +84,11 @@ const courtyardBase = courtyardBasePack;
|
|
|
84
84
|
const courtyardImaginePack = courtyardImagine;
|
|
85
85
|
const courtyardDesignPack = courtyardDesign;
|
|
86
86
|
const courtyardMapPack = courtyardMap;
|
|
87
|
+
const transitImaginePack = transitImagine;
|
|
88
|
+
const transitDesignPack = transitDesign;
|
|
89
|
+
const transitMapPack = transitMap;
|
|
90
|
+
const transitStreetmixPack = transitStreetmix;
|
|
91
|
+
const transitStreetviewPack = transitStreetview;
|
|
87
92
|
const withId = (pack, id) => ({
|
|
88
93
|
...pack,
|
|
89
94
|
id,
|
|
@@ -118,6 +123,43 @@ export const PROMPT_PACK_REGISTRY = {
|
|
|
118
123
|
version: courtyardBase.version,
|
|
119
124
|
base: withId(courtyardMapPack, 'courtyard.map'),
|
|
120
125
|
},
|
|
126
|
+
transit: {
|
|
127
|
+
id: 'transit',
|
|
128
|
+
version: transitImaginePack.version,
|
|
129
|
+
base: withId(transitImaginePack, 'transit'),
|
|
130
|
+
byMode: {
|
|
131
|
+
imagine: transitImaginePack,
|
|
132
|
+
design: transitDesignPack,
|
|
133
|
+
map: transitMapPack,
|
|
134
|
+
streetmix: transitStreetmixPack,
|
|
135
|
+
streetview: transitStreetviewPack,
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
'transit.imagine': {
|
|
139
|
+
id: transitImaginePack.id,
|
|
140
|
+
version: transitImaginePack.version,
|
|
141
|
+
base: transitImaginePack,
|
|
142
|
+
},
|
|
143
|
+
'transit.design': {
|
|
144
|
+
id: transitDesignPack.id,
|
|
145
|
+
version: transitDesignPack.version,
|
|
146
|
+
base: transitDesignPack,
|
|
147
|
+
},
|
|
148
|
+
'transit.map': {
|
|
149
|
+
id: transitMapPack.id,
|
|
150
|
+
version: transitMapPack.version,
|
|
151
|
+
base: transitMapPack,
|
|
152
|
+
},
|
|
153
|
+
'transit.streetmix': {
|
|
154
|
+
id: transitStreetmixPack.id,
|
|
155
|
+
version: transitStreetmixPack.version,
|
|
156
|
+
base: transitStreetmixPack,
|
|
157
|
+
},
|
|
158
|
+
'transit.streetview': {
|
|
159
|
+
id: transitStreetviewPack.id,
|
|
160
|
+
version: transitStreetviewPack.version,
|
|
161
|
+
base: transitStreetviewPack,
|
|
162
|
+
},
|
|
121
163
|
};
|
|
122
164
|
export const buildPromptPackCatalog = (registry = PROMPT_PACK_REGISTRY) => Object.values(registry)
|
|
123
165
|
.map((record) => ({
|