@hyperfixi/patterns-reference 2.0.0 → 2.1.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.
@@ -1,5 +1,5 @@
1
- export { r as addLLMExample, q as buildFewShotContext, c as getAllPatterns, f as getAllTranslations, n as getExamplesByCommand, j as getHighConfidenceTranslations, o as getHighQualityExamples, m as getLLMExamples, t as getLLMStats, p as getMostUsedExamples, g as getPatternById, d as getPatternStats, a as getPatternsByCategory, b as getPatternsByCommand, e as getTranslation, k as getTranslationStats, h as getTranslationsByLanguage, i as getVerifiedTranslations, l as getWordOrder, s as searchPatterns, u as updateQualityScore, v as verifyTranslation } from '../llm-UOOBXwj3.mjs';
2
- import { C as ConnectionOptions, r as PatternRole, e as Pattern, R as RoleType } from '../index-CBoczxz7.mjs';
1
+ export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, d as getExamplesByCommand, e as getHighConfidenceTranslations, f as getHighQualityExamples, h as getLLMExamples, i as getLLMStats, j as getMostUsedExamples, k as getPatternById, l as getPatternStats, m as getPatternsByCategory, n as getPatternsByCommand, o as getTranslation, p as getTranslationStats, q as getTranslationsByLanguage, r as getVerifiedTranslations, s as getWordOrder, t as searchPatterns, u as updateQualityScore, v as verifyTranslation } from '../llm-DqcdT_IC.mjs';
2
+ import { C as ConnectionOptions, r as PatternRole, i as Pattern, R as RoleType } from '../index-BqjfelDP.mjs';
3
3
  import { SemanticRole } from '@lokascript/semantic';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
- export { r as addLLMExample, q as buildFewShotContext, c as getAllPatterns, f as getAllTranslations, n as getExamplesByCommand, j as getHighConfidenceTranslations, o as getHighQualityExamples, m as getLLMExamples, t as getLLMStats, p as getMostUsedExamples, g as getPatternById, d as getPatternStats, a as getPatternsByCategory, b as getPatternsByCommand, e as getTranslation, k as getTranslationStats, h as getTranslationsByLanguage, i as getVerifiedTranslations, l as getWordOrder, s as searchPatterns, u as updateQualityScore, v as verifyTranslation } from '../llm-DMR6tmkM.js';
2
- import { C as ConnectionOptions, r as PatternRole, e as Pattern, R as RoleType } from '../index-CBoczxz7.js';
1
+ export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, d as getExamplesByCommand, e as getHighConfidenceTranslations, f as getHighQualityExamples, h as getLLMExamples, i as getLLMStats, j as getMostUsedExamples, k as getPatternById, l as getPatternStats, m as getPatternsByCategory, n as getPatternsByCommand, o as getTranslation, p as getTranslationStats, q as getTranslationsByLanguage, r as getVerifiedTranslations, s as getWordOrder, t as searchPatterns, u as updateQualityScore, v as verifyTranslation } from '../llm-CFegbB6t.js';
2
+ import { C as ConnectionOptions, r as PatternRole, i as Pattern, R as RoleType } from '../index-BqjfelDP.js';
3
3
  import { SemanticRole } from '@lokascript/semantic';
4
4
 
