@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.
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/{index-CBoczxz7.d.mts → index-BqjfelDP.d.mts} +1 -1
- package/dist/{index-CBoczxz7.d.ts → index-BqjfelDP.d.ts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{llm-DMR6tmkM.d.ts → llm-CFegbB6t.d.ts} +2 -2
- package/dist/{llm-UOOBXwj3.d.mts → llm-DqcdT_IC.d.mts} +2 -2
- package/dist/sync/index.d.mts +1 -1
- package/dist/sync/index.d.ts +1 -1
- package/package.json +3 -2
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import { C as ConnectionOptions, r as PatternRole,
|
|
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
|
/**
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import { C as ConnectionOptions, r as PatternRole,
|
|
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,
|
|
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,
|
|
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,
|
|
2
|
-
export {
|
|
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 {
|
|
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,
|
|
2
|
-
export {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 };
|
package/dist/sync/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
/**
|
package/dist/sync/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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.
|
|
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",
|