@nodaro/shared 3.31.0 → 3.32.0
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/README.md +17 -0
- package/dist/chunk-2NIQO2J3.cjs +54 -0
- package/dist/chunk-2NIQO2J3.cjs.map +1 -0
- package/dist/chunk-2OJIVO7R.cjs +32 -0
- package/dist/chunk-2OJIVO7R.cjs.map +1 -0
- package/dist/chunk-2RF4Z7KG.cjs +803 -0
- package/dist/chunk-2RF4Z7KG.cjs.map +1 -0
- package/dist/chunk-3CUFITU7.js +1905 -0
- package/dist/chunk-3CUFITU7.js.map +1 -0
- package/dist/chunk-3RYKIUAE.js +86 -0
- package/dist/chunk-3RYKIUAE.js.map +1 -0
- package/dist/chunk-44I73CQS.cjs +194 -0
- package/dist/chunk-44I73CQS.cjs.map +1 -0
- package/dist/chunk-5AUSSJIM.cjs +3372 -0
- package/dist/chunk-5AUSSJIM.cjs.map +1 -0
- package/dist/chunk-5PC6JBGJ.cjs +1419 -0
- package/dist/chunk-5PC6JBGJ.cjs.map +1 -0
- package/dist/chunk-5RU2HCW2.js +30 -0
- package/dist/chunk-5RU2HCW2.js.map +1 -0
- package/dist/chunk-5THUHJ3E.js +46 -0
- package/dist/chunk-5THUHJ3E.js.map +1 -0
- package/dist/chunk-5U7VLG43.js +141 -0
- package/dist/chunk-5U7VLG43.js.map +1 -0
- package/dist/chunk-6DAWSVX2.cjs +103 -0
- package/dist/chunk-6DAWSVX2.cjs.map +1 -0
- package/dist/chunk-6DKDOWBL.js +1567 -0
- package/dist/chunk-6DKDOWBL.js.map +1 -0
- package/dist/chunk-6IJOPRZP.cjs +197 -0
- package/dist/chunk-6IJOPRZP.cjs.map +1 -0
- package/dist/chunk-7G7G42KS.js +86 -0
- package/dist/chunk-7G7G42KS.js.map +1 -0
- package/dist/chunk-AINCI23X.js +2171 -0
- package/dist/chunk-AINCI23X.js.map +1 -0
- package/dist/chunk-AROWPFO2.js +773 -0
- package/dist/chunk-AROWPFO2.js.map +1 -0
- package/dist/chunk-AVQK77G6.cjs +2000 -0
- package/dist/chunk-AVQK77G6.cjs.map +1 -0
- package/dist/chunk-C57NEO3X.js +3327 -0
- package/dist/chunk-C57NEO3X.js.map +1 -0
- package/dist/chunk-CK3GK34R.js +1381 -0
- package/dist/chunk-CK3GK34R.js.map +1 -0
- package/dist/chunk-E2TGXG6X.cjs +1770 -0
- package/dist/chunk-E2TGXG6X.cjs.map +1 -0
- package/dist/chunk-EK362Q45.cjs +38 -0
- package/dist/chunk-EK362Q45.cjs.map +1 -0
- package/dist/chunk-FBV5DF6D.js +95 -0
- package/dist/chunk-FBV5DF6D.js.map +1 -0
- package/dist/chunk-FG4E7MTG.cjs +4 -0
- package/dist/chunk-FG4E7MTG.cjs.map +1 -0
- package/dist/chunk-G6IIVKMO.js +26 -0
- package/dist/chunk-G6IIVKMO.js.map +1 -0
- package/dist/chunk-HGC5JNVA.cjs +1503 -0
- package/dist/chunk-HGC5JNVA.cjs.map +1 -0
- package/dist/chunk-HSHCCBIV.js +255 -0
- package/dist/chunk-HSHCCBIV.js.map +1 -0
- package/dist/chunk-IEBZHTPE.js +254 -0
- package/dist/chunk-IEBZHTPE.js.map +1 -0
- package/dist/chunk-ISJDAFKS.js +1604 -0
- package/dist/chunk-ISJDAFKS.js.map +1 -0
- package/dist/chunk-J6KHW2E5.cjs +1963 -0
- package/dist/chunk-J6KHW2E5.cjs.map +1 -0
- package/dist/chunk-J7BMO73N.cjs +114 -0
- package/dist/chunk-J7BMO73N.cjs.map +1 -0
- package/dist/chunk-JL4C5VJ7.cjs +488 -0
- package/dist/chunk-JL4C5VJ7.cjs.map +1 -0
- package/dist/chunk-JSGIEF6Z.cjs +1087 -0
- package/dist/chunk-JSGIEF6Z.cjs.map +1 -0
- package/dist/chunk-JSNV5O2F.cjs +34 -0
- package/dist/chunk-JSNV5O2F.cjs.map +1 -0
- package/dist/chunk-JWA5SGCS.js +203 -0
- package/dist/chunk-JWA5SGCS.js.map +1 -0
- package/dist/chunk-JX5YZ4DH.cjs +430 -0
- package/dist/chunk-JX5YZ4DH.cjs.map +1 -0
- package/dist/chunk-KHCBJ7KD.js +42 -0
- package/dist/chunk-KHCBJ7KD.js.map +1 -0
- package/dist/chunk-KU6S7IYV.cjs +210 -0
- package/dist/chunk-KU6S7IYV.cjs.map +1 -0
- package/dist/chunk-LKAIXWK3.js +181 -0
- package/dist/chunk-LKAIXWK3.js.map +1 -0
- package/dist/chunk-LPW3XNC2.js +471 -0
- package/dist/chunk-LPW3XNC2.js.map +1 -0
- package/dist/chunk-M36G6SRP.js +447 -0
- package/dist/chunk-M36G6SRP.js.map +1 -0
- package/dist/chunk-MRXGWL42.cjs +4 -0
- package/dist/chunk-MRXGWL42.cjs.map +1 -0
- package/dist/chunk-NB72XWXQ.cjs +54 -0
- package/dist/chunk-NB72XWXQ.cjs.map +1 -0
- package/dist/chunk-NEJ2PV4C.cjs +211 -0
- package/dist/chunk-NEJ2PV4C.cjs.map +1 -0
- package/dist/chunk-NT6IJH4L.cjs +273 -0
- package/dist/chunk-NT6IJH4L.cjs.map +1 -0
- package/dist/chunk-O5MP52U2.cjs +526 -0
- package/dist/chunk-O5MP52U2.cjs.map +1 -0
- package/dist/chunk-O7PUQLJ3.cjs +818 -0
- package/dist/chunk-O7PUQLJ3.cjs.map +1 -0
- package/dist/chunk-PQHS255G.js +1369 -0
- package/dist/chunk-PQHS255G.js.map +1 -0
- package/dist/chunk-PRYE7AZQ.cjs +1227 -0
- package/dist/chunk-PRYE7AZQ.cjs.map +1 -0
- package/dist/chunk-Q4CDQ2KO.js +21 -0
- package/dist/chunk-Q4CDQ2KO.js.map +1 -0
- package/dist/chunk-QELDJGDK.cjs +1714 -0
- package/dist/chunk-QELDJGDK.cjs.map +1 -0
- package/dist/chunk-QJRP44ZO.js +769 -0
- package/dist/chunk-QJRP44ZO.js.map +1 -0
- package/dist/chunk-QNGNOU4Z.js +29 -0
- package/dist/chunk-QNGNOU4Z.js.map +1 -0
- package/dist/chunk-RJL7RCEM.cjs +159 -0
- package/dist/chunk-RJL7RCEM.cjs.map +1 -0
- package/dist/chunk-RN3RMBJZ.js +1164 -0
- package/dist/chunk-RN3RMBJZ.js.map +1 -0
- package/dist/chunk-S5DMKUWK.cjs +1273 -0
- package/dist/chunk-S5DMKUWK.cjs.map +1 -0
- package/dist/chunk-SES6GDBQ.cjs +624 -0
- package/dist/chunk-SES6GDBQ.cjs.map +1 -0
- package/dist/chunk-TNPDV7I4.cjs +2346 -0
- package/dist/chunk-TNPDV7I4.cjs.map +1 -0
- package/dist/chunk-TZBIY5C3.js +187 -0
- package/dist/chunk-TZBIY5C3.js.map +1 -0
- package/dist/chunk-TZE673G6.js +3 -0
- package/dist/chunk-TZE673G6.js.map +1 -0
- package/dist/chunk-ULXI7A6Q.cjs +1047 -0
- package/dist/chunk-ULXI7A6Q.cjs.map +1 -0
- package/dist/chunk-VIWSWVAW.js +1782 -0
- package/dist/chunk-VIWSWVAW.js.map +1 -0
- package/dist/chunk-VWGNPMJZ.cjs +19 -0
- package/dist/chunk-VWGNPMJZ.cjs.map +1 -0
- package/dist/chunk-WDIBOWAA.js +1054 -0
- package/dist/chunk-WDIBOWAA.js.map +1 -0
- package/dist/chunk-WNG7HRVA.cjs +25 -0
- package/dist/chunk-WNG7HRVA.cjs.map +1 -0
- package/dist/chunk-WNVQ3SMB.cjs +96 -0
- package/dist/chunk-WNVQ3SMB.cjs.map +1 -0
- package/dist/chunk-WRSWH7US.cjs +285 -0
- package/dist/chunk-WRSWH7US.cjs.map +1 -0
- package/dist/chunk-XAMC4S53.js +17 -0
- package/dist/chunk-XAMC4S53.js.map +1 -0
- package/dist/chunk-XNISPHTZ.js +1039 -0
- package/dist/chunk-XNISPHTZ.js.map +1 -0
- package/dist/chunk-Y2PM3FFL.js +3 -0
- package/dist/chunk-Y2PM3FFL.js.map +1 -0
- package/dist/chunk-YBPBK5KI.js +1030 -0
- package/dist/chunk-YBPBK5KI.js.map +1 -0
- package/dist/chunk-YHRG7UOC.js +31 -0
- package/dist/chunk-YHRG7UOC.js.map +1 -0
- package/dist/chunk-YWNYGYI7.cjs +31 -0
- package/dist/chunk-YWNYGYI7.cjs.map +1 -0
- package/dist/chunk-YYV35XOS.js +122 -0
- package/dist/chunk-YYV35XOS.js.map +1 -0
- package/dist/chunk-Z2OL5AJD.cjs +133 -0
- package/dist/chunk-Z2OL5AJD.cjs.map +1 -0
- package/dist/chunk-Z4AZW6FY.js +920 -0
- package/dist/chunk-Z4AZW6FY.js.map +1 -0
- package/dist/chunk-ZDFHA2EC.js +572 -0
- package/dist/chunk-ZDFHA2EC.js.map +1 -0
- package/dist/chunk-ZNZDQAXN.js +175 -0
- package/dist/chunk-ZNZDQAXN.js.map +1 -0
- package/dist/chunk-ZRL2UFTH.cjs +1073 -0
- package/dist/chunk-ZRL2UFTH.cjs.map +1 -0
- package/dist/chunk-ZT77RY6R.js +404 -0
- package/dist/chunk-ZT77RY6R.js.map +1 -0
- package/dist/entries/apps.cjs +155 -0
- package/dist/entries/apps.cjs.map +1 -0
- package/dist/entries/apps.d.cts +283 -0
- package/dist/entries/apps.d.ts +283 -0
- package/dist/entries/apps.js +10 -0
- package/dist/entries/apps.js.map +1 -0
- package/dist/entries/captions.cjs +124 -0
- package/dist/entries/captions.cjs.map +1 -0
- package/dist/entries/captions.d.cts +354 -0
- package/dist/entries/captions.d.ts +354 -0
- package/dist/entries/captions.js +3 -0
- package/dist/entries/captions.js.map +1 -0
- package/dist/entries/catalogs.cjs +165 -0
- package/dist/entries/catalogs.cjs.map +1 -0
- package/dist/entries/catalogs.d.cts +385 -0
- package/dist/entries/catalogs.d.ts +385 -0
- package/dist/entries/catalogs.js +4 -0
- package/dist/entries/catalogs.js.map +1 -0
- package/dist/entries/credits.cjs +592 -0
- package/dist/entries/credits.cjs.map +1 -0
- package/dist/entries/credits.d.cts +1429 -0
- package/dist/entries/credits.d.ts +1429 -0
- package/dist/entries/credits.js +11 -0
- package/dist/entries/credits.js.map +1 -0
- package/dist/entries/edl.cjs +409 -0
- package/dist/entries/edl.cjs.map +1 -0
- package/dist/entries/edl.d.cts +1199 -0
- package/dist/entries/edl.d.ts +1199 -0
- package/dist/entries/edl.js +4 -0
- package/dist/entries/edl.js.map +1 -0
- package/dist/entries/entities.cjs +530 -0
- package/dist/entries/entities.cjs.map +1 -0
- package/dist/entries/entities.d.cts +1371 -0
- package/dist/entries/entities.d.ts +1371 -0
- package/dist/entries/entities.js +5 -0
- package/dist/entries/entities.js.map +1 -0
- package/dist/entries/i18n.cjs +48 -0
- package/dist/entries/i18n.cjs.map +1 -0
- package/dist/entries/i18n.d.cts +69 -0
- package/dist/entries/i18n.d.ts +69 -0
- package/dist/entries/i18n.js +3 -0
- package/dist/entries/i18n.js.map +1 -0
- package/dist/entries/llm-models.cjs +177 -0
- package/dist/entries/llm-models.cjs.map +1 -0
- package/dist/entries/llm-models.d.cts +435 -0
- package/dist/entries/llm-models.d.ts +435 -0
- package/dist/entries/llm-models.js +4 -0
- package/dist/entries/llm-models.js.map +1 -0
- package/dist/entries/media.cjs +335 -0
- package/dist/entries/media.cjs.map +1 -0
- package/dist/entries/media.d.cts +518 -0
- package/dist/entries/media.d.ts +518 -0
- package/dist/entries/media.js +6 -0
- package/dist/entries/media.js.map +1 -0
- package/dist/entries/model-catalog.cjs +247 -0
- package/dist/entries/model-catalog.cjs.map +1 -0
- package/dist/entries/model-catalog.d.cts +202 -0
- package/dist/entries/model-catalog.d.ts +202 -0
- package/dist/entries/model-catalog.js +6 -0
- package/dist/entries/model-catalog.js.map +1 -0
- package/dist/entries/models.cjs +833 -0
- package/dist/entries/models.cjs.map +1 -0
- package/dist/entries/models.d.cts +287 -0
- package/dist/entries/models.d.ts +287 -0
- package/dist/entries/models.js +8 -0
- package/dist/entries/models.js.map +1 -0
- package/dist/entries/nodes.cjs +789 -0
- package/dist/entries/nodes.cjs.map +1 -0
- package/dist/entries/nodes.d.cts +1600 -0
- package/dist/entries/nodes.d.ts +1600 -0
- package/dist/entries/nodes.js +16 -0
- package/dist/entries/nodes.js.map +1 -0
- package/dist/entries/organizations.cjs +80 -0
- package/dist/entries/organizations.cjs.map +1 -0
- package/dist/entries/organizations.d.cts +466 -0
- package/dist/entries/organizations.d.ts +466 -0
- package/dist/entries/organizations.js +3 -0
- package/dist/entries/organizations.js.map +1 -0
- package/dist/entries/pipeline.cjs +594 -0
- package/dist/entries/pipeline.cjs.map +1 -0
- package/dist/entries/pipeline.d.cts +2617 -0
- package/dist/entries/pipeline.d.ts +2617 -0
- package/dist/entries/pipeline.js +5 -0
- package/dist/entries/pipeline.js.map +1 -0
- package/dist/entries/scene3d.cjs +704 -0
- package/dist/entries/scene3d.cjs.map +1 -0
- package/dist/entries/scene3d.d.cts +4284 -0
- package/dist/entries/scene3d.d.ts +4284 -0
- package/dist/entries/scene3d.js +3 -0
- package/dist/entries/scene3d.js.map +1 -0
- package/dist/entries/social.cjs +714 -0
- package/dist/entries/social.cjs.map +1 -0
- package/dist/entries/social.d.cts +1366 -0
- package/dist/entries/social.d.ts +1366 -0
- package/dist/entries/social.js +5 -0
- package/dist/entries/social.js.map +1 -0
- package/dist/entries/types.cjs +13 -0
- package/dist/entries/types.cjs.map +1 -0
- package/dist/entries/types.d.cts +162 -0
- package/dist/entries/types.d.ts +162 -0
- package/dist/entries/types.js +4 -0
- package/dist/entries/types.js.map +1 -0
- package/dist/entries/ugc.cjs +279 -0
- package/dist/entries/ugc.cjs.map +1 -0
- package/dist/entries/ugc.d.cts +575 -0
- package/dist/entries/ugc.d.ts +575 -0
- package/dist/entries/ugc.js +6 -0
- package/dist/entries/ugc.js.map +1 -0
- package/dist/entries/video.cjs +549 -0
- package/dist/entries/video.cjs.map +1 -0
- package/dist/entries/video.d.cts +1791 -0
- package/dist/entries/video.d.ts +1791 -0
- package/dist/entries/video.js +8 -0
- package/dist/entries/video.js.map +1 -0
- package/dist/entries/workflow.cjs +574 -0
- package/dist/entries/workflow.cjs.map +1 -0
- package/dist/entries/workflow.d.cts +1733 -0
- package/dist/entries/workflow.d.ts +1733 -0
- package/dist/entries/workflow.js +5 -0
- package/dist/entries/workflow.js.map +1 -0
- package/dist/fan-out-meta-Bu6VyXcZ.d.cts +19 -0
- package/dist/fan-out-meta-Bu6VyXcZ.d.ts +19 -0
- package/dist/gemini-omni-voices-zeRXxSbZ.d.cts +174 -0
- package/dist/gemini-omni-voices-zeRXxSbZ.d.ts +174 -0
- package/dist/image-overlay-layers-CyBfRhxJ.d.cts +208 -0
- package/dist/image-overlay-layers-CyBfRhxJ.d.ts +208 -0
- package/dist/index.cjs +7731 -27084
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -24198
- package/dist/index.d.ts +32 -24198
- package/dist/index.js +40 -25220
- package/dist/index.js.map +1 -1
- package/dist/model-catalog-flJYaa-g.d.cts +561 -0
- package/dist/model-catalog-flJYaa-g.d.ts +561 -0
- package/dist/presentation-types-0ENOCjoj.d.cts +61 -0
- package/dist/presentation-types-0ENOCjoj.d.ts +61 -0
- package/dist/presentation-utils-BIqiCzSA.d.cts +90 -0
- package/dist/presentation-utils-BdiObtwq.d.ts +90 -0
- package/dist/scene-node-types-DjenYFLO.d.cts +1949 -0
- package/dist/scene-node-types-DjenYFLO.d.ts +1949 -0
- package/dist/supported-fonts-CRoF1gOy.d.cts +16 -0
- package/dist/supported-fonts-CRoF1gOy.d.ts +16 -0
- package/dist/types-BRlFPEru.d.cts +511 -0
- package/dist/types-BRlFPEru.d.ts +511 -0
- package/dist/types-DffyGSy5.d.cts +67 -0
- package/dist/types-DffyGSy5.d.ts +67 -0
- package/package.json +102 -1
- package/src/__tests__/add-captions-plan.test.ts +6 -2
- package/src/__tests__/caption-edge-dash.test.ts +23 -0
- package/src/__tests__/fixtures/root-exports.baseline.json +4625 -0
- package/src/__tests__/input-field-extra-keys.test.ts +1 -0
- package/src/__tests__/no-internal-imports.test.ts +1 -1
- package/src/__tests__/node-aspect-ratio.test.ts +25 -0
- package/src/__tests__/node-runtime-keys.test.ts +9 -0
- package/src/__tests__/package-entries.test.ts +50 -0
- package/src/__tests__/pitch-tempo-pricing.test.ts +21 -0
- package/src/__tests__/preview-gate-use-case.test.ts +151 -0
- package/src/__tests__/run-continuation.test.ts +7 -1
- package/src/__tests__/site-capture-node.test.ts +58 -0
- package/src/__tests__/ugc-lane-wires.test.ts +228 -0
- package/src/__tests__/ugc-node-wires.test.ts +9 -3
- package/src/__tests__/ugc-run-state.test.ts +5 -4
- package/src/__tests__/video-analysis-catalog-sync.test.ts +1 -1
- package/src/__tests__/video-analysis-pricing.test.ts +6 -6
- package/src/__tests__/voice-changer-pro-quote.test.ts +79 -0
- package/src/add-captions-plan.ts +9 -3
- package/src/caption-edge-dash.ts +33 -0
- package/src/credit-estimators/index.ts +22 -1
- package/src/credit-estimators/pitch-tempo.ts +15 -1
- package/src/credit-estimators/speech.ts +72 -4
- package/src/credit-estimators/unit-quote.ts +52 -0
- package/src/credit-estimators/video-sfx.ts +15 -0
- package/src/credit-estimators/voice-changer-pro-quote.ts +138 -0
- package/src/entity-image-handle.ts +2 -0
- package/src/entries/apps.ts +63 -0
- package/src/entries/captions.ts +34 -0
- package/src/entries/catalogs.ts +65 -0
- package/src/entries/credits.ts +104 -0
- package/src/entries/edl.ts +42 -0
- package/src/entries/entities.ts +144 -0
- package/src/entries/i18n.ts +31 -0
- package/src/entries/llm-models.ts +63 -0
- package/src/entries/media.ts +36 -0
- package/src/entries/model-catalog.ts +89 -0
- package/src/entries/models.ts +266 -0
- package/src/entries/nodes.ts +245 -0
- package/src/entries/organizations.ts +9 -0
- package/src/entries/pipeline.ts +43 -0
- package/src/entries/scene3d.ts +27 -0
- package/src/entries/social.ts +297 -0
- package/src/entries/types.ts +26 -0
- package/src/entries/ugc.ts +14 -0
- package/src/entries/video.ts +59 -0
- package/src/entries/workflow.ts +172 -0
- package/src/fan-out-rows.ts +2 -0
- package/src/index.ts +25 -1845
- package/src/json-kinds.ts +4 -0
- package/src/model-catalog.ts +36 -34
- package/src/node-mappable-fields.ts +1 -0
- package/src/node-run-routes.ts +2 -0
- package/src/node-runtime-keys.ts +8 -0
- package/src/normalize-node-params.ts +30 -0
- package/src/presentation-utils.ts +5 -0
- package/src/preview-gate.ts +92 -14
- package/src/producer-types.ts +16 -2
- package/src/run-continuation.ts +21 -0
- package/src/site-capture-node.ts +82 -0
- package/src/ugc-lane-wires.ts +246 -0
- package/src/ugc-node-wires.ts +37 -7
- package/src/ugc-run-state.ts +5 -3
- package/src/video-analysis-pricing.ts +31 -29
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/object-picker-types.ts","../src/seasons.ts","../src/location-preset-catalog-map.ts","../src/animals.ts","../src/furniture.ts","../src/character-facets.ts","../src/vehicles.ts","../src/weapons.ts","../src/multi-pick.ts"],"names":[],"mappings":";;;AAiBO,IAAM,2BAAgD,IAAI,GAAA;AAAA,EAC/D,CAAC,UAAA,EAAY,QAAA,EAAU,SAAA,EAAW,QAAA,EAAU,WAAW,CAAA,CAAE,MAAA;AAAA,IAAO,CAAC,CAAA,KAC/D,oBAAA,CAAqB,GAAA,CAAI,CAAC;AAAA;AAE9B;;;ACFO,IAAM,OAAA,GAAiC;AAAA,EAC5C;AAAA,IACE,EAAA,EAAI,QAAA;AAAA,IACJ,KAAA,EAAO,QAAA;AAAA,IACP,WAAA,EAAa,sCAAA;AAAA,IACb,UAAA,EAAY;AAAA,GACd;AAAA,EACA;AAAA,IACE,EAAA,EAAI,QAAA;AAAA,IACJ,KAAA,EAAO,QAAA;AAAA,IACP,WAAA,EAAa,oCAAA;AAAA,IACb,UAAA,EAAY;AAAA,GACd;AAAA,EACA;AAAA,IACE,EAAA,EAAI,QAAA;AAAA,IACJ,KAAA,EAAO,QAAA;AAAA,IACP,WAAA,EAAa,oCAAA;AAAA,IACb,UAAA,EAAY;AAAA,GACd;AAAA,EACA;AAAA,IACE,EAAA,EAAI,QAAA;AAAA,IACJ,KAAA,EAAO,QAAA;AAAA,IACP,WAAA,EAAa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KAAK,KAAA,EAAO;AACrB,IAAA,IAAI,OAAO,MAAM,QAAA,IAAY,CAAC,KAAK,IAAA,CAAK,GAAA,CAAI,CAAC,CAAA,EAAG;AAChD,IAAA,IAAA,CAAK,IAAI,CAAC,CAAA;AACV,IAAA,GAAA,CAAI,KAAK,CAAC,CAAA;AAAA,EACZ;AACA,EAAA,OAAO,GAAA;AACT;AAMO,SAAS,UAAA,CACd,OAAA,EACA,EAAA,EACA,WAAA,EACU;AACV,EAAA,IAAI,OAAA,CAAQ,QAAA,CAAS,EAAE,CAAA,EAAG,OAAO,QAAQ,MAAA,CAAO,CAAC,CAAA,KAAM,CAAA,KAAM,EAAE,CAAA;AAC/D,EAAA,IAAI,QAAQ,MAAA,GAAS,WAAA,SAAoB,CAAC,GAAG,SAAS,EAAE,CAAA;AAExD,EAAA,OAAO,CAAC,GAAG,OAAA,CAAQ,KAAA,CAAM,CAAC,GAAG,EAAE,CAAA;AACjC","file":"chunk-QJRP44ZO.js","sourcesContent":["import { PARAMETER_NODE_TYPES } from \"./parameter-node-value.js\"\n\n/**\n * The 5 parameter-picker node types that can wire INTO the Object Studio's\n * `type` input handle as upstream identity providers (Material, Animal,\n * Vehicle, Weapon, Furniture). The resolver in\n * `backend/src/services/workflow-engine/input-resolver.ts` (and its frontend\n * mirror) reads this set to discriminate wired pickers from arbitrary source\n * nodes when composing the seedPromptHint.\n *\n * Defensive filter: if `PARAMETER_NODE_TYPES` doesn't yet contain `\"furniture\"`\n * (i.e., the Furniture prereq PR hasn't been deployed in this environment),\n * furniture silently drops from the set. The wired-picker resolver then\n * skips furniture pickers without error rather than firing a wrong prompt\n * fragment. Production deploy order is enforced as: Prereq PR (#2601, merged)\n * → Object Studio PRs; this defensive code is a safety net.\n */\nexport const OBJECT_PICKER_NODE_TYPES: ReadonlySet<string> = new Set(\n [\"material\", \"animal\", \"vehicle\", \"weapon\", \"furniture\"].filter((t) =>\n PARAMETER_NODE_TYPES.has(t),\n ),\n)\n","/**\n * Canonical catalog of seasons.\n *\n * 4 universal seasonal labels — used by the Location Studio's Seasons tab\n * and (in the future) by any season-picker parameter node. Independent of\n * lighting (time-of-day), atmosphere (weather), and color/look.\n *\n * Northern-hemisphere reference is implicit. Promp t hints describe the\n * visual hallmarks of each season so downstream generators reproduce them\n * faithfully across diverse settings (interior, exterior, character, etc.).\n */\n\nexport interface Season {\n readonly id: string\n readonly label: string\n readonly description: string\n readonly promptHint: string\n}\n\nexport const SEASONS: ReadonlyArray<Season> = [\n {\n id: \"spring\",\n label: \"Spring\",\n description: \"Fresh growth, blossoms, mild weather\",\n promptHint: \"spring season, fresh new growth with green buds and emerging foliage, blossoming flowers, mild fresh air, soft directional sunlight, occasional light rain, pastel color palette of pale greens and pinks\",\n },\n {\n id: \"summer\",\n label: \"Summer\",\n description: \"Full bloom, warm light, lush green\",\n promptHint: \"summer season, lush full foliage in deep saturated greens, warm bright sunlight with strong overhead sun, deep shadows, vibrant warm color palette, clear blue skies or scattered cumulus clouds\",\n },\n {\n id: \"autumn\",\n label: \"Autumn\",\n description: \"Falling leaves, warm amber palette\",\n promptHint: \"autumn season, foliage transitioning to warm amber tones — red, orange, yellow, and rust — falling leaves drifting on the breeze, soft golden directional light, crisp cool air with low sun angles\",\n },\n {\n id: \"winter\",\n label: \"Winter\",\n description: \"Bare branches, snow, cool palette\",\n promptHint: \"winter season, bare branches against a cold sky, snow accumulation on every surface, breath visible in cold air, desaturated cool color palette of blues and grays with isolated warm artificial light sources\",\n },\n]\n","/**\n * Adapter from the Location Studio's backend preset strings to canonical\n * picker-catalog entries.\n *\n * The Location Studio's tab presets ship 46 backend-stable variant strings\n * (e.g. \"wide\", \"golden hour\", \"drone fly-over\"). These strings are what the\n * frontend sends to `POST /v1/generate-location-asset` and what backend Zod\n * validates against the `VARIANTS` map in\n * `backend/src/routes/generate-location-asset.ts`. They MUST stay stable.\n *\n * For display, however, we want translated labels that match the rest of\n * the app. Instead of maintaining a parallel `location-variants` i18n\n * catalog (the duplication this file replaces), the Studio looks up each\n * preset against an existing canonical catalog — framing, lighting,\n * atmosphere, camera-motions, seasons — and uses the existing localized\n * label.\n *\n * Adding a new preset to a Location Studio tab: pick the closest entry in\n * the relevant canonical catalog and add a mapping here. If the closest\n * match is wrong, ADD a new entry to the canonical catalog (so the\n * camera-motion picker / framing picker / etc. all benefit), then map.\n */\nimport type { I18nCatalogId } from \"./i18n/types.js\"\n\nexport interface LocationCatalogRef {\n readonly catalogId: I18nCatalogId\n readonly entryId: string\n}\n\n/**\n * Backend variant string → canonical catalog reference.\n *\n * Keys MUST match the strings in `VARIANTS` in\n * `backend/src/routes/generate-location-asset.ts` AND the preset arrays in\n * the Location Studio tab wrappers\n * (`frontend/src/components/editor/location-studio/{time-of-day,weather,seasons,angles,lighting}-tab.tsx`)\n * AND `motion-tab.tsx`'s MOTION_PRESETS.\n */\nexport const LOCATION_PRESET_TO_CATALOG: Readonly<Record<string, LocationCatalogRef>> = {\n // ── timeOfDay (9) → lighting time-of-day category ────────────────────\n \"dawn\": { catalogId: \"lighting\", entryId: \"dawn\" },\n \"morning\": { catalogId: \"lighting\", entryId: \"morning\" },\n \"noon\": { catalogId: \"lighting\", entryId: \"noon\" },\n \"afternoon\": { catalogId: \"lighting\", entryId: \"afternoon\" },\n \"golden hour\": { catalogId: \"lighting\", entryId: \"golden-hour\" },\n \"dusk\": { catalogId: \"lighting\", entryId: \"dusk\" },\n \"blue hour\": { catalogId: \"lighting\", entryId: \"blue-hour\" },\n \"night\": { catalogId: \"lighting\", entryId: \"night\" },\n \"midnight\": { catalogId: \"lighting\", entryId: \"midnight\" },\n\n // ── weather (9) → atmosphere ─────────────────────────────────────────\n \"clear\": { catalogId: \"atmosphere\", entryId: \"clear\" },\n \"cloudy\": { catalogId: \"atmosphere\", entryId: \"cloudy\" },\n \"light rain\": { catalogId: \"atmosphere\", entryId: \"light-rain\" },\n \"heavy rain\": { catalogId: \"atmosphere\", entryId: \"heavy-rain\" },\n \"storm\": { catalogId: \"atmosphere\", entryId: \"storm\" },\n \"snow\": { catalogId: \"atmosphere\", entryId: \"snow\" },\n \"blizzard\": { catalogId: \"atmosphere\", entryId: \"blizzard\" },\n \"fog\": { catalogId: \"atmosphere\", entryId: \"fog\" },\n \"mist\": { catalogId: \"atmosphere\", entryId: \"mist\" },\n\n // ── seasons (4) → seasons (this catalog only exists to serve this tab) ─\n \"spring\": { catalogId: \"seasons\", entryId: \"spring\" },\n \"summer\": { catalogId: \"seasons\", entryId: \"summer\" },\n \"autumn\": { catalogId: \"seasons\", entryId: \"autumn\" },\n \"winter\": { catalogId: \"seasons\", entryId: \"winter\" },\n\n // ── angles (8) → framing ────────────────────────────────────────────\n \"wide\": { catalogId: \"framing\", entryId: \"wide-shot\" },\n \"medium\": { catalogId: \"framing\", entryId: \"medium-shot\" },\n \"closeup\": { catalogId: \"framing\", entryId: \"close-up\" },\n // `framing` has `birds-eye` and `overhead` but no plain `aerial`. The\n // semantic intent (\"view from above\") is `birds-eye`, so we route there.\n \"aerial\": { catalogId: \"framing\", entryId: \"birds-eye\" },\n \"low-angle\": { catalogId: \"framing\", entryId: \"low-angle\" },\n \"eye-level\": { catalogId: \"framing\", entryId: \"eye-level\" },\n \"bird's-eye\": { catalogId: \"framing\", entryId: \"birds-eye\" },\n \"dutch tilt\": { catalogId: \"framing\", entryId: \"dutch-angle\" },\n\n // ── lighting (8) → lighting non-time-of-day categories ───────────────\n // (`\"blue hour\"` is shared with timeOfDay above — same canonical entry.)\n \"soft natural\": { catalogId: \"lighting\", entryId: \"natural\" },\n \"harsh sunlight\": { catalogId: \"lighting\", entryId: \"harsh-midday\" },\n \"golden\": { catalogId: \"lighting\", entryId: \"golden-hour\" },\n \"neon\": { catalogId: \"lighting\", entryId: \"neon-night\" },\n \"candlelit\": { catalogId: \"lighting\", entryId: \"candlelight\" },\n \"cinematic\": { catalogId: \"lighting\", entryId: \"three-point\" },\n \"dramatic chiaroscuro\": { catalogId: \"lighting\", entryId: \"chiaroscuro\" },\n\n // ── motion (8) → camera-motions ──────────────────────────────────────\n // The \"slow\" / \"gentle\" qualifiers are dropped at lookup time — the\n // chip displays the canonical motion name (\"Dolly-In\", \"Pan Left\") with\n // the user's locale applied.\n \"slow dolly-in\": { catalogId: \"camera-motions\", entryId: \"dolly-in\" },\n \"slow pan-left\": { catalogId: \"camera-motions\", entryId: \"pan-left\" },\n \"slow pan-right\": { catalogId: \"camera-motions\", entryId: \"pan-right\" },\n \"push up\": { catalogId: \"camera-motions\", entryId: \"pedestal-up\" },\n \"drone fly-over\": { catalogId: \"camera-motions\", entryId: \"fly-over\" },\n \"gentle drift\": { catalogId: \"camera-motions\", entryId: \"gentle-drift\" },\n \"parallax\": { catalogId: \"camera-motions\", entryId: \"parallax\" },\n \"static atmospheric\": { catalogId: \"camera-motions\", entryId: \"static\" },\n}\n\n/**\n * Resolve a backend preset string to its canonical catalog reference, or\n * undefined if the preset is unknown (caller falls back to the raw\n * preset string as the display label).\n */\nexport function resolveLocationPresetCatalog(preset: string): LocationCatalogRef | undefined {\n return LOCATION_PRESET_TO_CATALOG[preset]\n}\n\n/**\n * Each Location Studio tab pulls all its localized labels from a single\n * canonical catalog (the tab's bucket → catalog mapping below). This lets\n * the tab call `useLocalizedCatalog(LOCATION_BUCKET_TO_CATALOG_ID[bucket])`\n * once and resolve every preset chip through the same catalog.\n *\n * Atmosphere motion (motion-tab.tsx) uses `camera-motions` directly — it's\n * a single-bucket tab so the mapping isn't needed there.\n */\nexport const LOCATION_BUCKET_TO_CATALOG_ID = {\n timeOfDay: \"lighting\",\n weather: \"atmosphere\",\n seasons: \"seasons\",\n angles: \"framing\",\n lighting: \"lighting\",\n} as const satisfies Record<string, I18nCatalogId>\n","/**\n * Canonical catalog of animal presets for the Object entity node.\n *\n * When the Object category is \"animal\", users pick a specific animal from this\n * catalog. The picker auto-fills the object's `objectName` and `description`\n * so the existing `buildObjectPrompt` pipeline just works — no backend prompt\n * changes needed.\n *\n * Organized into everyday sub-categories: cats, dogs, transport animals (the\n * rideable / working ones like horse + camel + donkey), farm, wild, birds,\n * sea, small pets, reptiles, and mythical.\n */\n\nexport type AnimalSubcategory =\n | \"cats\"\n | \"dogs\"\n | \"transport\"\n | \"farm\"\n | \"wild\"\n | \"birds\"\n | \"sea\"\n | \"small-pets\"\n | \"reptiles\"\n | \"insects\"\n | \"dinosaurs\"\n | \"mythical\"\n\nexport interface Animal {\n readonly id: string\n readonly label: string\n readonly subcategory: AnimalSubcategory\n readonly description: string\n /**\n * Optional authored compact term — the short phrase a professional would\n * write in a prompt, as opposed to the user-facing `label` (see the `term`\n * convention in `@nodaro/prompts`'s `term.ts`). Authored ONLY where the\n * lowercased label is not that phrase — a UI compound naming two things at\n * once (\"Airship / Dirigible\" -> \"airship\", \"Plasma Sword / Lightsaber\" ->\n * \"plasma sword\"). Everywhere else the lowercased label IS the term for a\n * concrete object (\"golden retriever\", \"katana\"), so nothing is authored.\n */\n readonly term?: string\n}\n\nexport const ANIMALS: ReadonlyArray<Animal> = [\n // -------------------- Cats --------------------\n { id: \"cat-persian\", label: \"Persian Cat\", subcategory: \"cats\", description: \"Long-haired cat with a flat face, stocky build and luxurious fluffy coat\" },\n { id: \"cat-siamese\", label: \"Siamese Cat\", subcategory: \"cats\", description: \"Sleek short-haired cat with a cream body, dark points on face, ears, paws and tail, and piercing blue almond-shaped eyes\" },\n { id: \"cat-maine-coon\", label: \"Maine Coon\", subcategory: \"cats\", description: \"Very large long-haired cat with a shaggy ruff, tufted ears and a bushy ringed tail\" },\n { id: \"cat-bengal\", label: \"Bengal Cat\", subcategory: \"cats\", description: \"Muscular athletic cat with a sleek leopard-like rosetted coat in gold and brown\" },\n { id: \"cat-sphynx\", label: \"Sphynx Cat\", subcategory: \"cats\", description: \"Hairless wrinkled cat with large bat-like ears, prominent cheekbones and an elegant muscular frame\" },\n { id: \"cat-ragdoll\", label: \"Ragdoll Cat\", subcategory: \"cats\", description: \"Large semi-long-haired cat with a soft silky coat, color points and vivid blue eyes\" },\n { id: \"cat-british-shorthair\",label: \"British Shorthair\", subcategory: \"cats\", description: \"Plush round-faced cat with a dense blue-grey coat, chubby cheeks and copper eyes\" },\n { id: \"cat-scottish-fold\", label: \"Scottish Fold\", subcategory: \"cats\", description: \"Round-faced cat with small folded ears, a stocky body and big round owl-like eyes\" },\n { id: \"cat-tabby\", label: \"Tabby Cat\", subcategory: \"cats\", description: \"Classic striped short-haired cat with an M mark on the forehead and alert green eyes\" },\n { id: \"cat-black\", label: \"Black Cat\", subcategory: \"cats\", description: \"Sleek all-black short-haired cat with bright yellow-green eyes and a glossy coat\" },\n\n // -------------------- Dogs --------------------\n { id: \"dog-labrador\", label: \"Labrador Retriever\", subcategory: \"dogs\", description: \"Friendly medium-large sporting dog with a short dense coat in yellow, black or chocolate and a thick otter tail\" },\n { id: \"dog-golden-retriever\", label: \"Golden Retriever\", subcategory: \"dogs\", description: \"Medium-large dog with a luxurious wavy golden coat, feathered tail and a warm friendly face\" },\n { id: \"dog-german-shepherd\", label: \"German Shepherd\", subcategory: \"dogs\", description: \"Strong alert working dog with a tan and black saddle coat, erect ears and a bushy tail\" },\n { id: \"dog-bulldog\", label: \"Bulldog\", subcategory: \"dogs\", description: \"Stocky muscular short-haired dog with a wrinkled flat face, wide jaw and loose jowls\" },\n { id: \"dog-poodle\", label: \"Poodle\", subcategory: \"dogs\", description: \"Elegant curly-coated dog with a proud posture and a classic groomed silhouette\" },\n { id: \"dog-husky\", label: \"Siberian Husky\", subcategory: \"dogs\", description: \"Thick double-coated dog with black and white markings, piercing blue or bi-colored eyes and erect triangular ears\" },\n { id: \"dog-beagle\", label: \"Beagle\", subcategory: \"dogs\", description: \"Small tri-color hound with long floppy ears, a short coat and a white-tipped tail\" },\n { id: \"dog-dachshund\", label: \"Dachshund\", subcategory: \"dogs\", description: \"Long low-slung dog with short legs, a deep chest and long drooping ears\" },\n { id: \"dog-chihuahua\", label: \"Chihuahua\", subcategory: \"dogs\", description: \"Tiny toy dog with an apple-shaped head, huge upright ears and big alert eyes\" },\n { id: \"dog-corgi\", label: \"Corgi\", subcategory: \"dogs\", description: \"Short-legged herding dog with a fox-like face, huge upright ears and a plush double coat in red and white\" },\n { id: \"dog-pug\", label: \"Pug\", subcategory: \"dogs\", description: \"Small stocky dog with a deeply wrinkled flat face, curly tail and a fawn coat with a black mask\" },\n { id: \"dog-border-collie\", label: \"Border Collie\", subcategory: \"dogs\", description: \"Agile medium-sized herding dog with a black and white coat, intense stare and feathered tail\" },\n { id: \"dog-rottweiler\", label: \"Rottweiler\", subcategory: \"dogs\", description: \"Powerful muscular dog with a short glossy black coat and distinctive mahogany markings on face, chest and legs\" },\n { id: \"dog-shiba-inu\", label: \"Shiba Inu\", subcategory: \"dogs\", description: \"Compact spitz-type dog with a red-orange coat, curled tail, erect triangular ears and a fox-like face\" },\n\n // -------------------- Transport / Working --------------------\n { id: \"horse\", label: \"Horse\", subcategory: \"transport\", description: \"Strong graceful horse with flowing mane and tail, sturdy hooves and a muscular frame\" },\n { id: \"camel\", label: \"Camel\", subcategory: \"transport\", description: \"Desert camel with a tall humped back, long legs, wide padded feet and a serene face\" },\n { id: \"donkey\", label: \"Donkey\", subcategory: \"transport\", description: \"Small sturdy donkey with long ears, a short upright mane and a gentle face\" },\n { id: \"mule\", label: \"Mule\", subcategory: \"transport\", description: \"Hardy pack mule with long ears, a short dark mane and a compact muscular frame\" },\n { id: \"ox\", label: \"Ox\", subcategory: \"transport\", description: \"Massive working ox with broad shoulders, curved horns and a patient stoic face\" },\n\n // -------------------- Farm --------------------\n { id: \"cow\", label: \"Cow\", subcategory: \"farm\", description: \"Dairy cow with a white and black patched hide, large udder and gentle brown eyes\" },\n { id: \"pig\", label: \"Pig\", subcategory: \"farm\", description: \"Stout pink farm pig with a curled tail, round snout and upright ears\" },\n { id: \"sheep\", label: \"Sheep\", subcategory: \"farm\", description: \"Fluffy woolly sheep with a thick cream fleece, dark face and short legs\" },\n { id: \"goat\", label: \"Goat\", subcategory: \"farm\", description: \"Nimble goat with a shaggy coat, curved horns, a tuft of beard and rectangular pupils\" },\n { id: \"chicken\", label: \"Chicken\", subcategory: \"farm\", description: \"Classic farm chicken with a red comb and wattles, feathered body and alert side-tilted head\" },\n { id: \"rooster\", label: \"Rooster\", subcategory: \"farm\", description: \"Proud rooster with a tall red comb, iridescent green-and-copper feathers and long arched tail plumes\" },\n { id: \"duck\", label: \"Duck\", subcategory: \"farm\", description: \"White-and-brown farm duck with an orange bill, webbed feet and a rounded rump\" },\n { id: \"rabbit\", label: \"Rabbit\", subcategory: \"farm\", description: \"Fluffy rabbit with long upright ears, a twitching nose and a cotton-ball tail\" },\n { id: \"turkey\", label: \"Turkey\", subcategory: \"farm\", description: \"Large turkey with a fan of dark iridescent tail feathers, a bare red head and a dangling snood\" },\n\n // -------------------- Wild --------------------\n { id: \"lion\", label: \"Lion\", subcategory: \"wild\", description: \"Powerful male lion with a thick golden mane framing a wide tawny face and a muscular frame\" },\n { id: \"tiger\", label: \"Tiger\", subcategory: \"wild\", description: \"Massive tiger with striking orange fur, bold black stripes and intense amber eyes\" },\n { id: \"bear\", label: \"Bear\", subcategory: \"wild\", description: \"Large brown bear with thick shaggy fur, a broad head, round ears and powerful clawed paws\" },\n { id: \"polar-bear\", label: \"Polar Bear\", subcategory: \"wild\", description: \"Massive arctic bear with thick cream-white fur, a long neck, black nose and huge padded paws\" },\n { id: \"wolf\", label: \"Wolf\", subcategory: \"wild\", description: \"Lean grey wolf with a thick double coat, upright ears, piercing yellow eyes and a bushy tail\" },\n { id: \"fox\", label: \"Fox\", subcategory: \"wild\", description: \"Slender red fox with a sharp pointed muzzle, upright ears and a long white-tipped bushy tail\" },\n { id: \"elephant\", label: \"Elephant\", subcategory: \"wild\", description: \"Massive elephant with a wrinkled grey hide, long trunk, wide flapping ears and curved ivory tusks\" },\n { id: \"zebra\", label: \"Zebra\", subcategory: \"wild\", description: \"Sturdy horse-like zebra with bold black and white stripes, a short upright mane and large dark eyes\" },\n { id: \"giraffe\", label: \"Giraffe\", subcategory: \"wild\", description: \"Tall graceful giraffe with an impossibly long neck, a golden patchwork coat and small ossicone horns\" },\n { id: \"panda\", label: \"Giant Panda\", subcategory: \"wild\", description: \"Roly-poly panda with a black-and-white coat, round ears, distinctive black eye patches and a gentle face\" },\n { id: \"leopard\", label: \"Leopard\", subcategory: \"wild\", description: \"Sleek spotted leopard with a tawny coat covered in rosettes, muscular shoulders and piercing pale eyes\" },\n { id: \"cheetah\", label: \"Cheetah\", subcategory: \"wild\", description: \"Slim fast-running cheetah with a golden coat of solid black spots and tear-track lines down the face\" },\n { id: \"monkey\", label: \"Monkey\", subcategory: \"wild\", description: \"Agile long-tailed monkey with expressive brown eyes, slender limbs and a soft brown-and-cream coat\" },\n { id: \"gorilla\", label: \"Gorilla\", subcategory: \"wild\", description: \"Massive silverback gorilla with broad shoulders, a prominent brow ridge and thick black fur\" },\n { id: \"kangaroo\", label: \"Kangaroo\", subcategory: \"wild\", description: \"Tall kangaroo with powerful hind legs, a thick muscular tail, small front paws and upright alert ears\" },\n { id: \"koala\", label: \"Koala\", subcategory: \"wild\", description: \"Fluffy grey marsupial with a round head, large fuzzy ears, a big black nose and a soft fluffy chest\" },\n { id: \"deer\", label: \"Deer\", subcategory: \"wild\", description: \"Graceful deer with a reddish-brown coat, slender legs, white throat patch and — on a stag — branched antlers\" },\n { id: \"raccoon\", label: \"Raccoon\", subcategory: \"wild\", description: \"Masked raccoon with a grey coat, a dark bandit mask across the eyes and a bushy ringed tail\" },\n { id: \"capybara\", label: \"Capybara\", subcategory: \"wild\", description: \"Large peaceful South American rodent with a barrel-shaped body, blunt muzzle and calm expression, often photographed soaking in a hot spring with citrus floating around it\" },\n { id: \"sloth\", label: \"Sloth\", subcategory: \"wild\", description: \"Slow-moving tree-dwelling mammal with shaggy fur, long curved claws and a permanent gentle smile, often hanging upside-down from a branch\" },\n { id: \"red-panda\", label: \"Red Panda\", subcategory: \"wild\", description: \"Small fox-faced bamboo eater with rich reddish-brown fur, white facial markings, ringed tail and tufted upright ears, distinct from the giant panda\" },\n { id: \"pangolin\", label: \"Pangolin\", subcategory: \"wild\", description: \"Scaly armored anteater, distinctive overlapping plates\" },\n { id: \"okapi\", label: \"Okapi\", subcategory: \"wild\", description: \"Forest giraffe with zebra-striped legs\" },\n { id: \"quokka\", label: \"Quokka\", subcategory: \"wild\", description: \"Smiling Australian marsupial, internet-famous selfie animal\" },\n { id: \"meerkat\", label: \"Meerkat\", subcategory: \"wild\", description: \"Standing African mongoose, sentinel posture\" },\n\n // -------------------- Birds --------------------\n { id: \"eagle\", label: \"Eagle\", subcategory: \"birds\", description: \"Majestic eagle with a dark brown body, white head and tail, curved yellow beak and sharp talons\" },\n { id: \"owl\", label: \"Owl\", subcategory: \"birds\", description: \"Round-faced owl with a mottled brown-and-white plumage, huge forward-facing yellow eyes and feathered ear tufts\" },\n { id: \"parrot\", label: \"Parrot\", subcategory: \"birds\", description: \"Vibrant tropical parrot with saturated red, green, yellow and blue plumage and a hooked beak\" },\n { id: \"peacock\", label: \"Peacock\", subcategory: \"birds\", description: \"Iridescent blue peacock with an enormous fanned tail of shimmering eye-patterned feathers\" },\n { id: \"flamingo\", label: \"Flamingo\", subcategory: \"birds\", description: \"Tall slender flamingo with bright pink plumage, a long curved neck and a bent beak dipping toward the water\" },\n { id: \"penguin\", label: \"Penguin\", subcategory: \"birds\", description: \"Upright tuxedoed penguin with a black back, white belly and small flipper-like wings\" },\n { id: \"swan\", label: \"Swan\", subcategory: \"birds\", description: \"Elegant white swan with a long curved neck, orange beak and delicately folded wings\" },\n { id: \"sparrow\", label: \"Sparrow\", subcategory: \"birds\", description: \"Small brown-and-grey sparrow with a streaked back, tidy round body and alert black eye\" },\n { id: \"crow\", label: \"Crow\", subcategory: \"birds\", description: \"Glossy all-black crow with a thick straight beak, intelligent dark eyes and sleek iridescent feathers\" },\n { id: \"hummingbird\", label: \"Hummingbird\", subcategory: \"birds\", description: \"Tiny jewel-toned hummingbird with iridescent emerald and ruby plumage and a long needle-like beak\" },\n { id: \"raven\", label: \"Raven\", subcategory: \"birds\", description: \"Large glossy all-black raven with a heavy wedge-shaped beak, shaggy throat hackles and an intelligent piercing gaze, often perched in a cinematic mysterious mood\" },\n { id: \"emu\", label: \"Emu\", subcategory: \"birds\", description: \"Large flightless Australian ratite bird\" },\n\n // -------------------- Sea --------------------\n { id: \"dolphin\", label: \"Dolphin\", subcategory: \"sea\", description: \"Sleek grey dolphin with a playful smiling face, curved dorsal fin and powerful tail flukes\" },\n { id: \"whale\", label: \"Whale\", subcategory: \"sea\", description: \"Massive humpback whale with a dark blue-grey body, long pectoral fins and barnacled knobby head\" },\n { id: \"shark\", label: \"Shark\", subcategory: \"sea\", description: \"Powerful great white shark with a torpedo-shaped grey body, white underside and rows of sharp teeth\" },\n { id: \"octopus\", label: \"Octopus\", subcategory: \"sea\", description: \"Curious octopus with a bulbous head, large intelligent eyes and eight long suckered arms\" },\n { id: \"sea-turtle\", label: \"Sea Turtle\", subcategory: \"sea\", description: \"Graceful sea turtle with a patterned green-and-brown shell, flipper-like limbs and a wise wrinkled face\" },\n { id: \"jellyfish\", label: \"Jellyfish\", subcategory: \"sea\", description: \"Translucent jellyfish with a glowing bell-shaped body and long trailing filamentous tentacles\" },\n { id: \"crab\", label: \"Crab\", subcategory: \"sea\", description: \"Red-shelled crab with a wide armored carapace, large pincer claws and skittering side-stepping legs\" },\n { id: \"seahorse\", label: \"Seahorse\", subcategory: \"sea\", description: \"Tiny seahorse with a curled prehensile tail, horse-like head and delicate dorsal fin\" },\n { id: \"axolotl\", label: \"Axolotl\", subcategory: \"sea\", description: \"Pink-fleshed aquatic salamander with feathery external gills fanning out from the head, tiny clawed limbs and a distinctive smiling face\" },\n\n // -------------------- Small Pets --------------------\n { id: \"hamster\", label: \"Hamster\", subcategory: \"small-pets\", description: \"Round fluffy hamster with chubby cheek pouches, tiny paws and bright black bead eyes\" },\n { id: \"guinea-pig\", label: \"Guinea Pig\", subcategory: \"small-pets\", description: \"Plump guinea pig with a soft tri-color coat, no visible tail and a sweet alert face\" },\n { id: \"ferret\", label: \"Ferret\", subcategory: \"small-pets\", description: \"Sleek long-bodied ferret with a cream-and-sable coat, a dark bandit mask and a playful posture\" },\n { id: \"parakeet\", label: \"Parakeet\", subcategory: \"small-pets\", description: \"Small bright green-and-yellow parakeet with a striped head, dark eye spots and a long tapered tail\" },\n { id: \"gerbil\", label: \"Gerbil\", subcategory: \"small-pets\", description: \"Slender sandy-brown gerbil with large dark eyes, upright ears and a long tufted tail\" },\n\n // -------------------- Reptiles --------------------\n { id: \"snake\", label: \"Snake\", subcategory: \"reptiles\", description: \"Coiled snake with a smooth scaled body, diamond-patterned skin, slit pupils and a flickering forked tongue\" },\n { id: \"lizard\", label: \"Lizard\", subcategory: \"reptiles\", description: \"Agile lizard with a slender scaled body, long whip-like tail, clawed feet and keen side-facing eyes\" },\n { id: \"turtle\", label: \"Turtle\", subcategory: \"reptiles\", description: \"Friendly land turtle with a domed patterned shell, stout scaly legs and a wise wrinkled face\" },\n { id: \"crocodile\", label: \"Crocodile\", subcategory: \"reptiles\", description: \"Massive crocodile with armored olive-green scales, a long toothy snout and powerful clawed limbs\" },\n { id: \"chameleon\", label: \"Chameleon\", subcategory: \"reptiles\", description: \"Color-shifting chameleon with a tall casqued head, independently swiveling eyes and a tightly curled prehensile tail\" },\n { id: \"gecko\", label: \"Gecko\", subcategory: \"reptiles\", description: \"Small gecko with a plump spotted body, large lidless eyes and wide sticky toe pads\" },\n\n // -------------------- Insects --------------------\n { id: \"butterfly\", label: \"Butterfly\", subcategory: \"insects\", description: \"Delicate butterfly with wide patterned wings in vivid colors, a slender body and long antennae\" },\n { id: \"bee\", label: \"Bee\", subcategory: \"insects\", description: \"Fuzzy honey bee with yellow and black stripes, translucent wings and pollen-dusted legs\" },\n { id: \"ant\", label: \"Ant\", subcategory: \"insects\", description: \"Busy ant with a segmented dark body, six thin legs, bent antennae and strong mandibles\" },\n { id: \"spider\", label: \"Spider\", subcategory: \"insects\", description: \"Eight-legged spider with a bulbous abdomen, clustered dark eyes and fine hairs across its body\" },\n { id: \"ladybug\", label: \"Ladybug\", subcategory: \"insects\", description: \"Tiny red ladybug with a glossy rounded shell, bold black spots and delicate legs peeking out\" },\n { id: \"dragonfly\", label: \"Dragonfly\", subcategory: \"insects\", description: \"Slender dragonfly with iridescent blue-green body, huge faceted eyes and four long transparent wings\" },\n { id: \"beetle\", label: \"Beetle\", subcategory: \"insects\", description: \"Armored beetle with a glossy hard shell, ridged wing covers, sturdy legs and short antennae\" },\n { id: \"grasshopper\", label: \"Grasshopper\", subcategory: \"insects\", description: \"Green grasshopper with long powerful hind legs, folded wings along its back and long whip-like antennae\" },\n { id: \"praying-mantis\", label: \"Praying Mantis\", subcategory: \"insects\", description: \"Elongated praying mantis with a triangular head, large compound eyes and spiked raptorial forelegs held in a prayer pose\" },\n { id: \"mosquito\", label: \"Mosquito\", subcategory: \"insects\", description: \"Slender mosquito with long thin legs, narrow transparent wings and a needle-like proboscis\" },\n { id: \"scorpion\", label: \"Scorpion\", subcategory: \"insects\", description: \"Desert scorpion with armored segments, large pincer claws and a curled stinger-tipped tail raised over its back\" },\n { id: \"caterpillar\", label: \"Caterpillar\", subcategory: \"insects\", description: \"Plump segmented caterpillar with soft tufts, tiny legs and a cheerful munching posture on a green leaf\" },\n { id: \"tarantula\", label: \"Tarantula\", subcategory: \"insects\", description: \"Large hairy hunting spider\" },\n\n // -------------------- Dinosaurs --------------------\n { id: \"t-rex\", label: \"Tyrannosaurus Rex\", subcategory: \"dinosaurs\", description: \"Massive T-Rex with powerful hind legs, tiny clawed arms, a huge jaw full of dagger teeth and thick scaly hide\" },\n { id: \"velociraptor\", label: \"Velociraptor\", subcategory: \"dinosaurs\", description: \"Lean feathered velociraptor with sickle claws, a long stiff tail and a predatory forward-lean posture\" },\n { id: \"triceratops\", label: \"Triceratops\", subcategory: \"dinosaurs\", description: \"Armored triceratops with a large bony frill, three sharp horns on its face and a heavy four-legged stance\" },\n { id: \"brachiosaurus\", label: \"Brachiosaurus\", subcategory: \"dinosaurs\", description: \"Towering brachiosaurus with an impossibly long neck reaching into treetops, a small head and pillar-like legs\" },\n { id: \"stegosaurus\", label: \"Stegosaurus\", subcategory: \"dinosaurs\", description: \"Hulking stegosaurus with two rows of tall diamond-shaped plates along its back and a spiked tail\" },\n { id: \"pterodactyl\", label: \"Pterodactyl\", subcategory: \"dinosaurs\", description: \"Flying pterodactyl with vast leathery wings, a long toothed beak and a swept-back head crest\" },\n { id: \"spinosaurus\", label: \"Spinosaurus\", subcategory: \"dinosaurs\", description: \"Predatory spinosaurus with a tall sail fin down its back, a long crocodile-like snout and powerful clawed arms\" },\n { id: \"diplodocus\", label: \"Diplodocus\", subcategory: \"dinosaurs\", description: \"Enormous long-bodied diplodocus with a whip-thin tail balancing an equally long neck, peg-like teeth and sturdy legs\" },\n { id: \"ankylosaurus\", label: \"Ankylosaurus\", subcategory: \"dinosaurs\", description: \"Tank-like ankylosaurus covered in thick armored plates and spikes, with a massive bony club at the end of its tail\" },\n { id: \"brontosaurus\", label: \"Brontosaurus\", subcategory: \"dinosaurs\", description: \"Gentle giant brontosaurus with a long sweeping neck, a small head, a thick body and a tapering whip tail\" },\n { id: \"parasaurolophus\", label: \"Parasaurolophus\", subcategory: \"dinosaurs\", description: \"Duck-billed parasaurolophus with a long curved tubular crest sweeping back from its head and a slender bipedal body\" },\n { id: \"allosaurus\", label: \"Allosaurus\", subcategory: \"dinosaurs\", description: \"Fierce allosaurus predator with a large head, small brow horns, serrated teeth and powerful grasping arms\" },\n\n // -------------------- Mythical --------------------\n { id: \"dragon\", label: \"Dragon\", subcategory: \"mythical\", description: \"Towering dragon with leathery wings, ridged scales, curved horns, glowing eyes and smoke curling from its nostrils\" },\n { id: \"unicorn\", label: \"Unicorn\", subcategory: \"mythical\", description: \"Pure white unicorn with a flowing pastel mane and tail and a single spiraling pearlescent horn on its forehead\" },\n { id: \"phoenix\", label: \"Phoenix\", subcategory: \"mythical\", description: \"Majestic phoenix with fiery red, orange and gold plumage, long trailing tail feathers and flames licking its wingtips\" },\n { id: \"griffin\", label: \"Griffin\", subcategory: \"mythical\", description: \"Hybrid griffin with the head, wings and taloned front legs of an eagle and the muscular hind body of a lion\" },\n { id: \"pegasus\", label: \"Pegasus\", subcategory: \"mythical\", description: \"Pure white winged horse with feathered wings, a flowing mane and an otherworldly presence\" },\n { id: \"kraken\", label: \"Kraken\", subcategory: \"mythical\", description: \"Colossal sea-beast kraken with a massive head, glowing eyes and enormous suckered tentacles writhing from the deep\" },\n] as const\n\nconst animalById = new Map<string, Animal>(ANIMALS.map((a) => [a.id, a]))\n\nexport function getAnimal(id: string | undefined | null): Animal | undefined {\n if (!id) return undefined\n return animalById.get(id)\n}\n\nexport function getAnimalLabel(id: string | undefined | null, fallback?: string): string {\n const a = getAnimal(id)\n if (a) return a.label\n if (fallback !== undefined) return fallback\n return (id ?? \"\").replace(/-/g, \" \").replace(/\\b\\w/g, (c) => c.toUpperCase())\n}\n\n/**\n * The ONE authored phrasing for an animal selection — \"featuring a golden\n * retriever, Medium-large dog with …\".\n *\n * WHY IT LIVES HERE: the phrase had two independent copies (the picker-catalog\n * funnel's synthesized `promptHint` and `getParameterPromptHint`'s `animal`\n * case), and the `subject` prompt channel needs a third caller. A third copy\n * would be new drift, and the channel's registry cannot read `ANIMALS`\n * directly — `catalog-funnel-ratchet.test.ts` derives its watch set from\n * `picker-catalogs.ts`'s own uppercase value imports and can only SHRINK, so a\n * new raw-array reader under `packages/prompts/src` fails CI. A FUNCTION in\n * `@nodaro/shared` (where the catalog itself lives) is invisible to that scan\n * and is the same \"functions only\" discipline `direction-registry.ts` follows.\n *\n * Empty string on a miss, matching every `get*PromptHint` in `@nodaro/prompts`:\n * a retired or unknown id contributes no clause rather than throwing.\n */\nexport function getAnimalPromptHint(id: string | undefined | null): string {\n const a = getAnimal(id)\n return a ? `featuring a ${a.label.toLowerCase()}, ${a.description}` : \"\"\n}\n\n/** Parenthetical segments — \"Rifle (bolt-action)\", \"ISO 1600 (visible grain)\". */\nconst PARENTHETICAL = /\\([^)]*\\)/g\n\n/**\n * Mechanical label → term derivation, a deliberate LOCAL COPY of\n * `@nodaro/prompts`' `deriveTerm`: `@nodaro/prompts` depends on this package,\n * never the other way round, so the function cannot be imported here. The copy\n * is pinned byte-for-byte against the original by\n * `packages/prompts/src/__tests__/animal-getters-parity.test.ts` (which can\n * import both sides) — the repo's \"an invariant + guard test\" idiom rather than\n * \"remember to update the other one\".\n */\nfunction deriveAnimalTerm(label: string): string {\n return label\n .replace(PARENTHETICAL, \" \")\n .toLowerCase()\n .replace(/\\s+/g, \" \")\n .trim()\n}\n\n/**\n * The COMPACT counterpart of `getAnimalPromptHint`: the same lookup, the same\n * empty-string-on-miss, returning the short professional term a prompt would\n * actually carry (\"golden retriever\", \"t-rex\") instead of the full clause.\n *\n * An authored `term` wins; otherwise the label IS the professional term for a\n * concrete object, resolved through the mechanical derivation — NOT a bare\n * `toLowerCase()` — so a parenthetical label is stripped exactly the way every\n * other catalog strips it.\n */\nexport function getAnimalTerm(id: string | undefined | null): string {\n const a = getAnimal(id)\n return a ? (a.term ?? deriveAnimalTerm(a.label)) : \"\"\n}\n\nexport const ANIMAL_IDS: ReadonlyArray<string> = ANIMALS.map((a) => a.id)\n\nexport const ANIMAL_SUBCATEGORY_LABELS: Readonly<Record<AnimalSubcategory, string>> = {\n cats: \"Cats\",\n dogs: \"Dogs\",\n transport: \"Transport & Working\",\n farm: \"Farm\",\n wild: \"Wild\",\n birds: \"Birds\",\n sea: \"Sea Life\",\n \"small-pets\": \"Small Pets\",\n reptiles: \"Reptiles\",\n insects: \"Insects\",\n dinosaurs: \"Dinosaurs\",\n mythical: \"Mythical\",\n}\n\nexport const ANIMAL_SUBCATEGORY_ORDER: ReadonlyArray<AnimalSubcategory> = [\n \"cats\",\n \"dogs\",\n \"transport\",\n \"farm\",\n \"wild\",\n \"birds\",\n \"sea\",\n \"small-pets\",\n \"reptiles\",\n \"insects\",\n \"dinosaurs\",\n \"mythical\",\n]\n","/**\n * Canonical catalog of furniture presets for the Object entity node.\n *\n * When the Object category is \"furniture\", users pick a specific furniture\n * piece from this catalog. The picker auto-fills the object's `objectName`\n * and `description` so the existing `buildObjectPrompt` pipeline just works\n * — no backend prompt changes needed.\n *\n * Organized into everyday sub-categories: seating, tables, beds, storage,\n * lighting, kitchen & dining, outdoor, decorative, and bath.\n */\n\nexport type FurnitureSubcategory =\n | \"seating\"\n | \"tables\"\n | \"beds\"\n | \"storage\"\n | \"lighting\"\n | \"kitchen-dining\"\n | \"outdoor\"\n | \"decorative\"\n | \"bath\"\n\nexport interface Furniture {\n readonly id: string\n readonly label: string\n readonly subcategory: FurnitureSubcategory\n readonly description: string\n /**\n * Optional authored compact term — the short phrase a professional would\n * write in a prompt, as opposed to the user-facing `label` (see the `term`\n * convention in `@nodaro/prompts`'s `term.ts`). Authored ONLY where the\n * lowercased label is not that phrase — a UI compound naming two things at\n * once (\"Airship / Dirigible\" -> \"airship\", \"Plasma Sword / Lightsaber\" ->\n * \"plasma sword\"). Everywhere else the lowercased label IS the term for a\n * concrete object (\"golden retriever\", \"katana\"), so nothing is authored.\n */\n readonly term?: string\n}\n\nexport const FURNITURE: ReadonlyArray<Furniture> = [\n // -------------------- Seating --------------------\n { id: \"sofa\", label: \"Sofa\", subcategory: \"seating\", description: \"Three-seater sofa with plush cushioned back and seat, low armrests and upholstery in a neutral tone\" },\n { id: \"sectional-sofa\", label: \"Sectional Sofa\", subcategory: \"seating\", description: \"L-shaped sectional sofa with deep seats, soft cushions, a chaise end and hidden storage or recline mechanisms\" },\n { id: \"loveseat\", label: \"Loveseat\", subcategory: \"seating\", description: \"Compact two-seat loveseat with rolled arms, tufted back and tapered wooden legs\" },\n { id: \"armchair\", label: \"Armchair\", subcategory: \"seating\", description: \"Upholstered armchair with a tall padded back, curved armrests and four slim wooden legs\" },\n { id: \"recliner\", label: \"Recliner\", subcategory: \"seating\", description: \"Padded recliner chair with a pull lever, extending footrest, thick leather upholstery and a reclined backrest\" },\n { id: \"office-chair\", label: \"Office Chair\", subcategory: \"seating\", description: \"Ergonomic office chair with a mesh back, adjustable armrests, gas-lift height and a five-point caster base\" },\n { id: \"rocking-chair\", label: \"Rocking Chair\", subcategory: \"seating\", description: \"Wooden rocking chair with curved rockers, a woven cane back and a padded seat cushion\" },\n { id: \"throne\", label: \"Throne\", subcategory: \"seating\", description: \"Ornate royal throne with a towering carved back, gilded trim, jeweled accents and a plush velvet cushion\" },\n { id: \"bean-bag\", label: \"Bean Bag\", subcategory: \"seating\", description: \"Oversized slouchy bean bag chair with soft fabric exterior and a pillowy squishy shape that molds to the body\" },\n { id: \"stool\", label: \"Stool\", subcategory: \"seating\", description: \"Simple backless stool with a round wooden seat, four splayed turned legs and a worn comfortable patina\" },\n { id: \"bench\", label: \"Bench\", subcategory: \"seating\", description: \"Long wooden bench with a flat seat, open slatted back and sturdy planked legs\" },\n { id: \"chaise-lounge\", label: \"Chaise Lounge\", subcategory: \"seating\", description: \"Elegant chaise lounge with a sloped headrest, elongated upholstered seat and turned wooden legs\" },\n { id: \"dining-chair\", label: \"Dining Chair\", subcategory: \"seating\", description: \"Formal dining chair with a high slatted back, upholstered seat cushion and tapered wooden legs\" },\n\n // -------------------- Tables --------------------\n { id: \"dining-table\", label: \"Dining Table\", subcategory: \"tables\", description: \"Large rectangular dining table with a polished wooden top, thick trestle base and seating for six to eight\" },\n { id: \"coffee-table\", label: \"Coffee Table\", subcategory: \"tables\", description: \"Low rectangular coffee table with a glass or wooden top, clean minimalist legs and a lower shelf for magazines\" },\n { id: \"side-table\", label: \"Side Table\", subcategory: \"tables\", description: \"Petite side table with a round top, single drawer and slim tapered legs\" },\n { id: \"console-table\", label: \"Console Table\", subcategory: \"tables\", description: \"Narrow console table with a long slim top, delicate legs and decorative scrollwork along the apron\" },\n { id: \"desk\", label: \"Desk\", subcategory: \"tables\", description: \"Writing desk with a flat work surface, drawer bank on the side and a cable management cutout at the back\" },\n { id: \"workbench\", label: \"Workbench\", subcategory: \"tables\", description: \"Heavy-duty workbench with a thick butcher-block top, pegboard back panel and a vice clamped to one edge\" },\n { id: \"vanity-table\", label: \"Vanity Table\", subcategory: \"tables\", description: \"Dressing vanity with a wide tri-fold mirror, small drawers on each side and a cushioned bench tucked underneath\" },\n { id: \"nightstand\", label: \"Nightstand\", subcategory: \"tables\", description: \"Small bedside nightstand with a single drawer, open lower shelf and a lamp-ready top surface\" },\n { id: \"picnic-table\", label: \"Picnic Table\", subcategory: \"tables\", description: \"Classic wooden picnic table with a plank top, attached bench seats and weathered outdoor finish\" },\n\n // -------------------- Beds --------------------\n { id: \"bed-single\", label: \"Single Bed\", subcategory: \"beds\", description: \"Narrow single bed with a padded headboard, tailored fitted sheet and a folded throw blanket at the foot\" },\n { id: \"bed-queen\", label: \"Queen Bed\", subcategory: \"beds\", description: \"Queen-size bed with a tall upholstered headboard, layered pillows, a crisp duvet and a runner across the foot\" },\n { id: \"bed-king\", label: \"King Bed\", subcategory: \"beds\", description: \"Grand king-size bed with a tufted headboard, multiple plush pillows, crisp white linens and a thick quilted duvet\" },\n { id: \"bunk-bed\", label: \"Bunk Bed\", subcategory: \"beds\", description: \"Sturdy wooden bunk bed with two stacked mattresses, side ladder, safety rails and matching kid-friendly bedding\" },\n { id: \"canopy-bed\", label: \"Canopy Bed\", subcategory: \"beds\", description: \"Four-poster canopy bed with tall carved posts, a fabric canopy draped overhead and flowing curtains at each corner\" },\n { id: \"four-poster-bed\", label: \"Four-Poster Bed\", subcategory: \"beds\", description: \"Four-poster bed with turned wooden columns at each corner rising unadorned to match the headboard's carved profile\" },\n { id: \"daybed\", label: \"Daybed\", subcategory: \"beds\", description: \"Daybed with a low frame, three upholstered sides acting as back and armrests and bolster cushions along the wall\" },\n { id: \"crib\", label: \"Baby Crib\", subcategory: \"beds\", description: \"Wooden baby crib with vertical slatted sides, a small fitted mattress and soft plush toys tucked inside\" },\n { id: \"futon\", label: \"Futon\", subcategory: \"beds\", description: \"Convertible futon with a slim padded mattress over a folding metal frame that converts from sofa to bed\" },\n { id: \"hammock\", label: \"Hammock\", subcategory: \"beds\", description: \"Woven rope hammock slung between two supports, gently sagging with an inviting curve and colorful tassels at each end\" },\n\n // -------------------- Storage --------------------\n { id: \"bookshelf\", label: \"Bookshelf\", subcategory: \"storage\", description: \"Tall freestanding bookshelf with multiple horizontal shelves, wooden sides and rows of neatly stacked books\" },\n { id: \"wardrobe\", label: \"Wardrobe\", subcategory: \"storage\", description: \"Large double-door wardrobe with a full-length hanging section, drawer bank and decorative paneled doors\" },\n { id: \"dresser\", label: \"Dresser\", subcategory: \"storage\", description: \"Wooden dresser with a wide top, six deep drawers in two columns, brass pull handles and short tapered legs\" },\n { id: \"cabinet\", label: \"Cabinet\", subcategory: \"storage\", description: \"Storage cabinet with paneled doors, interior adjustable shelves and brass hardware\" },\n { id: \"chest\", label: \"Storage Chest\", subcategory: \"storage\", description: \"Weathered wooden storage chest with iron banding, a hinged domed lid and a heavy clasp latch at the front\" },\n { id: \"trunk\", label: \"Steamer Trunk\", subcategory: \"storage\", description: \"Vintage steamer trunk with leather straps, brass corners, travel stickers and a latched lid revealing tray inserts\" },\n { id: \"filing-cabinet\", label: \"Filing Cabinet\", subcategory: \"storage\", description: \"Four-drawer metal filing cabinet with label slots on each drawer, recessed pull handles and a key lock at the top\" },\n { id: \"tv-stand\", label: \"TV Stand\", subcategory: \"storage\", description: \"Low entertainment TV stand with open shelves, glass-fronted cabinet doors and cable pass-throughs\" },\n { id: \"display-case\", label: \"Display Case\", subcategory: \"storage\", description: \"Tall glass display case with interior lighting, glass shelves and a lockable framed door\" },\n { id: \"hutch\", label: \"China Hutch\", subcategory: \"storage\", description: \"Two-part china hutch with a glass-fronted upper cabinet showing plates on edge and a buffet base with drawers and doors\" },\n { id: \"toy-chest\", label: \"Toy Chest\", subcategory: \"storage\", description: \"Painted wooden toy chest with cheerful decals, a soft-close hinged lid and stickers accumulated on the sides\" },\n\n // -------------------- Lighting --------------------\n { id: \"floor-lamp\", label: \"Floor Lamp\", subcategory: \"lighting\", description: \"Tall floor lamp with a slim metal stand, weighted base, pull-chain switch and a drum fabric shade at the top\" },\n { id: \"table-lamp\", label: \"Table Lamp\", subcategory: \"lighting\", description: \"Classic table lamp with a ceramic base, pleated fabric shade and a small pull-chain switch\" },\n { id: \"desk-lamp\", label: \"Desk Lamp\", subcategory: \"lighting\", description: \"Articulating desk lamp with an adjustable arm, hinged head and a small cone-shaped metal shade\" },\n { id: \"chandelier\", label: \"Chandelier\", subcategory: \"lighting\", description: \"Grand crystal chandelier with tiered cascading crystals, curved golden arms and multiple flame-shaped bulbs\" },\n { id: \"pendant-light\", label: \"Pendant Light\", subcategory: \"lighting\", description: \"Modern pendant light hanging from a long cord with a minimalist metal or glass shade\" },\n { id: \"sconce\", label: \"Wall Sconce\", subcategory: \"lighting\", description: \"Wall-mounted sconce with a decorative backplate, curved arm and a fabric or glass shade pointing upward\" },\n { id: \"lantern\", label: \"Lantern\", subcategory: \"lighting\", description: \"Classic lantern with a metal frame, glass panels, a candle or flickering bulb inside and a carrying ring on top\" },\n { id: \"candelabra\", label: \"Candelabra\", subcategory: \"lighting\", description: \"Ornate silver candelabra with multiple curved branching arms each holding a tall taper candle\" },\n { id: \"neon-sign\", label: \"Neon Sign\", subcategory: \"lighting\", description: \"Glowing neon sign with bent glass tubes shaped into cursive lettering or a retro icon, casting colored light on the wall\" },\n\n // -------------------- Kitchen & Dining --------------------\n { id: \"kitchen-island\", label: \"Kitchen Island\", subcategory: \"kitchen-dining\", description: \"Freestanding kitchen island with a thick butcher-block top, cabinet storage below, bar stool overhang and a rack above\" },\n { id: \"bar-counter\", label: \"Bar Counter\", subcategory: \"kitchen-dining\", description: \"Home bar counter with a polished wooden top, brass footrail, backlit glass shelving and rows of bottles displayed behind\" },\n { id: \"bar-stool\", label: \"Bar Stool\", subcategory: \"kitchen-dining\", description: \"Tall bar stool with a round swiveling seat, footrest ring, metal frame and an optional low backrest\" },\n { id: \"pot-rack\", label: \"Pot Rack\", subcategory: \"kitchen-dining\", description: \"Overhead hanging pot rack with a wrought-iron frame, S-hooks dangling pots and pans and shelving for spices on top\" },\n { id: \"spice-rack\", label: \"Spice Rack\", subcategory: \"kitchen-dining\", description: \"Wall-mounted spice rack with rows of small labeled glass jars, wooden shelves and a cheerful cluttered charm\" },\n { id: \"buffet\", label: \"Buffet\", subcategory: \"kitchen-dining\", description: \"Long dining-room buffet with a flat top for serving platters, drawers for linens and cabinet doors for dishware below\" },\n\n // -------------------- Outdoor --------------------\n { id: \"patio-chair\", label: \"Patio Chair\", subcategory: \"outdoor\", description: \"Outdoor patio chair with a weather-resistant woven wicker seat, aluminum frame and a weatherproof cushion\" },\n { id: \"adirondack-chair\", label: \"Adirondack Chair\", subcategory: \"outdoor\", description: \"Classic wooden Adirondack chair with a slanted slatted back, wide flat armrests and a seat that scoops gently back\" },\n { id: \"porch-swing\", label: \"Porch Swing\", subcategory: \"outdoor\", description: \"Wooden porch swing suspended on chains from the ceiling with a slatted seat and a row of colorful outdoor cushions\" },\n { id: \"gazebo\", label: \"Gazebo\", subcategory: \"outdoor\", description: \"Freestanding outdoor gazebo with a peaked shingled roof, six open wooden columns, railings and a raised wooden floor\" },\n { id: \"bistro-set\", label: \"Bistro Set\", subcategory: \"outdoor\", description: \"Compact outdoor bistro set with a round wrought-iron table and two matching chairs in a glossy weather-resistant finish\" },\n { id: \"sun-lounger\", label: \"Sun Lounger\", subcategory: \"outdoor\", description: \"Poolside sun lounger with an adjustable reclining back, white vinyl straps and a matching side table\" },\n { id: \"fire-pit\", label: \"Fire Pit\", subcategory: \"outdoor\", description: \"Round outdoor fire pit bowl with a rough-iron exterior, flickering flames and glowing embers beneath a protective mesh screen\" },\n\n // -------------------- Decorative --------------------\n { id: \"mirror\", label: \"Mirror\", subcategory: \"decorative\", description: \"Large wall mirror with an ornate gilded frame, carved scrollwork and slightly aged silvering in the glass\" },\n { id: \"rug\", label: \"Rug\", subcategory: \"decorative\", description: \"Large patterned area rug with intricate woven motifs, tasseled ends and a soft plush pile\" },\n { id: \"vase\", label: \"Vase\", subcategory: \"decorative\", description: \"Tall ceramic vase with a rounded body, narrow neck, glazed finish and a fresh bouquet of flowers arranged inside\" },\n { id: \"grandfather-clock\", label: \"Grandfather Clock\", subcategory: \"decorative\", description: \"Tall wooden grandfather clock with a glass pendulum door, brass clock face, roman numerals and a chime mechanism\" },\n { id: \"wall-art\", label: \"Framed Wall Art\", subcategory: \"decorative\", description: \"Large framed artwork in a gilded or minimalist frame with a gallery-style matte border and a single focal painting\" },\n { id: \"pillow\", label: \"Throw Pillow\", subcategory: \"decorative\", description: \"Decorative throw pillow with a patterned cover, piped edges, plush fill and an invisible zipper closure\" },\n { id: \"curtains\", label: \"Curtains\", subcategory: \"decorative\", description: \"Full-length curtains with thick draping fabric, pleated tops hanging from a metal rod and tie-backs on each side\" },\n { id: \"sculpture\", label: \"Sculpture\", subcategory: \"decorative\", description: \"Abstract sculpture on a pedestal with flowing organic forms in bronze or marble catching the light from multiple angles\" },\n\n // -------------------- Bath --------------------\n { id: \"bathtub\", label: \"Bathtub\", subcategory: \"bath\", description: \"Freestanding clawfoot bathtub with rolled rim, polished white enamel interior and four ornate cast-iron feet\" },\n { id: \"shower\", label: \"Walk-In Shower\", subcategory: \"bath\", description: \"Walk-in shower with frameless glass panels, tiled walls, a rainfall showerhead and a linear floor drain\" },\n { id: \"toilet\", label: \"Toilet\", subcategory: \"bath\", description: \"Standard white ceramic toilet with an oval bowl, elongated seat and a tank with a chrome flush handle\" },\n { id: \"sink-vanity\", label: \"Sink Vanity\", subcategory: \"bath\", description: \"Bathroom sink vanity with a stone countertop, undermount basin, wide mirror above and paneled cabinet doors below\" },\n { id: \"towel-rack\", label: \"Towel Rack\", subcategory: \"bath\", description: \"Wall-mounted heated towel rack with multiple horizontal bars and fluffy folded towels draped over each bar\" },\n] as const\n\nconst furnitureById = new Map<string, Furniture>(FURNITURE.map((f) => [f.id, f]))\n\nexport function getFurniture(id: string | undefined | null): Furniture | undefined {\n if (!id) return undefined\n return furnitureById.get(id)\n}\n\nexport function getFurnitureLabel(id: string | undefined | null, fallback?: string): string {\n const f = getFurniture(id)\n if (f) return f.label\n if (fallback !== undefined) return fallback\n return (id ?? \"\").replace(/-/g, \" \").replace(/\\b\\w/g, (c) => c.toUpperCase())\n}\n\nexport const FURNITURE_IDS: ReadonlyArray<string> = FURNITURE.map((f) => f.id)\n\nexport const FURNITURE_SUBCATEGORY_LABELS: Readonly<Record<FurnitureSubcategory, string>> = {\n seating: \"Seating\",\n tables: \"Tables\",\n beds: \"Beds\",\n storage: \"Storage\",\n lighting: \"Lighting\",\n \"kitchen-dining\": \"Kitchen & Dining\",\n outdoor: \"Outdoor\",\n decorative: \"Decorative\",\n bath: \"Bath\",\n}\n\nexport const FURNITURE_SUBCATEGORY_ORDER: ReadonlyArray<FurnitureSubcategory> = [\n \"seating\",\n \"tables\",\n \"beds\",\n \"storage\",\n \"lighting\",\n \"kitchen-dining\",\n \"outdoor\",\n \"decorative\",\n \"bath\",\n]\n","/**\n * Facets of a source character/asset that can be selectively injected into a\n * consumer character via the Character node's Assets handle (element/asset\n * injection, P2). Single source of truth for the frontend facet chip options\n * AND the backend facet-extraction instructions.\n *\n * `full` injects the whole source description verbatim (no LLM call needed).\n * Every other facet is LLM-extracted on demand from the source's\n * `canonicalDescription` via `POST /v1/character/extract-facet`.\n */\nexport interface CharacterFacet {\n /** Stable id stored on the connection (`assetInjections[].facet`). */\n readonly id: string\n /** Human label shown in the facet chip. */\n readonly label: string\n /** What the extractor should pull from the source description. Phrased to\n * complete \"Extract {instruction} …\". Unused for `full`. */\n readonly instruction: string\n}\n\nexport const CHARACTER_FACETS: readonly CharacterFacet[] = [\n { id: \"full\", label: \"Full likeness\", instruction: \"the complete physical likeness and appearance\" },\n { id: \"hair\", label: \"Hair\", instruction: \"ONLY the hair — style, length, colour, and texture\" },\n { id: \"skin-tone\", label: \"Skin tone\", instruction: \"ONLY the skin tone / complexion\" },\n { id: \"face\", label: \"Face\", instruction: \"ONLY the facial features — face shape, eyes, nose, mouth, eyebrows, and any distinguishing marks\" },\n { id: \"style\", label: \"Style\", instruction: \"ONLY the overall visual style, aesthetic, and vibe — not specific garments\" },\n { id: \"outfit\", label: \"Outfit\", instruction: \"ONLY the clothing, outfit, and wardrobe\" },\n { id: \"personality\", label: \"Personality\", instruction: \"ONLY the personality, demeanour, and characteristic expression\" },\n] as const\n\nexport const DEFAULT_CHARACTER_FACET = \"full\"\n\nexport const CHARACTER_FACET_IDS: ReadonlySet<string> = new Set(CHARACTER_FACETS.map((f) => f.id))\n\nexport function getCharacterFacet(id: string): CharacterFacet | undefined {\n return CHARACTER_FACETS.find((f) => f.id === id)\n}\n","/**\n * Canonical catalog of vehicle presets for the Object entity node.\n *\n * When the Object category is \"vehicle\", users pick a specific vehicle from\n * this catalog. The picker auto-fills the object's `objectName` and\n * `description` so the existing `buildObjectPrompt` pipeline just works — no\n * backend prompt changes needed.\n *\n * Organized into everyday sub-categories: classic cars, everyday cars,\n * performance cars, motorcycles, bicycles (human-powered), trucks, transit\n * (buses + rail + horse-drawn), aircraft, watercraft, military, construction,\n * and sci-fi.\n */\n\nexport type VehicleSubcategory =\n | \"cars-classic\"\n | \"cars-everyday\"\n | \"cars-performance\"\n | \"motorcycles\"\n | \"bicycles\"\n | \"trucks\"\n | \"transit\"\n | \"aircraft\"\n | \"watercraft\"\n | \"military\"\n | \"construction\"\n | \"sci-fi\"\n\nexport interface Vehicle {\n readonly id: string\n readonly label: string\n readonly subcategory: VehicleSubcategory\n readonly description: string\n /**\n * Optional authored compact term — the short phrase a professional would\n * write in a prompt, as opposed to the user-facing `label` (see the `term`\n * convention in `@nodaro/prompts`'s `term.ts`). Authored ONLY where the\n * lowercased label is not that phrase — a UI compound naming two things at\n * once (\"Airship / Dirigible\" -> \"airship\", \"Plasma Sword / Lightsaber\" ->\n * \"plasma sword\"). Everywhere else the lowercased label IS the term for a\n * concrete object (\"golden retriever\", \"katana\"), so nothing is authored.\n */\n readonly term?: string\n}\n\nexport const VEHICLES: ReadonlyArray<Vehicle> = [\n // -------------------- Classic Cars --------------------\n { id: \"muscle-car\", label: \"Muscle Car\", subcategory: \"cars-classic\", description: \"Aggressive American muscle car with a long hood, wide stance, dual chrome exhausts and a deep throaty V8 presence\" },\n { id: \"car-57-chevy\", label: \"'57 Chevy\", subcategory: \"cars-classic\", description: \"Iconic 1957 Chevrolet Bel Air with tail fins, chrome bumpers, two-tone paint and whitewall tires\" },\n { id: \"hot-rod\", label: \"Hot Rod\", subcategory: \"cars-classic\", description: \"Chopped and channeled hot rod with flame paint job, exposed chrome engine, fat rear tires and skinny fronts\" },\n { id: \"vintage-roadster\", label: \"Vintage Roadster\", subcategory: \"cars-classic\", description: \"Pre-war open-top roadster with sweeping fenders, running boards, wire-spoke wheels and a long polished hood\" },\n { id: \"model-t\", label: \"Ford Model T\", subcategory: \"cars-classic\", description: \"Early 20th-century black Model T with boxy upright body, brass headlamps, spoked wheels and a cranked engine\" },\n { id: \"vw-beetle\", label: \"VW Beetle\", subcategory: \"cars-classic\", description: \"Rounded pastel-colored Volkswagen Beetle with a curved hood, air-cooled rear engine and cheerful bug-like face\" },\n { id: \"checker-cab\", label: \"Checker Cab\", subcategory: \"cars-classic\", description: \"Classic yellow New York checker taxi with a boxy body, black-and-white checker band and roof light\" },\n { id: \"woody-wagon\", label: \"Woody Wagon\", subcategory: \"cars-classic\", description: \"Surf-era station wagon with wood-paneled side doors, chrome bumpers and a long tailgate\" },\n { id: \"lowrider\", label: \"Lowrider\", subcategory: \"cars-classic\", description: \"Candy-painted lowrider with hydraulic suspension, chrome spoke wheels, whitewall tires and airbrushed murals\" },\n\n // -------------------- Everyday Cars --------------------\n { id: \"sedan\", label: \"Sedan\", subcategory: \"cars-everyday\", description: \"Four-door midsize sedan with a streamlined silhouette, chrome accents and modern LED headlights\" },\n { id: \"suv\", label: \"SUV\", subcategory: \"cars-everyday\", description: \"Large sport utility vehicle with a tall stance, roof rails, big alloy wheels and a muscular squared-off body\" },\n { id: \"hatchback\", label: \"Hatchback\", subcategory: \"cars-everyday\", description: \"Compact hatchback with a short rear, lift-up tailgate, nimble proportions and bright paint\" },\n { id: \"minivan\", label: \"Minivan\", subcategory: \"cars-everyday\", description: \"Family minivan with sliding side doors, a tall spacious cabin, tinted rear windows and a roomy rear hatch\" },\n { id: \"station-wagon\", label: \"Station Wagon\", subcategory: \"cars-everyday\", description: \"Long-roof station wagon with extended cargo area, rear quarter windows and a family-oriented silhouette\" },\n { id: \"crossover\", label: \"Crossover\", subcategory: \"cars-everyday\", description: \"Mid-sized crossover SUV with a raised ride height, car-like styling and aerodynamic LED accents\" },\n { id: \"electric-car\", label: \"Electric Car\", subcategory: \"cars-everyday\", description: \"Sleek modern electric car with a smooth grille-less front, flush door handles and aerodynamic clean lines\" },\n { id: \"hatchback-econobox\", label: \"Econobox\", subcategory: \"cars-everyday\", description: \"Tiny affordable two-door city car with a stubby hood, small wheels and simple compact styling\" },\n { id: \"police-car\", label: \"Police Car\", subcategory: \"cars-everyday\", description: \"Black-and-white patrol car with a roof-mounted light bar flashing red and blue, push bar on the front bumper, agency decals on the doors and antenna whips on the trunk\" },\n\n // -------------------- Performance / Exotic --------------------\n { id: \"sports-car\", label: \"Sports Car\", subcategory: \"cars-performance\", description: \"Low-slung two-door sports car with a wide aggressive stance, aerodynamic bodywork and bright glossy paint\" },\n { id: \"supercar\", label: \"Supercar\", subcategory: \"cars-performance\", description: \"Exotic mid-engined supercar with scissor doors, an ultra-low hood, huge rear intakes and a carbon-fiber rear wing\" },\n { id: \"convertible\", label: \"Convertible\", subcategory: \"cars-performance\", description: \"Two-seat convertible with the soft top down, a long sculpted hood and wind streaming past low-cut doors\" },\n { id: \"grand-tourer\", label: \"Grand Tourer\", subcategory: \"cars-performance\", description: \"Elegant grand-touring coupe with a long flowing hood, four exhausts and luxurious proportions\" },\n { id: \"roadster\", label: \"Roadster\", subcategory: \"cars-performance\", description: \"Compact two-seat roadster with a wraparound windshield, soft top tucked away and classic top-down silhouette\" },\n { id: \"racing-car\", label: \"Racing Car\", subcategory: \"cars-performance\", description: \"Open-wheel formula racing car with slick tires, a large rear wing, halo cockpit and aerodynamic sidepods covered in sponsor logos\" },\n { id: \"rally-car\", label: \"Rally Car\", subcategory: \"cars-performance\", description: \"Dirt-splattered rally hatchback with knobby tires, huge mud flaps, roof-mounted lights and race liveries\" },\n { id: \"drift-car\", label: \"Drift Car\", subcategory: \"cars-performance\", description: \"Aggressive drift-tuned coupe with a wide body kit, oversized rear wing, neon underglow and tire smoke trailing behind\" },\n\n // -------------------- Motorcycles --------------------\n { id: \"sportbike\", label: \"Sportbike\", subcategory: \"motorcycles\", description: \"Aerodynamic sport motorcycle with a crouched riding stance, full fairings, sticky tires and bright race-style graphics\" },\n { id: \"cruiser\", label: \"Cruiser\", subcategory: \"motorcycles\", description: \"Low-slung cruiser motorcycle with a long teardrop tank, swept-back handlebars, chrome exhausts and fat rear tire\" },\n { id: \"chopper\", label: \"Chopper\", subcategory: \"motorcycles\", description: \"Stretched custom chopper with a raked-out front end, tall ape-hanger handlebars, skinny front wheel and chrome everywhere\" },\n { id: \"dirt-bike\", label: \"Dirt Bike\", subcategory: \"motorcycles\", description: \"Off-road dirt bike with knobby tires, tall suspension, plastic fairings in bright colors and high handlebars\" },\n { id: \"scooter\", label: \"Scooter\", subcategory: \"motorcycles\", description: \"Compact step-through scooter with a smooth body shell, small wheels, a flat footrest and an under-seat storage bump\" },\n { id: \"moped\", label: \"Moped\", subcategory: \"motorcycles\", description: \"Small pedal-start moped with a simple steel frame, basket up front and a tiny gas engine under the seat\" },\n { id: \"cafe-racer\", label: \"Cafe Racer\", subcategory: \"motorcycles\", description: \"Stripped-down cafe racer motorcycle with clip-on bars, a humped solo seat, exposed frame and minimalist tank\" },\n\n // -------------------- Bicycles & Human-Powered --------------------\n { id: \"road-bike\", label: \"Road Bike\", subcategory: \"bicycles\", description: \"Lightweight road bike with drop handlebars, skinny high-pressure tires and an aerodynamic carbon frame\" },\n { id: \"mountain-bike\", label: \"Mountain Bike\", subcategory: \"bicycles\", description: \"Rugged mountain bike with knobby tires, front suspension fork, flat handlebars and a mud-splattered frame\" },\n { id: \"bmx\", label: \"BMX Bike\", subcategory: \"bicycles\", description: \"Stunt BMX bike with a small frame, pegs on the axles, chunky tires and a cross-brace handlebar\" },\n { id: \"cruiser-bike\", label: \"Beach Cruiser\", subcategory: \"bicycles\", description: \"Relaxed beach cruiser bicycle with a curved frame, swept-back handlebars, wide seat and balloon tires\" },\n { id: \"penny-farthing\", label: \"Penny Farthing\", subcategory: \"bicycles\", description: \"Victorian penny-farthing bicycle with an enormous front wheel, tiny rear wheel and a perched leather saddle high above\" },\n { id: \"unicycle\", label: \"Unicycle\", subcategory: \"bicycles\", description: \"Single-wheeled unicycle with a tall seat post, simple pedals on the hub and a minimalist circus look\" },\n { id: \"skateboard\", label: \"Skateboard\", subcategory: \"bicycles\", description: \"Wooden skateboard deck with grip tape on top, four polyurethane wheels and colorful graphic art on the underside\" },\n { id: \"kick-scooter\", label: \"Kick Scooter\", subcategory: \"bicycles\", description: \"Two-wheeled kick scooter with a tall T-handle, narrow deck and small hard wheels\" },\n\n // -------------------- Trucks --------------------\n { id: \"pickup-truck\", label: \"Pickup Truck\", subcategory: \"trucks\", description: \"Full-size pickup truck with a tall crew cab, open rear bed, chrome grille and aggressive off-road tires\" },\n { id: \"semi-truck\", label: \"Semi Truck\", subcategory: \"trucks\", description: \"Long-haul semi truck with a sleeper cab, tall chrome exhaust stacks and a massive articulated trailer behind\" },\n { id: \"dump-truck\", label: \"Dump Truck\", subcategory: \"trucks\", description: \"Heavy-duty dump truck with a raised tipping bed, massive off-road tires and yellow construction livery\" },\n { id: \"tow-truck\", label: \"Tow Truck\", subcategory: \"trucks\", description: \"Tow truck with a hydraulic boom, hook and flat recovery bed, rotating amber warning lights and bold signage\" },\n { id: \"delivery-van\", label: \"Delivery Van\", subcategory: \"trucks\", description: \"White delivery van with a boxy cargo hold, sliding side door, roof racks and corporate livery decals\" },\n { id: \"ice-cream-truck\", label: \"Ice Cream Truck\", subcategory: \"trucks\", description: \"Cheerful ice cream truck with pastel paint, a window counter displaying treats, colorful decals and a cone-shaped rooftop ornament\" },\n { id: \"food-truck\", label: \"Food Truck\", subcategory: \"trucks\", description: \"Stylized food truck with a folding service window, chalkboard menu, string lights and a bright custom wrap\" },\n { id: \"box-truck\", label: \"Box Truck\", subcategory: \"trucks\", description: \"Medium box truck with a plain rectangular cargo box, roll-up rear door and a forward cab\" },\n { id: \"ambulance\", label: \"Ambulance\", subcategory: \"trucks\", description: \"Emergency medical ambulance with a tall white box body, red cross and EMS livery, flashing red-and-blue lightbar, side warning lights and a high-visibility chevron pattern across the rear doors\" },\n\n // -------------------- Transit (Bus / Rail / Horse-Drawn) --------------------\n { id: \"city-bus\", label: \"City Bus\", subcategory: \"transit\", description: \"Modern articulated city bus with a low floor, sliding doors, destination sign up front and an advertising wrap\" },\n { id: \"school-bus\", label: \"School Bus\", subcategory: \"transit\", description: \"Classic yellow American school bus with black trim, flashing red stop signs, stop-arm out and black stenciled numbers\" },\n { id: \"double-decker\", label: \"Double-Decker Bus\", subcategory: \"transit\", description: \"Iconic red double-decker bus with a rounded roof, open staircase inside and destination scroll up front\" },\n { id: \"coach-bus\", label: \"Coach Bus\", subcategory: \"transit\", description: \"Long-distance coach bus with tinted panoramic windows, luggage bays underneath and streamlined bodywork\" },\n { id: \"train\", label: \"Train\", subcategory: \"transit\", description: \"Modern passenger train with a sleek streamlined nose, panoramic windows and a line of gleaming cars\" },\n { id: \"steam-locomotive\", label: \"Steam Locomotive\", subcategory: \"transit\", description: \"Black steam locomotive with a tall smokestack puffing steam, a boiler, connecting rods and a coal tender behind\" },\n { id: \"bullet-train\", label: \"Bullet Train\", subcategory: \"transit\", description: \"High-speed bullet train with an aerodynamic pointed nose, smooth white-and-blue livery and narrow windows\" },\n { id: \"subway\", label: \"Subway Train\", subcategory: \"transit\", description: \"Stainless-steel subway car with graffiti-resistant panels, sliding doors and rows of fluorescent lights inside\" },\n { id: \"tram\", label: \"Tram\", subcategory: \"transit\", description: \"Classic city tram car with a boxy wooden-framed body, overhead pantograph and rails running beneath\" },\n { id: \"stagecoach\", label: \"Stagecoach\", subcategory: \"transit\", description: \"Wild-west stagecoach with a wooden body, leaf-spring suspension, roof luggage rack and a team of horses harnessed in front\" },\n { id: \"horse-carriage\", label: \"Horse-Drawn Carriage\", subcategory: \"transit\", description: \"Ornate horse-drawn carriage with polished wood panels, large spoked wheels and a velvet-upholstered cabin\" },\n\n // -------------------- Aircraft --------------------\n { id: \"airliner\", label: \"Airliner\", subcategory: \"aircraft\", description: \"Wide-body commercial airliner with twin jet engines under swept wings, rows of oval windows and a tall swept tail fin\" },\n { id: \"biplane\", label: \"Biplane\", subcategory: \"aircraft\", description: \"Vintage biplane with two stacked wings connected by struts and wire bracing, an open cockpit and a wooden propeller\" },\n { id: \"propeller-plane\", label: \"Propeller Plane\", subcategory: \"aircraft\", description: \"Small single-engine propeller plane with a spinning nose prop, high wings, fixed landing gear and a bubble cockpit\" },\n { id: \"helicopter\", label: \"Helicopter\", subcategory: \"aircraft\", description: \"Utility helicopter with a large main rotor on top, a slim tail boom, skids underneath and a bubble-front cockpit\" },\n { id: \"seaplane\", label: \"Seaplane\", subcategory: \"aircraft\", description: \"Seaplane with twin pontoon floats instead of wheels, high wings and a propeller, resting on calm water\" },\n { id: \"hot-air-balloon\", label: \"Hot Air Balloon\", subcategory: \"aircraft\", description: \"Giant hot-air balloon with a colorful rainbow-striped fabric envelope, a roaring flame burner flaring upward into the mouth and a wicker passenger basket suspended below by braided cables\" },\n { id: \"blimp\", label: \"Blimp\", subcategory: \"aircraft\", description: \"Sausage-shaped blimp airship with a sleek silver envelope, small rear fins and a slung gondola beneath\" },\n { id: \"airship\", label: \"Airship / Dirigible\", subcategory: \"aircraft\", description: \"Massive rigid lighter-than-air dirigible with a long cigar-shaped fabric-covered metal frame, large rear stabilizer fins, multiple slung engine gondolas and a long passenger cabin running underneath the hull\", term: \"airship\" },\n { id: \"glider\", label: \"Glider\", subcategory: \"aircraft\", description: \"Elegant sailplane glider with ultra-long narrow wings, no engine and a teardrop cockpit pod\" },\n { id: \"paraglider\", label: \"Paraglider\", subcategory: \"aircraft\", description: \"Foot-launched paraglider with a wide elliptical soft-fabric ram-air wing arched overhead, dozens of slender suspension lines converging into a tandem harness with a seated pilot\" },\n { id: \"microlight\", label: \"Microlight Aircraft\", subcategory: \"aircraft\", description: \"Lightweight single-pilot microlight aircraft with an exposed tubular metal frame, fabric-covered high wings, a small pusher propeller engine behind the open seat and tricycle landing gear\" },\n { id: \"drone\", label: \"Drone\", subcategory: \"aircraft\", description: \"Quadcopter camera drone with four spinning rotors on slim arms, a central body and a gimbaled camera underneath\" },\n\n // -------------------- Watercraft --------------------\n { id: \"yacht\", label: \"Yacht\", subcategory: \"watercraft\", description: \"Sleek luxury motor yacht with multiple decks, tinted windows, a radar mast and glossy white hull cutting through blue water\" },\n { id: \"sailboat\", label: \"Sailboat\", subcategory: \"watercraft\", description: \"Graceful sailboat with a tall mast, taut white sails catching the wind and a narrow fiberglass hull\" },\n { id: \"speedboat\", label: \"Speedboat\", subcategory: \"watercraft\", description: \"Fast powerboat with a pointed deep-V hull, low windshield and a roaring outboard motor kicking up a wake\" },\n { id: \"cruise-ship\", label: \"Cruise Ship\", subcategory: \"watercraft\", description: \"Massive cruise ship with multiple towering decks, rows of balconies, bright funnels and a pointed bow\" },\n { id: \"cargo-ship\", label: \"Cargo Ship\", subcategory: \"watercraft\", description: \"Giant container cargo ship stacked high with rainbow-colored shipping containers, a bridge tower at the stern\" },\n { id: \"canoe\", label: \"Canoe\", subcategory: \"watercraft\", description: \"Classic wooden canoe with a pointed bow and stern, a cedar-ribbed interior and a single paddle resting inside\" },\n { id: \"kayak\", label: \"Kayak\", subcategory: \"watercraft\", description: \"Slim plastic kayak with a low profile, enclosed cockpit opening and a double-bladed paddle\" },\n { id: \"rowboat\", label: \"Rowboat\", subcategory: \"watercraft\", description: \"Small wooden rowboat with flat-bottom planks, oarlocks on the gunwales and two wooden oars\" },\n { id: \"jet-ski\", label: \"Jet Ski\", subcategory: \"watercraft\", description: \"Stand-up personal watercraft with an aggressive fairing, handlebars, a single seat and a jet-propulsion nozzle\" },\n { id: \"submarine\", label: \"Submarine\", subcategory: \"watercraft\", description: \"Military submarine with a long cylindrical hull, a conning tower with periscopes and a bulbous bow diving through deep water\" },\n { id: \"pirate-ship\", label: \"Pirate Ship\", subcategory: \"watercraft\", description: \"Wooden pirate galleon with tall masts, square sails, a figurehead on the bow, cannons along the hull and a tattered black flag\" },\n { id: \"hovercraft\", label: \"Hovercraft\", subcategory: \"watercraft\", description: \"Air-cushion hovercraft riding on a thick inflated rubber skirt billowing outward, large rear ducted fans for propulsion, a flat boxy passenger cabin on top and capable of skimming over both water and land\" },\n\n // -------------------- Military --------------------\n { id: \"tank\", label: \"Tank\", subcategory: \"military\", description: \"Heavy battle tank with a long cannon barrel, rotating turret, thick sloped armor and wide continuous tracks\" },\n { id: \"humvee\", label: \"Humvee\", subcategory: \"military\", description: \"Military Humvee with a wide stance, armored angular bodywork, off-road tires and a roof-mounted turret\" },\n { id: \"armored-personnel-carrier\", label: \"Armored Personnel Carrier\", subcategory: \"military\", description: \"Tracked armored personnel carrier with a boxy hull, rear ramp and a small turret up top\" },\n { id: \"fighter-jet\", label: \"Fighter Jet\", subcategory: \"military\", description: \"Supersonic fighter jet with swept delta wings, a sharp pointed nose, twin tail fins and missiles on wing pylons\" },\n { id: \"stealth-bomber\", label: \"Stealth Bomber\", subcategory: \"military\", description: \"Flying-wing stealth bomber with a matte black triangular silhouette, no tail fins and faceted radar-absorbing surfaces\" },\n { id: \"destroyer\", label: \"Destroyer\", subcategory: \"military\", description: \"Sleek naval destroyer with a long grey hull, gun turrets, missile launchers and a radar-bristling superstructure\" },\n { id: \"aircraft-carrier\", label: \"Aircraft Carrier\", subcategory: \"military\", description: \"Massive aircraft carrier with a flat-top flight deck, island tower with radar arrays and fighter jets parked in rows\" },\n\n // -------------------- Construction --------------------\n { id: \"bulldozer\", label: \"Bulldozer\", subcategory: \"construction\", description: \"Yellow construction bulldozer with a huge push blade up front, heavy tracks and a tall exhaust stack\" },\n { id: \"excavator\", label: \"Excavator\", subcategory: \"construction\", description: \"Hydraulic excavator with an articulated arm, toothed bucket, rotating cab and heavy tracked base\" },\n { id: \"crane-truck\", label: \"Crane Truck\", subcategory: \"construction\", description: \"Mobile crane truck with a massive telescoping boom extended upward, stabilizer outriggers and a heavy counterweight\" },\n { id: \"cement-mixer\", label: \"Cement Mixer\", subcategory: \"construction\", description: \"Cement mixer truck with a large rotating drum, chute at the rear and a boxy cab\" },\n { id: \"forklift\", label: \"Forklift\", subcategory: \"construction\", description: \"Warehouse forklift with twin steel fork tines raised in front, a roll cage over the driver and a compact counterweight rear\" },\n { id: \"backhoe\", label: \"Backhoe\", subcategory: \"construction\", description: \"Backhoe loader with a front bucket for scooping and a rear articulated arm with a toothed digging bucket\" },\n { id: \"tractor\", label: \"Tractor\", subcategory: \"construction\", description: \"Farm tractor with large knobby rear tires, smaller front tires, a roof canopy and a towing hitch at the back\" },\n\n // -------------------- Sci-Fi / Fantasy --------------------\n { id: \"spaceship\", label: \"Spaceship\", subcategory: \"sci-fi\", description: \"Sleek interstellar spaceship with curved fuselage, glowing engine nozzles, antenna arrays and a command bridge window\" },\n { id: \"starfighter\", label: \"Starfighter\", subcategory: \"sci-fi\", description: \"Agile single-pilot starfighter with swept wings, laser cannons on the wingtips, a bubble cockpit and glowing thrusters\" },\n { id: \"hovercar\", label: \"Hovercar\", subcategory: \"sci-fi\", description: \"Futuristic hovercar floating above the ground with no wheels, glowing underside thrusters, seamless bodywork and a curved canopy\" },\n { id: \"mech\", label: \"Mech\", subcategory: \"sci-fi\", description: \"Giant bipedal mech robot with armored plating, hydraulic pistons, a cockpit in the torso and heavy weapons mounted on the arms\" },\n { id: \"flying-saucer\", label: \"Flying Saucer\", subcategory: \"sci-fi\", description: \"Classic UFO flying saucer with a metallic disc body, glowing porthole lights around the rim and a domed cockpit on top\" },\n { id: \"space-shuttle\", label: \"Space Shuttle\", subcategory: \"sci-fi\", description: \"Space shuttle orbiter with white delta wings, a black heat-shield underbelly and huge rocket nozzles at the rear\" },\n { id: \"rocket\", label: \"Rocket\", subcategory: \"sci-fi\", description: \"Tall cylindrical rocket with pointed nose cone, tail fins, booster stages and flames roaring from the engines on launch\" },\n { id: \"hoverboard\", label: \"Hoverboard\", subcategory: \"sci-fi\", description: \"Futuristic hoverboard floating inches above the ground with glowing underside jets and a sleek single-plank body\" },\n] as const\n\nconst vehicleById = new Map<string, Vehicle>(VEHICLES.map((v) => [v.id, v]))\n\nexport function getVehicle(id: string | undefined | null): Vehicle | undefined {\n if (!id) return undefined\n return vehicleById.get(id)\n}\n\nexport function getVehicleLabel(id: string | undefined | null, fallback?: string): string {\n const v = getVehicle(id)\n if (v) return v.label\n if (fallback !== undefined) return fallback\n return (id ?? \"\").replace(/-/g, \" \").replace(/\\b\\w/g, (c) => c.toUpperCase())\n}\n\nexport const VEHICLE_IDS: ReadonlyArray<string> = VEHICLES.map((v) => v.id)\n\nexport const VEHICLE_SUBCATEGORY_LABELS: Readonly<Record<VehicleSubcategory, string>> = {\n \"cars-classic\": \"Classic Cars\",\n \"cars-everyday\": \"Everyday Cars\",\n \"cars-performance\": \"Performance Cars\",\n motorcycles: \"Motorcycles\",\n bicycles: \"Bicycles & Human-Powered\",\n trucks: \"Trucks\",\n transit: \"Bus / Rail / Carriage\",\n aircraft: \"Aircraft\",\n watercraft: \"Watercraft\",\n military: \"Military\",\n construction: \"Construction\",\n \"sci-fi\": \"Sci-Fi\",\n}\n\nexport const VEHICLE_SUBCATEGORY_ORDER: ReadonlyArray<VehicleSubcategory> = [\n \"cars-classic\",\n \"cars-everyday\",\n \"cars-performance\",\n \"motorcycles\",\n \"bicycles\",\n \"trucks\",\n \"transit\",\n \"aircraft\",\n \"watercraft\",\n \"military\",\n \"construction\",\n \"sci-fi\",\n]\n","/**\n * Canonical catalog of weapon presets for the Object entity node.\n *\n * When the Object category is \"weapon\", users pick a specific weapon from\n * this catalog. The picker auto-fills the object's `objectName` and\n * `description` so the existing `buildObjectPrompt` pipeline just works —\n * no backend prompt changes needed.\n *\n * Organized by weapon family: swords, daggers, axes, polearms, bows,\n * blunt/impact, throwing, modern firearms, historical firearms, explosives\n * & siege, sci-fi, and fantasy.\n */\n\nexport type WeaponSubcategory =\n | \"swords\"\n | \"daggers\"\n | \"axes\"\n | \"polearms\"\n | \"bows\"\n | \"blunt\"\n | \"throwing\"\n | \"firearms-modern\"\n | \"firearms-historical\"\n | \"explosives-siege\"\n | \"sci-fi\"\n | \"fantasy\"\n\nexport interface Weapon {\n readonly id: string\n readonly label: string\n readonly subcategory: WeaponSubcategory\n readonly description: string\n /**\n * Optional authored compact term — the short phrase a professional would\n * write in a prompt, as opposed to the user-facing `label` (see the `term`\n * convention in `@nodaro/prompts`'s `term.ts`). Authored ONLY where the\n * lowercased label is not that phrase — a UI compound naming two things at\n * once (\"Airship / Dirigible\" -> \"airship\", \"Plasma Sword / Lightsaber\" ->\n * \"plasma sword\"). Everywhere else the lowercased label IS the term for a\n * concrete object (\"golden retriever\", \"katana\"), so nothing is authored.\n */\n readonly term?: string\n}\n\nexport const WEAPONS: ReadonlyArray<Weapon> = [\n // -------------------- Swords --------------------\n { id: \"katana\", label: \"Katana\", subcategory: \"swords\", description: \"Japanese katana with a single-edged gently curved blade, wrapped rayskin handle, disc-shaped tsuba guard and a polished mirror finish\" },\n { id: \"longsword\", label: \"Longsword\", subcategory: \"swords\", description: \"Medieval double-edged longsword with a straight tapering blade, cross guard, leather-wrapped grip and a round pommel\" },\n { id: \"broadsword\", label: \"Broadsword\", subcategory: \"swords\", description: \"Heavy broadsword with a wide straight double-edged blade, basket hilt guard and a sturdy leather-wrapped grip\" },\n { id: \"rapier\", label: \"Rapier\", subcategory: \"swords\", description: \"Slim rapier with a long narrow thrusting blade, ornate swept-hilt basket guard and a spherical pommel\" },\n { id: \"saber\", label: \"Saber\", subcategory: \"swords\", description: \"Cavalry saber with a single-edged curved blade, brass knuckle-bow guard and a ribbed leather grip\" },\n { id: \"scimitar\", label: \"Scimitar\", subcategory: \"swords\", description: \"Curved scimitar with a wide single-edged blade, ornate crossguard and a rounded metal pommel\" },\n { id: \"claymore\", label: \"Claymore\", subcategory: \"swords\", description: \"Massive two-handed Scottish claymore with a long straight blade, forward-angled crossguard and a large leather-bound grip\" },\n { id: \"zweihander\", label: \"Zweihänder\", subcategory: \"swords\", description: \"Two-handed German Renaissance greatsword with an enormous straight double-edged blade, leather-wrapped ricasso above the crossguard, parrying lugs partway up the blade and a long extended grip ending in a heavy pear-shaped pommel\" },\n { id: \"cutlass\", label: \"Cutlass\", subcategory: \"swords\", description: \"Pirate cutlass with a short curved single-edged blade, brass cup-shaped hand guard and a weathered wooden grip\" },\n { id: \"wakizashi\", label: \"Wakizashi\", subcategory: \"swords\", description: \"Short Japanese wakizashi companion blade with a gently curved edge, small tsuba and rayskin-wrapped handle\" },\n { id: \"falchion\", label: \"Falchion\", subcategory: \"swords\", description: \"Heavy single-edged falchion with a cleaver-like tapering blade, simple crossguard and a riveted leather grip\" },\n\n // -------------------- Daggers & Knives --------------------\n { id: \"dagger\", label: \"Dagger\", subcategory: \"daggers\", description: \"Classic double-edged dagger with a narrow pointed blade, crossguard and a wrapped leather grip\" },\n { id: \"bowie-knife\", label: \"Bowie Knife\", subcategory: \"daggers\", description: \"Large bowie knife with a clip-point blade, brass guard, stacked leather-washer handle and a crossguard\" },\n { id: \"kukri\", label: \"Kukri\", subcategory: \"daggers\", description: \"Nepalese kukri with a forward-curving broad blade, wooden handle and distinctive inwardly-angled recurve\" },\n { id: \"stiletto\", label: \"Stiletto\", subcategory: \"daggers\", description: \"Slim stiletto with a long needle-thin triangular blade, minimal crossguard and a tapered handle\" },\n { id: \"dirk\", label: \"Dirk\", subcategory: \"daggers\", description: \"Scottish dirk with a long straight single-edged blade, interwoven Celtic-knot handle and an ornate pommel\" },\n { id: \"tanto\", label: \"Tanto\", subcategory: \"daggers\", description: \"Japanese tanto dagger with an angular chisel-point tip, small tsuba and wrapped rayskin handle\" },\n { id: \"switchblade\", label: \"Switchblade\", subcategory: \"daggers\", description: \"Pocket switchblade with a spring-loaded folding blade, pearl or resin side panels and a polished release button\" },\n { id: \"trench-knife\", label: \"Trench Knife\", subcategory: \"daggers\", description: \"Military trench knife with a slim double-edged blade and a brass knuckle-duster handguard wrapping the grip\" },\n\n // -------------------- Axes --------------------\n { id: \"battle-axe\", label: \"Battle Axe\", subcategory: \"axes\", description: \"Heavy two-handed battle axe with a wide curved cutting edge, bearded profile and a long wooden haft bound with iron bands\" },\n { id: \"tomahawk\", label: \"Tomahawk\", subcategory: \"axes\", description: \"Light throwing tomahawk with a small single-bit iron head, straight wooden haft and leather wrapping near the grip\" },\n { id: \"hatchet\", label: \"Hatchet\", subcategory: \"axes\", description: \"Compact hatchet with a short wooden handle, small single-bit steel head and a hammered finish\" },\n { id: \"halberd\", label: \"Halberd\", subcategory: \"axes\", description: \"Long-pole halberd combining an axe blade, a thrusting spear point and a rear hook atop a tall wooden shaft\" },\n { id: \"greataxe\", label: \"Greataxe\", subcategory: \"axes\", description: \"Massive greataxe with a huge double-sided crescent head, iron reinforcing bands and a long heavy haft requiring two hands\" },\n { id: \"bearded-axe\", label: \"Bearded Axe\", subcategory: \"axes\", description: \"Viking bearded axe with an elongated lower blade edge, narrow iron head and a tall wooden haft wrapped with leather\" },\n\n // -------------------- Polearms --------------------\n { id: \"spear\", label: \"Spear\", subcategory: \"polearms\", description: \"Simple spear with a leaf-shaped iron spearhead lashed to a tall straight wooden shaft and a small butt cap at the base\" },\n { id: \"lance\", label: \"Lance\", subcategory: \"polearms\", description: \"Jousting lance with a long wooden shaft, conical steel tip and a flared hand guard protecting the grip\" },\n { id: \"pike\", label: \"Pike\", subcategory: \"polearms\", description: \"Very long pike with a small triangular spearhead mounted atop a towering wooden pole twice the height of a man\" },\n { id: \"glaive\", label: \"Glaive\", subcategory: \"polearms\", description: \"Glaive polearm with a long curved single-edged blade mounted on a wooden shaft, tapering to a small crossguard\" },\n { id: \"trident\", label: \"Trident\", subcategory: \"polearms\", description: \"Three-pronged trident with sharp barbed tines, a central shaft and a long wooden pole\" },\n { id: \"naginata\", label: \"Naginata\", subcategory: \"polearms\", description: \"Japanese naginata with a curved single-edged blade mounted on a long lacquered wooden pole with silk wrappings\" },\n\n // -------------------- Bows & Crossbows --------------------\n { id: \"longbow\", label: \"Longbow\", subcategory: \"bows\", description: \"Tall English longbow with a single piece of yew wood, waxed linen string and a leather-wrapped grip\" },\n { id: \"recurve-bow\", label: \"Recurve Bow\", subcategory: \"bows\", description: \"Traditional recurve bow with limbs that curve away from the archer, a leather-wrapped riser and a taut bowstring\" },\n { id: \"compound-bow\", label: \"Compound Bow\", subcategory: \"bows\", description: \"Modern compound bow with aluminum cams, pulley wheels at each tip, carbon-fiber arrow rest and a sighting pin array\" },\n { id: \"crossbow\", label: \"Crossbow\", subcategory: \"bows\", description: \"Medieval crossbow with a horizontal wooden stock, steel prod, taut string and a trigger mechanism under the rail\" },\n { id: \"short-bow\", label: \"Short Bow\", subcategory: \"bows\", description: \"Compact wooden short bow with a simple curved profile, a waxed string and a leather grip in the middle\" },\n\n // -------------------- Blunt & Impact --------------------\n { id: \"mace\", label: \"Mace\", subcategory: \"blunt\", description: \"Medieval flanged mace with a heavy crowned head bearing protruding iron flanges atop a short iron shaft\" },\n { id: \"war-hammer\", label: \"War Hammer\", subcategory: \"blunt\", description: \"Long-handled war hammer with a heavy iron head featuring a flat striking face on one side and a curved spike on the other\" },\n { id: \"club\", label: \"Club\", subcategory: \"blunt\", description: \"Simple wooden club with a thick knotted head, tapering shaft and a well-worn leather grip near the base\" },\n { id: \"morning-star\", label: \"Morning Star\", subcategory: \"blunt\", description: \"Morning star with a wooden shaft topped by a large iron ball bristling with tall spikes in every direction\" },\n { id: \"flail\", label: \"Flail\", subcategory: \"blunt\", description: \"Military flail with a spiked iron ball connected by a short chain to a wooden haft with an iron end cap\" },\n { id: \"nunchaku\", label: \"Nunchaku\", subcategory: \"blunt\", description: \"Martial-arts nunchaku with two polished wooden batons connected by a short length of braided cord or chain\" },\n\n // -------------------- Throwing --------------------\n { id: \"shuriken\", label: \"Shuriken\", subcategory: \"throwing\", description: \"Metal throwing star with multiple razor-sharp points radiating from a central hub and a blackened steel finish\" },\n { id: \"throwing-knife\", label: \"Throwing Knife\", subcategory: \"throwing\", description: \"Balanced throwing knife with a leaf-shaped double-edged blade, minimal handle and a polished steel finish\" },\n { id: \"boomerang\", label: \"Boomerang\", subcategory: \"throwing\", description: \"Curved wooden boomerang with an elbow bend, painted tribal patterns and a smooth aerodynamic profile\" },\n { id: \"javelin\", label: \"Javelin\", subcategory: \"throwing\", description: \"Lightweight throwing javelin with a slim steel tip, tapered wooden shaft and a leather grip wrap near the balance point\" },\n { id: \"bolas\", label: \"Bolas\", subcategory: \"throwing\", description: \"Three weighted stone or iron balls tied together by braided leather cords meeting at a central knot\" },\n { id: \"slingshot\", label: \"Slingshot\", subcategory: \"throwing\", description: \"Y-shaped wooden slingshot with a forked handle whittled from a tree branch, two thick rubber elastic bands stretched between the prongs and a small leather pouch in the middle for cradling stone projectiles\" },\n { id: \"blowgun\", label: \"Blowgun\", subcategory: \"throwing\", description: \"Long hollow blowpipe traditionally used by indigenous hunters, fashioned from a single piece of bamboo or carved hardwood with a small mouthpiece at one end and slender feather-fletched darts loaded for breath-launched shots\" },\n\n // -------------------- Modern Firearms --------------------\n { id: \"pistol\", label: \"Pistol\", subcategory: \"firearms-modern\", description: \"Modern semi-automatic pistol with a matte black polymer frame, ribbed slide, trigger guard and a flush magazine base\" },\n { id: \"revolver\", label: \"Revolver\", subcategory: \"firearms-modern\", description: \"Six-shooter revolver with a rotating cylinder, long barrel, hammer cocked back and a checkered wooden grip\" },\n { id: \"assault-rifle\", label: \"Assault Rifle\", subcategory: \"firearms-modern\", description: \"Military assault rifle with a long barrel, collapsible stock, optical sight on the rail and a curved detachable magazine\" },\n { id: \"shotgun\", label: \"Shotgun\", subcategory: \"firearms-modern\", description: \"Pump-action shotgun with a wide bore barrel, tactical fore-end, tube magazine underneath and a wooden or synthetic stock\" },\n { id: \"smg\", label: \"Submachine Gun\", subcategory: \"firearms-modern\", description: \"Compact submachine gun with a short barrel, side-mounted magazine, folding wire stock and an integral foregrip\" },\n { id: \"sniper-rifle\", label: \"Sniper Rifle\", subcategory: \"firearms-modern\", description: \"Bolt-action sniper rifle with a long barrel, high-magnification scope, bipod legs and an ergonomic polymer stock\" },\n { id: \"machine-gun\", label: \"Machine Gun\", subcategory: \"firearms-modern\", description: \"Heavy belt-fed machine gun with a long finned barrel, bipod, carry handle and an ammunition belt feeding from the side\" },\n { id: \"service-pistol\", label: \"Service Pistol\", subcategory: \"firearms-modern\", description: \"Modern semi-automatic service sidearm in the Glock or Beretta style with a matte black polymer frame, ribbed steel slide, accessory rail under the dust cover, three-dot iron sights and a flush double-stack magazine\" },\n { id: \"hunting-rifle\", label: \"Hunting Rifle\", subcategory: \"firearms-modern\", description: \"Bolt-action hunting rifle with a polished walnut wood stock, blued steel barrel, mounted variable-zoom scope on the receiver rail, leather sling and a checkered grip and forend for steady offhand shooting\" },\n\n // -------------------- Historical Firearms --------------------\n { id: \"musket\", label: \"Musket\", subcategory: \"firearms-historical\", description: \"Long flintlock musket with a smooth-bore iron barrel, walnut stock, brass fittings and a bayonet fixed near the muzzle\" },\n { id: \"flintlock-pistol\", label: \"Flintlock Pistol\", subcategory: \"firearms-historical\", description: \"Ornate flintlock pistol with a curved wooden grip, engraved brass fittings, a flint hammer and a single long barrel\" },\n { id: \"blunderbuss\", label: \"Blunderbuss\", subcategory: \"firearms-historical\", description: \"Short flintlock blunderbuss with a flared muzzle, brass fittings on a stout wooden stock and a pirate-era presence\" },\n { id: \"dueling-pistol\", label: \"Dueling Pistol\", subcategory: \"firearms-historical\", description: \"Elegant dueling pistol with a slim octagonal barrel, finely engraved lockwork and a polished walnut grip\" },\n\n // -------------------- Explosives & Siege --------------------\n { id: \"grenade\", label: \"Grenade\", subcategory: \"explosives-siege\", description: \"Pineapple-textured iron fragmentation grenade with a spoon lever held in place by a pulled safety pin\" },\n { id: \"stick-grenade\", label: \"Stick Grenade\", subcategory: \"explosives-siege\", description: \"Cylindrical stick grenade with an iron warhead mounted atop a long wooden handle and a pull-string fuse at the base\" },\n { id: \"dynamite\", label: \"Dynamite\", subcategory: \"explosives-siege\", description: \"Bundled sticks of red dynamite wrapped with twine and joined to a long sputtering fuse with a burning tip\" },\n { id: \"bomb\", label: \"Cartoon Bomb\", subcategory: \"explosives-siege\", description: \"Round black cartoon bomb with a smoking curled fuse coming out of the top and a shiny spherical iron shell\" },\n { id: \"rocket-launcher\", label: \"Rocket Launcher\", subcategory: \"explosives-siege\", description: \"Shoulder-fired rocket launcher with a long tube, forward grip, rear exhaust cone and optical targeting sight\" },\n { id: \"cannon\", label: \"Cannon\", subcategory: \"explosives-siege\", description: \"Cast-iron muzzle-loading cannon mounted on a wooden wheeled carriage with a long smooth-bore barrel and a smoking vent\" },\n { id: \"catapult\", label: \"Catapult\", subcategory: \"explosives-siege\", description: \"Wooden siege catapult with a long throwing arm cocked back, a counterweight or torsion bundle and a basket loaded with stone\" },\n { id: \"trebuchet\", label: \"Trebuchet\", subcategory: \"explosives-siege\", description: \"Tall medieval trebuchet with a massive counterweight, long throwing arm, braided sling and heavy timber frame\" },\n\n // -------------------- Sci-Fi --------------------\n { id: \"laser-pistol\", label: \"Laser Pistol\", subcategory: \"sci-fi\", description: \"Compact sci-fi laser pistol with glowing neon energy coils, a ridged metal body and a short emitter barrel\" },\n { id: \"plasma-rifle\", label: \"Plasma Rifle\", subcategory: \"sci-fi\", description: \"Futuristic plasma rifle with glowing blue energy cells, ventilated barrel shrouds and a holographic sight\" },\n { id: \"lightsaber\", label: \"Lightsaber\", subcategory: \"sci-fi\", description: \"Laser sword with a metallic ribbed handle emitting a tall glowing blade of saturated energy with a hazy plasma halo\" },\n { id: \"blaster\", label: \"Blaster\", subcategory: \"sci-fi\", description: \"Retro-futuristic blaster pistol with a chunky body, glowing energy chamber, cooling vents and a scope mounted on top\" },\n { id: \"phaser\", label: \"Phaser\", subcategory: \"sci-fi\", description: \"Sleek sci-fi phaser with a minimalist curved grip, glowing emitter tip and a smooth panel controlling intensity\" },\n { id: \"rail-gun\", label: \"Rail Gun\", subcategory: \"sci-fi\", description: \"Heavy electromagnetic rail gun with parallel metal rails, massive capacitors along the body and a glowing projectile chamber\" },\n { id: \"emp-grenade\", label: \"EMP Grenade\", subcategory: \"sci-fi\", description: \"Spherical electromagnetic pulse grenade with exposed coils, glowing blue indicator lights and a holographic arming dial\" },\n { id: \"plasma-sword\", label: \"Plasma Sword / Lightsaber\", subcategory: \"sci-fi\", description: \"Sci-fi energy blade with a metallic ridged hilt projecting a tall column of saturated plasma energy, surrounded by a bright halo of glowing light, casting colored reflections on the wielder and humming softly with contained power\", term: \"plasma sword\" },\n { id: \"gravity-gun\", label: \"Gravity Gun\", subcategory: \"sci-fi\", description: \"Sci-fi physics-manipulating ranged weapon with a chunky metallic body, three articulated prongs at the muzzle that crackle with blue gravitational energy, exposed power conduits along the barrel and a heavy two-handed grip with a glowing trigger assembly\" },\n\n // -------------------- Fantasy / Magical --------------------\n { id: \"enchanted-sword\", label: \"Enchanted Sword\", subcategory: \"fantasy\", description: \"Enchanted sword with a glowing rune-etched blade, gold-inlaid crossguard and a gemstone embedded in the pommel\" },\n { id: \"magic-staff\", label: \"Magic Staff\", subcategory: \"fantasy\", description: \"Tall gnarled wizard's staff with a twisted wooden shaft ending in a crown of branches holding a glowing crystal\" },\n { id: \"runed-dagger\", label: \"Runed Dagger\", subcategory: \"fantasy\", description: \"Mystical dagger with a blade inscribed in glowing runes, a bone handle and dark energy swirling along the edge\" },\n { id: \"wizard-wand\", label: \"Wizard Wand\", subcategory: \"fantasy\", description: \"Slender wooden wand with knurled swirls, a leather grip and tiny sparks of magic leaking from the pointed tip\" },\n { id: \"war-horn\", label: \"War Horn\", subcategory: \"fantasy\", description: \"Massive curved war horn bound in leather and silver bands with a mouthpiece at one end and a flared bellowing opening at the other\" },\n { id: \"sorcerer-orb\", label: \"Sorcerer's Orb\", subcategory: \"fantasy\", description: \"Crystal sorcerer's orb held in a twisted silver claw-stand with swirling arcane mist suspended inside the glass sphere\" },\n] as const\n\nconst weaponById = new Map<string, Weapon>(WEAPONS.map((w) => [w.id, w]))\n\nexport function getWeapon(id: string | undefined | null): Weapon | undefined {\n if (!id) return undefined\n return weaponById.get(id)\n}\n\nexport function getWeaponLabel(id: string | undefined | null, fallback?: string): string {\n const w = getWeapon(id)\n if (w) return w.label\n if (fallback !== undefined) return fallback\n return (id ?? \"\").replace(/-/g, \" \").replace(/\\b\\w/g, (c) => c.toUpperCase())\n}\n\nexport const WEAPON_IDS: ReadonlyArray<string> = WEAPONS.map((w) => w.id)\n\nexport const WEAPON_SUBCATEGORY_LABELS: Readonly<Record<WeaponSubcategory, string>> = {\n swords: \"Swords\",\n daggers: \"Daggers & Knives\",\n axes: \"Axes\",\n polearms: \"Polearms\",\n bows: \"Bows & Crossbows\",\n blunt: \"Blunt & Impact\",\n throwing: \"Throwing\",\n \"firearms-modern\": \"Firearms (Modern)\",\n \"firearms-historical\": \"Firearms (Historical)\",\n \"explosives-siege\": \"Explosives & Siege\",\n \"sci-fi\": \"Sci-Fi\",\n fantasy: \"Fantasy\",\n}\n\nexport const WEAPON_SUBCATEGORY_ORDER: ReadonlyArray<WeaponSubcategory> = [\n \"swords\",\n \"daggers\",\n \"axes\",\n \"polearms\",\n \"bows\",\n \"blunt\",\n \"throwing\",\n \"firearms-modern\",\n \"firearms-historical\",\n \"explosives-siege\",\n \"sci-fi\",\n \"fantasy\",\n]\n","/**\n * Multi-select helpers for parameter dimensions that allow up to N picks.\n *\n * A dimension's stored value can be:\n * - undefined / \"\" / [] → no pick\n * - string → single pick (back-compat with single-select fields)\n * - string[] → multi pick (1..N entries)\n *\n * `pickIds` normalizes any of those into a clean string[] (deduped, falsy\n * entries dropped). Pickers cap the array at `maxSelected` (FIFO replacement\n * is the picker's responsibility, not this helper's).\n *\n * Multi-select dimensions today: Person.ethnicity, Mood.mood, Aesthetic.aesthetic.\n */\n\nexport function pickIds(value: unknown): string[] {\n if (typeof value === \"string\") return value ? [value] : []\n if (!Array.isArray(value)) return []\n const seen = new Set<string>()\n const out: string[] = []\n for (const v of value) {\n if (typeof v !== \"string\" || !v || seen.has(v)) continue\n seen.add(v)\n out.push(v)\n }\n return out\n}\n\n/**\n * Cap a multi-pick array at `maxSelected`, FIFO-replacing the oldest entry\n * when the array is full and a new id is added. Returns a fresh array.\n */\nexport function togglePick(\n current: ReadonlyArray<string>,\n id: string,\n maxSelected: number,\n): string[] {\n if (current.includes(id)) return current.filter((v) => v !== id)\n if (current.length < maxSelected) return [...current, id]\n // FIFO replace: drop oldest, append new\n return [...current.slice(1), id]\n}\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MODEL_CATALOG } from './chunk-C57NEO3X.js';
|
|
2
|
+
|
|
3
|
+
// src/image-model-roles.ts
|
|
4
|
+
var IMAGE_MODEL_ROLE_DEFAULTS = {
|
|
5
|
+
character: "gpt-image-2",
|
|
6
|
+
general: "gpt-image-2",
|
|
7
|
+
anchor: "gpt-image-2",
|
|
8
|
+
edit: "gpt-image-2-5-flare-i2i"
|
|
9
|
+
};
|
|
10
|
+
var IMAGE_MODEL_RATIO_FALLBACKS = {
|
|
11
|
+
character: ["gpt-image-2-5-sunburst", "nano-banana-pro"],
|
|
12
|
+
general: ["gpt-image-2-5-sunburst", "nano-banana-pro"],
|
|
13
|
+
anchor: ["gpt-image-2-5-sunburst", "nano-banana-pro"],
|
|
14
|
+
edit: ["gpt-image-2-5-sunburst-i2i", "nano-banana-pro"]
|
|
15
|
+
};
|
|
16
|
+
function imageModelDrawsRatio(modelId, aspectRatio) {
|
|
17
|
+
if (!aspectRatio) return true;
|
|
18
|
+
const ratios = MODEL_CATALOG[modelId]?.aspectRatios;
|
|
19
|
+
return ratios === void 0 || ratios.includes(aspectRatio);
|
|
20
|
+
}
|
|
21
|
+
function defaultImageModel(role, aspectRatio) {
|
|
22
|
+
const primary = IMAGE_MODEL_ROLE_DEFAULTS[role];
|
|
23
|
+
if (imageModelDrawsRatio(primary, aspectRatio)) return primary;
|
|
24
|
+
return IMAGE_MODEL_RATIO_FALLBACKS[role].find((id) => imageModelDrawsRatio(id, aspectRatio)) ?? primary;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { IMAGE_MODEL_RATIO_FALLBACKS, IMAGE_MODEL_ROLE_DEFAULTS, defaultImageModel, imageModelDrawsRatio };
|
|
28
|
+
//# sourceMappingURL=chunk-QNGNOU4Z.js.map
|
|
29
|
+
//# sourceMappingURL=chunk-QNGNOU4Z.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/image-model-roles.ts"],"names":[],"mappings":";;;AAsBO,IAAM,yBAAA,GAA4B;AAAA,EACvC,SAAA,EAAW,aAAA;AAAA,EACX,OAAA,EAAS,aAAA;AAAA,EACT,MAAA,EAAQ,aAAA;AAAA,EACR,IAAA,EAAM;AACR;AAUO,IAAM,2BAAA,GAAmF;AAAA,EAC9F,SAAA,EAAW,CAAC,wBAAA,EAA0B,iBAAiB,CAAA;AAAA,EACvD,OAAA,EAAS,CAAC,wBAAA,EAA0B,iBAAiB,CAAA;AAAA,EACrD,MAAA,EAAQ,CAAC,wBAAA,EAA0B,iBAAiB,CAAA;AAAA,EACpD,IAAA,EAAM,CAAC,4BAAA,EAA8B,iBAAiB;AACxD;AAGO,SAAS,oBAAA,CAAqB,SAAiB,WAAA,EAAsC;AAC1F,EAAA,IAAI,CAAC,aAAa,OAAO,IAAA;AACzB,EAAA,MAAM,MAAA,GAAS,aAAA,CAAc,OAAO,CAAA,EAAG,YAAA;AACvC,EAAA,OAAO,MAAA,KAAW,MAAA,IAAa,MAAA,CAAO,QAAA,CAAS,WAAW,CAAA;AAC5D;AAQO,SAAS,iBAAA,CAAkB,MAAsB,WAAA,EAAqC;AAC3F,EAAA,MAAM,OAAA,GAAU,0BAA0B,IAAI,CAAA;AAC9C,EAAA,IAAI,oBAAA,CAAqB,OAAA,EAAS,WAAW,CAAA,EAAG,OAAO,OAAA;AACvD,EAAA,OAAO,2BAAA,CAA4B,IAAI,CAAA,CAAE,IAAA,CAAK,CAAC,OAAO,oBAAA,CAAqB,EAAA,EAAI,WAAW,CAAC,CAAA,IAAK,OAAA;AAClG","file":"chunk-QNGNOU4Z.js","sourcesContent":["import { MODEL_CATALOG } from \"./model-catalog.js\"\n\n/**\n * The platform's answer to \"which image model, when the caller names none\".\n *\n * One table by ROLE, so every surface that picks for the user (node defaults,\n * route and workflow fallbacks, MCP tools, studios, pipelines) reads the same\n * model instead of keeping its own literal. Before this table those literals\n * had drifted apart: the Generate Image node started on Nano Banana Pro, the\n * routes fell back to the original Nano Banana, and MCP used Nano Banana 2.1.\n *\n * Decided on 2026-10-08 from a blind five-model comparison, quality\n * first and price second:\n * - characters, general text-to-image and video anchors on GPT Image 2;\n * - edits on GPT Image 2.5 Flare.\n * With reference images attached, GPT Image 2 runs as its i2i sibling (the\n * provider swaps it), so `character` covers identity-from-reference too.\n *\n * Nano Banana Pro is no longer a default. It remains a FALLBACK only: last in\n * the ratio chain below (it is the one model here that draws 4:5 and 5:4), the\n * GPT-family safety-block retry, and the swimwear dressing model.\n */\nexport const IMAGE_MODEL_ROLE_DEFAULTS = {\n character: \"gpt-image-2\",\n general: \"gpt-image-2\",\n anchor: \"gpt-image-2\",\n edit: \"gpt-image-2-5-flare-i2i\",\n} as const\n\nexport type ImageModelRole = keyof typeof IMAGE_MODEL_ROLE_DEFAULTS\n\n/**\n * Where a role's model goes when it cannot draw the requested aspect ratio.\n * GPT Image 2 draws only auto / 1:1 / 16:9 / 9:16 / 4:3 / 3:4, so 21:9, 3:2,\n * 2:3 and the other wide or in-between ratios move to GPT Image 2.5 Sunburst,\n * and 4:5 / 5:4 (which neither GPT generation draws) to Nano Banana Pro.\n */\nexport const IMAGE_MODEL_RATIO_FALLBACKS: Readonly<Record<ImageModelRole, readonly string[]>> = {\n character: [\"gpt-image-2-5-sunburst\", \"nano-banana-pro\"],\n general: [\"gpt-image-2-5-sunburst\", \"nano-banana-pro\"],\n anchor: [\"gpt-image-2-5-sunburst\", \"nano-banana-pro\"],\n edit: [\"gpt-image-2-5-sunburst-i2i\", \"nano-banana-pro\"],\n}\n\n/** True when the model's catalog entry lists the ratio (or no ratio was asked for). */\nexport function imageModelDrawsRatio(modelId: string, aspectRatio?: string | null): boolean {\n if (!aspectRatio) return true\n const ratios = MODEL_CATALOG[modelId]?.aspectRatios\n return ratios === undefined || ratios.includes(aspectRatio)\n}\n\n/**\n * The default image model for a role at the requested aspect ratio: the role's\n * model when it draws the ratio, else the first fallback that does, else the\n * role's model (whose own ratio normalization then snaps the ratio). Read from\n * the catalog, so widening a model's documented ratios moves this with it.\n */\nexport function defaultImageModel(role: ImageModelRole, aspectRatio?: string | null): string {\n const primary = IMAGE_MODEL_ROLE_DEFAULTS[role]\n if (imageModelDrawsRatio(primary, aspectRatio)) return primary\n return IMAGE_MODEL_RATIO_FALLBACKS[role].find((id) => imageModelDrawsRatio(id, aspectRatio)) ?? primary\n}\n"]}
|