5
5
  /**
@@ -293,4 +293,4 @@ interface PatternsReference {
293
293
  close(): void;
294
294
  }
295
295
 
296
- export type { ConnectionOptions as C, DiscoveryResult as D, Expression as E, Feature as F, Keyword as K, LanguageElementType as L, PatternsReference as P, RoleType as R, SpecialSymbol as S, Translation as T, VerificationResult as V, WordOrder as W, Command as a, LanguageElement as b, LanguageDocsStats as c, LLMExample as d, Pattern as e, ClassifiedPattern as f, ComplexityLevel as g, EngineCompat as h, TranslationMethod as i, ExpressionOperator as j, SearchOptions as k, TestOptions as l, PatternStats as m, SyncOptions as n, SyncResult as o, ValidationOptions as p, ValidationResult as q, PatternRole as r };
296
+ export type { ConnectionOptions as C, DiscoveryResult as D, Expression as E, Feature as F, Keyword as K, LanguageDocsStats as L, PatternsReference as P, RoleType as R, SpecialSymbol as S, TestOptions as T, ValidationOptions as V, WordOrder as W, Command as a, LanguageElementType as b, LanguageElement as c, LLMExample as d, ClassifiedPattern as e, ComplexityLevel as f, EngineCompat as g, ExpressionOperator as h, Pattern as i, PatternStats as j, SearchOptions as k, SyncOptions as l, SyncResult as m, Translation as n, TranslationMethod as o, ValidationResult as p, VerificationResult as q, PatternRole as r };
@@ -293,4 +293,4 @@ interface PatternsReference {
293
293
  close(): void;
294
294
  }
295
295
 
296
- export type { ConnectionOptions as C, DiscoveryResult as D, Expression as E, Feature as F, Keyword as K, LanguageElementType as L, PatternsReference as P, RoleType as R, SpecialSymbol as S, Translation as T, VerificationResult as V, WordOrder as W, Command as a, LanguageElement as b, LanguageDocsStats as c, LLMExample as d, Pattern as e, ClassifiedPattern as f, ComplexityLevel as g, EngineCompat as h, TranslationMethod as i, ExpressionOperator as j, SearchOptions as k, TestOptions as l, PatternStats as m, SyncOptions as n, SyncResult as o, ValidationOptions as p, ValidationResult as q, PatternRole as r };
296
+ export type { ConnectionOptions as C, DiscoveryResult as D, Expression as E, Feature as F, Keyword as K, LanguageDocsStats as L, PatternsReference as P, RoleType as R, SpecialSymbol as S, TestOptions as T, ValidationOptions as V, WordOrder as W, Command as a, LanguageElementType as b, LanguageElement as c, LLMExample as d, ClassifiedPattern as e, ComplexityLevel as f, EngineCompat as g, ExpressionOperator as h, Pattern as i, PatternStats as j, SearchOptions as k, SyncOptions as l, SyncResult as m, Translation as n, TranslationMethod as o, ValidationResult as p, VerificationResult as q, PatternRole as r };
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { C as ConnectionOptions, a as Command, E as Expression, K as Keyword, F as Feature, S as SpecialSymbol, L as LanguageElementType, b as LanguageElement, c as LanguageDocsStats, d as LLMExample, P as PatternsReference } from './index-CBoczxz7.mjs';
2
- export { f as ClassifiedPattern, g as ComplexityLevel, D as DiscoveryResult, h as EngineCompat, j as ExpressionOperator, e as Pattern, m as PatternStats, k as SearchOptions, n as SyncOptions, o as SyncResult, l as TestOptions, T as Translation, i as TranslationMethod, p as ValidationOptions, q as ValidationResult, V as VerificationResult, W as WordOrder } from './index-CBoczxz7.mjs';
1
+ import { C as ConnectionOptions, a as Command, E as Expression, F as Feature, K as Keyword, S as SpecialSymbol, L as LanguageDocsStats, b as LanguageElementType, c as LanguageElement, d as LLMExample, P as PatternsReference } from './index-BqjfelDP.mjs';
2
+ export { e as ClassifiedPattern, f as ComplexityLevel, D as DiscoveryResult, g as EngineCompat, h as ExpressionOperator, i as Pattern, j as PatternStats, k as SearchOptions, l as SyncOptions, m as SyncResult, T as TestOptions, n as Translation, o as TranslationMethod, V as ValidationOptions, p as ValidationResult, q as VerificationResult, W as WordOrder } from './index-BqjfelDP.mjs';
3
3
  import Database from 'better-sqlite3';
4
- export { r as addLLMExample, q as buildFewShotContext, c as getAllPatterns, f as getAllTranslations, n as getExamplesByCommand, j as getHighConfidenceTranslations, o as getHighQualityExamples, m as getLLMExamples, t as getLLMStats, p as getMostUsedExamples, g as getPatternById, d as getPatternStats, a as getPatternsByCategory, b as getPatternsByCommand, e as getTranslation, k as getTranslationStats, h as getTranslationsByLanguage, i as getVerifiedTranslations, l as getWordOrder, s as searchPatterns, u as updateQualityScore, v as verifyTranslation } from './llm-UOOBXwj3.mjs';
4
+ export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, d as getExamplesByCommand, e as getHighConfidenceTranslations, f as getHighQualityExamples, h as getLLMExamples, i as getLLMStats, j as getMostUsedExamples, k as getPatternById, l as getPatternStats, m as getPatternsByCategory, n as getPatternsByCommand, o as getTranslation, p as getTranslationStats, q as getTranslationsByLanguage, r as getVerifiedTranslations, s as getWordOrder, t as searchPatterns, u as updateQualityScore, v as verifyTranslation } from './llm-DqcdT_IC.mjs';
5
5
  export { discoverPatterns, seedLLMExamples, syncTranslations, validateAllTranslations } from './sync/index.mjs';
6
6
  import '@lokascript/semantic';
7
7
 
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { C as ConnectionOptions, a as Command, E as Expression, K as Keyword, F as Feature, S as SpecialSymbol, L as LanguageElementType, b as LanguageElement, c as LanguageDocsStats, d as LLMExample, P as PatternsReference } from './index-CBoczxz7.js';
2
- export { f as ClassifiedPattern, g as ComplexityLevel, D as DiscoveryResult, h as EngineCompat, j as ExpressionOperator, e as Pattern, m as PatternStats, k as SearchOptions, n as SyncOptions, o as SyncResult, l as TestOptions, T as Translation, i as TranslationMethod, p as ValidationOptions, q as ValidationResult, V as VerificationResult, W as WordOrder } from './index-CBoczxz7.js';
1
+ import { C as ConnectionOptions, a as Command, E as Expression, F as Feature, K as Keyword, S as SpecialSymbol, L as LanguageDocsStats, b as LanguageElementType, c as LanguageElement, d as LLMExample, P as PatternsReference } from './index-BqjfelDP.js';
2
+ export { e as ClassifiedPattern, f as ComplexityLevel, D as DiscoveryResult, g as EngineCompat, h as ExpressionOperator, i as Pattern, j as PatternStats, k as SearchOptions, l as SyncOptions, m as SyncResult, T as TestOptions, n as Translation, o as TranslationMethod, V as ValidationOptions, p as ValidationResult, q as VerificationResult, W as WordOrder } from './index-BqjfelDP.js';
3
3
  import Database from 'better-sqlite3';
4
- export { r as addLLMExample, q as buildFewShotContext, c as getAllPatterns, f as getAllTranslations, n as getExamplesByCommand, j as getHighConfidenceTranslations, o as getHighQualityExamples, m as getLLMExamples, t as getLLMStats, p as getMostUsedExamples, g as getPatternById, d as getPatternStats, a as getPatternsByCategory, b as getPatternsByCommand, e as getTranslation, k as getTranslationStats, h as getTranslationsByLanguage, i as getVerifiedTranslations, l as getWordOrder, s as searchPatterns, u as updateQualityScore, v as verifyTranslation } from './llm-DMR6tmkM.js';
4
+ export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, d as getExamplesByCommand, e as getHighConfidenceTranslations, f as getHighQualityExamples, h as getLLMExamples, i as getLLMStats, j as getMostUsedExamples, k as getPatternById, l as getPatternStats, m as getPatternsByCategory, n as getPatternsByCommand, o as getTranslation, p as getTranslationStats, q as getTranslationsByLanguage, r as getVerifiedTranslations, s as getWordOrder, t as searchPatterns, u as updateQualityScore, v as verifyTranslation } from './llm-CFegbB6t.js';
5
5
  export { discoverPatterns, seedLLMExamples, syncTranslations, validateAllTranslations } from './sync/index.js';
6
6
  import '@lokascript/semantic';
7
7
 
@@ -1,4 +1,4 @@
1
- import { C as ConnectionOptions, e as Pattern, k as SearchOptions, m as PatternStats, T as Translation, V as VerificationResult, W as WordOrder, d as LLMExample } from './index-CBoczxz7.js';
1
+ import { k as SearchOptions, C as ConnectionOptions, i as Pattern, j as PatternStats, n as Translation, W as WordOrder, q as VerificationResult, d as LLMExample } from './index-BqjfelDP.js';
2
2
 
3
3
  /**
4
4
  * Pattern Queries API
@@ -120,4 +120,4 @@ declare function getLLMStats(options?: ConnectionOptions): Promise<{
120
120
  totalUsage: number;
121
121
  }>;
122
122
 
123
- export { getPatternsByCategory as a, getPatternsByCommand as b, getAllPatterns as c, getPatternStats as d, getTranslation as e, getAllTranslations as f, getPatternById as g, getTranslationsByLanguage as h, getVerifiedTranslations as i, getHighConfidenceTranslations as j, getTranslationStats as k, getWordOrder as l, getLLMExamples as m, getExamplesByCommand as n, getHighQualityExamples as o, getMostUsedExamples as p, buildFewShotContext as q, addLLMExample as r, searchPatterns as s, getLLMStats as t, updateQualityScore as u, verifyTranslation as v };
123
+ export { addLLMExample as a, buildFewShotContext as b, getAllTranslations as c, getExamplesByCommand as d, getHighConfidenceTranslations as e, getHighQualityExamples as f, getAllPatterns as g, getLLMExamples as h, getLLMStats as i, getMostUsedExamples as j, getPatternById as k, getPatternStats as l, getPatternsByCategory as m, getPatternsByCommand as n, getTranslation as o, getTranslationStats as p, getTranslationsByLanguage as q, getVerifiedTranslations as r, getWordOrder as s, searchPatterns as t, updateQualityScore as u, verifyTranslation as v };
@@ -1,4 +1,4 @@
1
- import { C as ConnectionOptions, e as Pattern, k as SearchOptions, m as PatternStats, T as Translation, V as VerificationResult, W as WordOrder, d as LLMExample } from './index-CBoczxz7.mjs';
1
+ import { k as SearchOptions, C as ConnectionOptions, i as Pattern, j as PatternStats, n as Translation, W as WordOrder, q as VerificationResult, d as LLMExample } from './index-BqjfelDP.mjs';
2
2
 
3
3
  /**
4
4
  * Pattern Queries API
@@ -120,4 +120,4 @@ declare function getLLMStats(options?: ConnectionOptions): Promise<{
120
120
  totalUsage: number;
121
121
  }>;
122
122
 
123
- export { getPatternsByCategory as a, getPatternsByCommand as b, getAllPatterns as c, getPatternStats as d, getTranslation as e, getAllTranslations as f, getPatternById as g, getTranslationsByLanguage as h, getVerifiedTranslations as i, getHighConfidenceTranslations as j, getTranslationStats as k, getWordOrder as l, getLLMExamples as m, getExamplesByCommand as n, getHighQualityExamples as o, getMostUsedExamples as p, buildFewShotContext as q, addLLMExample as r, searchPatterns as s, getLLMStats as t, updateQualityScore as u, verifyTranslation as v };
123
+ export { addLLMExample as a, buildFewShotContext as b, getAllTranslations as c, getExamplesByCommand as d, getHighConfidenceTranslations as e, getHighQualityExamples as f, getAllPatterns as g, getLLMExamples as h, getLLMStats as i, getMostUsedExamples as j, getPatternById as k, getPatternStats as l, getPatternsByCategory as m, getPatternsByCommand as n, getTranslation as o, getTranslationStats as p, getTranslationsByLanguage as q, getVerifiedTranslations as r, getWordOrder as s, searchPatterns as t, updateQualityScore as u, verifyTranslation as v };
@@ -1,4 +1,4 @@
1
- import { n as SyncOptions, o as SyncResult, p as ValidationOptions, q as ValidationResult, D as DiscoveryResult } from '../index-CBoczxz7.mjs';
1
+ import { D as DiscoveryResult, l as SyncOptions, m as SyncResult, V as ValidationOptions, p as ValidationResult } from '../index-BqjfelDP.mjs';
2
2
  import '@lokascript/semantic';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { n as SyncOptions, o as SyncResult, p as ValidationOptions, q as ValidationResult, D as DiscoveryResult } from '../index-CBoczxz7.js';
1
+ import { D as DiscoveryResult, l as SyncOptions, m as SyncResult, V as ValidationOptions, p as ValidationResult } from '../index-BqjfelDP.js';
2
2
  import '@lokascript/semantic';
3
3
 
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperfixi/patterns-reference",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Queryable patterns database for hyperscript with multilingual translations and LLM support",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -41,7 +41,8 @@
41
41
  "verify:verbose": "tsx scripts/verify-translations.ts --verbose",
42
42
  "verify:engine": "tsx scripts/verify-engine-compat.ts",
43
43
  "verify:engine:verbose": "tsx scripts/verify-engine-compat.ts --verbose",
44
- "verify:engine:dry-run": "tsx scripts/verify-engine-compat.ts --dry-run --verbose"
44
+ "verify:engine:dry-run": "tsx scripts/verify-engine-compat.ts --dry-run --verbose",
45
+ "test:check": "vitest run --reporter=dot 2>&1 | tail -5"
45
46
  },
46
47
  "keywords": [
47
48
  "hyperscript",