@zodic/shared 0.0.305 → 0.0.306

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.
@@ -729,6 +729,17 @@ export class ArchetypeService {
729
729
  }));
730
730
 
731
731
  for (const index of indexes) {
732
+ if (!english[index - 1] || !portuguese[index - 1]) {
733
+ await this.context.drizzle().insert(schema.archetypeNameDumps).values({
734
+ id: `${combination}:${index}:${Date.now()}`,
735
+ combination,
736
+ rawText: block,
737
+ parsedSuccessfully: 0,
738
+ createdAt: Date.now(),
739
+ });
740
+ console.warn(`⚠️ [Batch] Skipping index ${index} for ${combination} due to missing parsed block`);
741
+ continue;
742
+ }
732
743
  const englishEntry = english[index - 1];
733
744
  const ptEntry = portuguese[index - 1];
734
745
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.305",
3
+ "version": "0.0.306",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -211,7 +211,7 @@ For every composition, return:
211
211
  Avoid names that sound like objects, titles, or abstract forces (e.g., The Lantern, The Eclipse, The Veil).
212
212
  Instead, use names that suggest a personified being or living archetype, such as The Masked Oracle, The Starborn Seeker, or The Dancer of the Falling Sky.
213
213
 
214
- Do not include any commentary or explanations outside the defined output structure. Only return the output block for each composition.`;
214
+ Do not include any commentary or explanations outside the defined output structure. Only return the output block for each composition, exactly as described:`;
215
215
 
216
216
  const compositionBlocks = compositions.map((comp, i) => {
217
217
  const sun = influenceMap.sun[comp.sun];