@treasuryspatial/render-kit 0.1.13 → 0.1.15
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/env.d.ts +10 -0
- package/dist/prompt-pack/env.d.ts.map +1 -0
- package/dist/prompt-pack/env.js +47 -0
- package/dist/prompt-pack/index.d.ts +1 -0
- package/dist/prompt-pack/index.d.ts.map +1 -1
- package/dist/prompt-pack/index.js +1 -0
- package/dist/prompt-pack/packs/courtyard.design.d.ts +498 -0
- package/dist/prompt-pack/packs/courtyard.design.d.ts.map +1 -0
- package/dist/prompt-pack/packs/courtyard.design.js +1558 -0
- package/dist/prompt-pack/packs/courtyard.imagine.d.ts +493 -0
- package/dist/prompt-pack/packs/courtyard.imagine.d.ts.map +1 -0
- package/dist/prompt-pack/packs/courtyard.imagine.js +1579 -0
- package/dist/prompt-pack/packs/courtyard.map.d.ts +503 -0
- package/dist/prompt-pack/packs/courtyard.map.d.ts.map +1 -0
- package/dist/prompt-pack/packs/courtyard.map.js +1562 -0
- package/dist/prompt-pack/packs/courtyard.mode.design.d.ts +0 -9
- package/dist/prompt-pack/packs/courtyard.mode.design.d.ts.map +1 -1
- package/dist/prompt-pack/packs/courtyard.mode.design.js +2 -13
- package/dist/prompt-pack/packs/courtyard.mode.map.d.ts +0 -9
- package/dist/prompt-pack/packs/courtyard.mode.map.d.ts.map +1 -1
- package/dist/prompt-pack/packs/courtyard.mode.map.js +2 -13
- package/dist/prompt-pack/packs/index.d.ts +3 -0
- package/dist/prompt-pack/packs/index.d.ts.map +1 -1
- package/dist/prompt-pack/packs/index.js +3 -0
- package/dist/prompt-pack/registry.d.ts +8 -0
- package/dist/prompt-pack/registry.d.ts.map +1 -1
- package/dist/prompt-pack/registry.js +22 -7
- package/dist/render-prompt.d.ts.map +1 -1
- package/dist/render-prompt.js +1 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"courtyard.mode.design.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/courtyard.mode.design.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"courtyard.mode.design.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/courtyard.mode.design.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;CAgClC,CAAC"}
|
|
@@ -15,27 +15,16 @@ export const courtyardDesignOverlay = {
|
|
|
15
15
|
"design": [
|
|
16
16
|
"Render a photorealistic architectural visualization of an urban courtyard using the provided massing/line model as the primary geometry reference.",
|
|
17
17
|
"Use the input image as the exact geometry and camera reference; do not alter footprint, enclosure, height, or framing.",
|
|
18
|
-
"Treat the massing as ground-truth for footprint, height, courtyard enclosure, roof
|
|
18
|
+
"Treat the massing as ground-truth for footprint, height, and courtyard enclosure; apply facade, roof, and program detail from the feature blocks and user prompt.",
|
|
19
19
|
"Prioritize architectural realism, material credibility, and clear courtyard enclosure suitable for design review."
|
|
20
20
|
]
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
"fields": {
|
|
24
|
-
"view.variation": {
|
|
25
|
-
"options": [
|
|
26
|
-
{
|
|
27
|
-
"value": "deterministic",
|
|
28
|
-
"label": "deterministic",
|
|
29
|
-
"prompt": "Keep the camera position and framing fixed with no variation in altitude, offset, or lens; maintain the exact specified view."
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
23
|
"blocks": {
|
|
35
24
|
"view": {
|
|
36
25
|
"footerLines": [
|
|
37
26
|
{
|
|
38
|
-
"text": "Maintain
|
|
27
|
+
"text": "Maintain the camera framing from the input image; do not reinterpret the view.",
|
|
39
28
|
"ensureSentence": true
|
|
40
29
|
}
|
|
41
30
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"courtyard.mode.map.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/courtyard.mode.map.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"courtyard.mode.map.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/courtyard.mode.map.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;CAyC/B,CAAC"}
|
|
@@ -15,23 +15,12 @@ export const courtyardMapOverlay = {
|
|
|
15
15
|
"map": [
|
|
16
16
|
"Render a photorealistic architectural visualization of an urban courtyard using the provided massing/line model as the primary geometry reference.",
|
|
17
17
|
"Use the input image as the exact geometry and camera reference; do not alter footprint, enclosure, height, or framing.",
|
|
18
|
-
"Treat the massing as ground-truth for footprint
|
|
18
|
+
"Treat the massing as ground-truth for footprint and courtyard enclosure; apply facade, roof, and program detail from the feature blocks and user prompt.",
|
|
19
19
|
"Map footprint and site selection are authoritative; preserve the selected parcel context and orientation.",
|
|
20
20
|
"Prioritize architectural realism, material credibility, and clear courtyard enclosure suitable for design review."
|
|
21
21
|
]
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
"fields": {
|
|
25
|
-
"view.variation": {
|
|
26
|
-
"options": [
|
|
27
|
-
{
|
|
28
|
-
"value": "deterministic",
|
|
29
|
-
"label": "deterministic",
|
|
30
|
-
"prompt": "Keep the camera position and framing fixed with no variation in altitude, offset, or lens; maintain the exact specified view."
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
24
|
"blocks": {
|
|
36
25
|
"context": {
|
|
37
26
|
"footerLines": [
|
|
@@ -44,7 +33,7 @@ export const courtyardMapOverlay = {
|
|
|
44
33
|
"view": {
|
|
45
34
|
"footerLines": [
|
|
46
35
|
{
|
|
47
|
-
"text": "Maintain
|
|
36
|
+
"text": "Maintain the camera framing from the input image; do not reinterpret the view.",
|
|
48
37
|
"ensureSentence": true
|
|
49
38
|
}
|
|
50
39
|
]
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export { courtyardBasePack } from './courtyard.base';
|
|
2
|
+
export { courtyardDesign } from './courtyard.design';
|
|
2
3
|
export { courtyardDesignOverlay } from './courtyard.mode.design';
|
|
4
|
+
export { courtyardImagine } from './courtyard.imagine';
|
|
5
|
+
export { courtyardMap } from './courtyard.map';
|
|
3
6
|
export { courtyardMapOverlay } from './courtyard.mode.map';
|
|
4
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/prompt-pack/packs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { courtyardBasePack } from './courtyard.base';
|
|
2
|
+
export { courtyardDesign } from './courtyard.design';
|
|
2
3
|
export { courtyardDesignOverlay } from './courtyard.mode.design';
|
|
4
|
+
export { courtyardImagine } from './courtyard.imagine';
|
|
5
|
+
export { courtyardMap } from './courtyard.map';
|
|
3
6
|
export { courtyardMapOverlay } from './courtyard.mode.map';
|
|
@@ -15,11 +15,19 @@ type PromptPackRecord = {
|
|
|
15
15
|
id: string;
|
|
16
16
|
version: string;
|
|
17
17
|
base: PromptPack;
|
|
18
|
+
byMode?: Partial<Record<PromptMode, PromptPack>>;
|
|
18
19
|
overlays?: Partial<Record<PromptMode, PromptPackOverlay>>;
|
|
19
20
|
};
|
|
20
21
|
export type PromptPackRegistry = Record<string, PromptPackRecord>;
|
|
22
|
+
export type PromptPackCatalogEntry = {
|
|
23
|
+
id: string;
|
|
24
|
+
label: string;
|
|
25
|
+
version?: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
};
|
|
21
28
|
export declare const mergePromptPack: (base: PromptPack, overlay?: PromptPackOverlay | null) => PromptPack;
|
|
22
29
|
export declare const PROMPT_PACK_REGISTRY: PromptPackRegistry;
|
|
30
|
+
export declare const buildPromptPackCatalog: (registry?: PromptPackRegistry) => PromptPackCatalogEntry[];
|
|
23
31
|
export declare const resolvePromptPackFromRegistry: (options: {
|
|
24
32
|
mode: PromptMode;
|
|
25
33
|
packId?: string;
|
|
@@ -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;AAWjB,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAA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AE,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, courtyardDesignOverlay, courtyardMapOverlay } from './packs';
|
|
1
|
+
import { courtyardBasePack, courtyardDesign, courtyardDesignOverlay, courtyardImagine, courtyardMap, courtyardMapOverlay, } from './packs';
|
|
2
2
|
const DEFAULT_ASSEMBLY = {
|
|
3
3
|
strategy: 'full',
|
|
4
4
|
updateBlocks: ['form', 'view', 'style', 'program', 'context'],
|
|
@@ -81,8 +81,9 @@ export const mergePromptPack = (base, overlay) => {
|
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
const courtyardBase = courtyardBasePack;
|
|
84
|
-
const
|
|
85
|
-
const
|
|
84
|
+
const courtyardImaginePack = courtyardImagine;
|
|
85
|
+
const courtyardDesignPack = courtyardDesign;
|
|
86
|
+
const courtyardMapPack = courtyardMap;
|
|
86
87
|
const withId = (pack, id) => ({
|
|
87
88
|
...pack,
|
|
88
89
|
id,
|
|
@@ -92,6 +93,11 @@ export const PROMPT_PACK_REGISTRY = {
|
|
|
92
93
|
id: 'courtyard',
|
|
93
94
|
version: courtyardBase.version,
|
|
94
95
|
base: courtyardBase,
|
|
96
|
+
byMode: {
|
|
97
|
+
imagine: courtyardImaginePack,
|
|
98
|
+
design: courtyardDesignPack,
|
|
99
|
+
map: courtyardMapPack,
|
|
100
|
+
},
|
|
95
101
|
overlays: {
|
|
96
102
|
design: courtyardDesignOverlay,
|
|
97
103
|
map: courtyardMapOverlay,
|
|
@@ -113,6 +119,14 @@ export const PROMPT_PACK_REGISTRY = {
|
|
|
113
119
|
base: withId(courtyardMapPack, 'courtyard.map'),
|
|
114
120
|
},
|
|
115
121
|
};
|
|
122
|
+
export const buildPromptPackCatalog = (registry = PROMPT_PACK_REGISTRY) => Object.values(registry)
|
|
123
|
+
.map((record) => ({
|
|
124
|
+
id: record.id,
|
|
125
|
+
label: record.base.label ?? record.id,
|
|
126
|
+
version: record.version,
|
|
127
|
+
description: record.base.description ?? "",
|
|
128
|
+
}))
|
|
129
|
+
.sort((a, b) => a.label.localeCompare(b.label));
|
|
116
130
|
const DEFAULT_PROMPT_PACK_ID = 'courtyard';
|
|
117
131
|
const DEFAULT_PROMPT_PACK_BY_MODE = {
|
|
118
132
|
imagine: 'courtyard.imagine',
|
|
@@ -125,12 +139,13 @@ export const resolvePromptPackFromRegistry = (options) => {
|
|
|
125
139
|
DEFAULT_PROMPT_PACK_BY_MODE[options.mode] ||
|
|
126
140
|
DEFAULT_PROMPT_PACK_ID;
|
|
127
141
|
const record = registry[requestedId] ?? registry[DEFAULT_PROMPT_PACK_ID];
|
|
142
|
+
const explicitPack = record?.byMode?.[options.mode];
|
|
128
143
|
const overlay = record?.overlays?.[options.mode];
|
|
129
|
-
const pack = record?.overlays ? mergePromptPack(record.base, overlay ?? undefined) : record.base;
|
|
130
|
-
const assembly = overlay?.assembly ?? pack.assembly ?? record.base.assembly ?? DEFAULT_ASSEMBLY;
|
|
144
|
+
const pack = explicitPack ?? (record?.overlays ? mergePromptPack(record.base, overlay ?? undefined) : record.base);
|
|
145
|
+
const assembly = explicitPack?.assembly ?? overlay?.assembly ?? pack.assembly ?? record.base.assembly ?? DEFAULT_ASSEMBLY;
|
|
131
146
|
const ref = {
|
|
132
|
-
id: record.id,
|
|
133
|
-
version: record.version,
|
|
147
|
+
id: pack.id || record.id,
|
|
148
|
+
version: pack.version || record.version,
|
|
134
149
|
};
|
|
135
150
|
return { pack, assembly, ref };
|
|
136
151
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-prompt.d.ts","sourceRoot":"","sources":["../src/render-prompt.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"render-prompt.d.ts","s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FA"}
|
package/dist/render-prompt.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export const BASE_FIDELITY = [
|
|
2
2
|
'<fidelity>',
|
|
3
3
|
'Match the camera framing, lens, and perspective from the input image for the initial render, until other instructions are given for camera/perspective/viewpoint.',
|
|
4
|
-
'Preserve all massing, rooflines, openings,
|
|
5
|
-
'Do not change roof typology or silhouette (for example flat, gable, hip, mansard) when scaffold geometry implies otherwise.',
|
|
4
|
+
'Preserve all massing, rooflines, openings, and facade edges exactly as drawn, until other instructions are given.',
|
|
6
5
|
'Only add materials, lighting, vegetation, people, and era-appropriate surface details on top of the existing geometry.',
|
|
7
6
|
'</fidelity>',
|
|
8
7
|
].join('\n');
|