@hyperfixi/patterns-reference 2.3.1 → 2.4.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/data/patterns.db +0 -0
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/{index-BqjfelDP.d.mts → index-BhzKat9K.d.mts} +1 -1
- package/dist/{index-BqjfelDP.d.ts → index-BhzKat9K.d.ts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{llm-D_Mc5Uop.d.mts → llm-4zwmAvZ8.d.mts} +1 -1
- package/dist/{llm-Cd3oNyVz.d.ts → llm-B7pwZ472.d.ts} +1 -1
- package/dist/sync/index.d.mts +1 -1
- package/dist/sync/index.d.ts +1 -1
- package/package.json +2 -2
package/data/patterns.db
ADDED
|
Binary file
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, e as getExamplesByCommand, f as getHighConfidenceTranslations, h as getHighQualityExamples, i as getLLMExamples, j as getLLMStats, k as getMostUsedExamples, l as getPatternById, m as getPatternStats, n as getPatternsByCategory, o as getPatternsByCommand, p as getTranslation, q as getTranslationStats, r as getTranslationsByLanguage, s as getVerifiedTranslations, t as getWordOrder, u as searchPatterns, v as updateQualityScore, w as verifyTranslation } from '../llm-
|
|
2
|
-
import {
|
|
1
|
+
export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, e as getExamplesByCommand, f as getHighConfidenceTranslations, h as getHighQualityExamples, i as getLLMExamples, j as getLLMStats, k as getMostUsedExamples, l as getPatternById, m as getPatternStats, n as getPatternsByCategory, o as getPatternsByCommand, p as getTranslation, q as getTranslationStats, r as getTranslationsByLanguage, s as getVerifiedTranslations, t as getWordOrder, u as searchPatterns, v as updateQualityScore, w as verifyTranslation } from '../llm-4zwmAvZ8.mjs';
|
|
2
|
+
import { c as ConnectionOptions, i as PatternRole, P as Pattern, R as RoleType } from '../index-BhzKat9K.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 { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, e as getExamplesByCommand, f as getHighConfidenceTranslations, h as getHighQualityExamples, i as getLLMExamples, j as getLLMStats, k as getMostUsedExamples, l as getPatternById, m as getPatternStats, n as getPatternsByCategory, o as getPatternsByCommand, p as getTranslation, q as getTranslationStats, r as getTranslationsByLanguage, s as getVerifiedTranslations, t as getWordOrder, u as searchPatterns, v as updateQualityScore, w as verifyTranslation } from '../llm-
|
|
2
|
-
import {
|
|
1
|
+
export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, e as getExamplesByCommand, f as getHighConfidenceTranslations, h as getHighQualityExamples, i as getLLMExamples, j as getLLMStats, k as getMostUsedExamples, l as getPatternById, m as getPatternStats, n as getPatternsByCategory, o as getPatternsByCommand, p as getTranslation, q as getTranslationStats, r as getTranslationsByLanguage, s as getVerifiedTranslations, t as getWordOrder, u as searchPatterns, v as updateQualityScore, w as verifyTranslation } from '../llm-B7pwZ472.js';
|
|
2
|
+
import { c as ConnectionOptions, i as PatternRole, P as Pattern, R as RoleType } from '../index-BhzKat9K.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 {
|
|
296
|
+
export type { ClassifiedPattern as C, DiscoveryResult as D, EngineCompat as E, Feature as F, Keyword as K, LLMExample as L, Pattern as P, RoleType as R, SearchOptions as S, TestOptions as T, ValidationOptions as V, WordOrder as W, Command as a, ComplexityLevel as b, ConnectionOptions as c, Expression as d, ExpressionOperator as e, LanguageDocsStats as f, LanguageElement as g, LanguageElementType as h, PatternRole as i, PatternStats as j, PatternsReference as k, SpecialSymbol as l, SyncOptions as m, SyncResult as n, Translation as o, TranslationMethod as p, ValidationResult as q, VerificationResult as r };
|
|
@@ -293,4 +293,4 @@ interface PatternsReference {
|
|
|
293
293
|
close(): void;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
export type {
|
|
296
|
+
export type { ClassifiedPattern as C, DiscoveryResult as D, EngineCompat as E, Feature as F, Keyword as K, LLMExample as L, Pattern as P, RoleType as R, SearchOptions as S, TestOptions as T, ValidationOptions as V, WordOrder as W, Command as a, ComplexityLevel as b, ConnectionOptions as c, Expression as d, ExpressionOperator as e, LanguageDocsStats as f, LanguageElement as g, LanguageElementType as h, PatternRole as i, PatternStats as j, PatternsReference as k, SpecialSymbol as l, SyncOptions as m, SyncResult as n, Translation as o, TranslationMethod as p, ValidationResult as q, VerificationResult as r };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { c as ConnectionOptions, a as Command, d as Expression, F as Feature, K as Keyword, l as SpecialSymbol, f as LanguageDocsStats, h as LanguageElementType, g as LanguageElement, L as LLMExample, k as PatternsReference } from './index-BhzKat9K.mjs';
|
|
2
|
+
export { C as ClassifiedPattern, b as ComplexityLevel, D as DiscoveryResult, E as EngineCompat, e as ExpressionOperator, P as Pattern, j as PatternStats, S as SearchOptions, m as SyncOptions, n as SyncResult, T as TestOptions, o as Translation, p as TranslationMethod, V as ValidationOptions, q as ValidationResult, r as VerificationResult, W as WordOrder } from './index-BhzKat9K.mjs';
|
|
3
3
|
import Database from 'better-sqlite3';
|
|
4
|
-
export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, d as getBehaviorPatterns, e as getExamplesByCommand, f as getHighConfidenceTranslations, h as getHighQualityExamples, i as getLLMExamples, j as getLLMStats, k as getMostUsedExamples, l as getPatternById, m as getPatternStats, n as getPatternsByCategory, o as getPatternsByCommand, p as getTranslation, q as getTranslationStats, r as getTranslationsByLanguage, s as getVerifiedTranslations, t as getWordOrder, u as searchPatterns, v as updateQualityScore, w as verifyTranslation } from './llm-
|
|
4
|
+
export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, d as getBehaviorPatterns, e as getExamplesByCommand, f as getHighConfidenceTranslations, h as getHighQualityExamples, i as getLLMExamples, j as getLLMStats, k as getMostUsedExamples, l as getPatternById, m as getPatternStats, n as getPatternsByCategory, o as getPatternsByCommand, p as getTranslation, q as getTranslationStats, r as getTranslationsByLanguage, s as getVerifiedTranslations, t as getWordOrder, u as searchPatterns, v as updateQualityScore, w as verifyTranslation } from './llm-4zwmAvZ8.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 {
|
|
2
|
-
export {
|
|
1
|
+
import { c as ConnectionOptions, a as Command, d as Expression, F as Feature, K as Keyword, l as SpecialSymbol, f as LanguageDocsStats, h as LanguageElementType, g as LanguageElement, L as LLMExample, k as PatternsReference } from './index-BhzKat9K.js';
|
|
2
|
+
export { C as ClassifiedPattern, b as ComplexityLevel, D as DiscoveryResult, E as EngineCompat, e as ExpressionOperator, P as Pattern, j as PatternStats, S as SearchOptions, m as SyncOptions, n as SyncResult, T as TestOptions, o as Translation, p as TranslationMethod, V as ValidationOptions, q as ValidationResult, r as VerificationResult, W as WordOrder } from './index-BhzKat9K.js';
|
|
3
3
|
import Database from 'better-sqlite3';
|
|
4
|
-
export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, d as getBehaviorPatterns, e as getExamplesByCommand, f as getHighConfidenceTranslations, h as getHighQualityExamples, i as getLLMExamples, j as getLLMStats, k as getMostUsedExamples, l as getPatternById, m as getPatternStats, n as getPatternsByCategory, o as getPatternsByCommand, p as getTranslation, q as getTranslationStats, r as getTranslationsByLanguage, s as getVerifiedTranslations, t as getWordOrder, u as searchPatterns, v as updateQualityScore, w as verifyTranslation } from './llm-
|
|
4
|
+
export { a as addLLMExample, b as buildFewShotContext, g as getAllPatterns, c as getAllTranslations, d as getBehaviorPatterns, e as getExamplesByCommand, f as getHighConfidenceTranslations, h as getHighQualityExamples, i as getLLMExamples, j as getLLMStats, k as getMostUsedExamples, l as getPatternById, m as getPatternStats, n as getPatternsByCategory, o as getPatternsByCommand, p as getTranslation, q as getTranslationStats, r as getTranslationsByLanguage, s as getVerifiedTranslations, t as getWordOrder, u as searchPatterns, v as updateQualityScore, w as verifyTranslation } from './llm-B7pwZ472.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 { S as SearchOptions, c as ConnectionOptions, P as Pattern, j as PatternStats, o as Translation, W as WordOrder, r as VerificationResult, L as LLMExample } from './index-BhzKat9K.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Pattern Queries API
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as SearchOptions, c as ConnectionOptions, P as Pattern, j as PatternStats, o as Translation, W as WordOrder, r as VerificationResult, L as LLMExample } from './index-BhzKat9K.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Pattern Queries API
|
package/dist/sync/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DiscoveryResult,
|
|
1
|
+
import { D as DiscoveryResult, m as SyncOptions, n as SyncResult, V as ValidationOptions, q as ValidationResult } from '../index-BhzKat9K.mjs';
|
|
2
2
|
import '@lokascript/semantic';
|
|
3
3
|
|
|
4
4
|
/**
|
package/dist/sync/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DiscoveryResult,
|
|
1
|
+
import { D as DiscoveryResult, m as SyncOptions, n as SyncResult, V as ValidationOptions, q as ValidationResult } from '../index-BhzKat9K.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.4.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",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"tsup": "^8.0.0",
|
|
78
78
|
"tsx": "^4.0.0",
|
|
79
79
|
"typescript": "^5.0.0",
|
|
80
|
-
"vitest": "^4.
|
|
80
|
+
"vitest": "^4.1.5"
|
|
81
81
|
},
|
|
82
82
|
"files": [
|
|
83
83
|
"dist",
|