@warmdrift/kgauto-compiler 2.0.0-alpha.10

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.
@@ -0,0 +1,14 @@
1
+ import {
2
+ ALIASES,
3
+ allProfiles,
4
+ getProfile,
5
+ profilesByProvider,
6
+ tryGetProfile
7
+ } from "./chunk-3KVKELZN.mjs";
8
+ export {
9
+ ALIASES,
10
+ allProfiles,
11
+ getProfile,
12
+ profilesByProvider,
13
+ tryGetProfile
14
+ };
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@warmdrift/kgauto-compiler",
3
+ "version": "2.0.0-alpha.10",
4
+ "description": "Prompt compiler + central learning brain for multi-model AI apps. Swap models without rewriting prompts.",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./dialect": {
15
+ "types": "./dist/dialect.d.ts",
16
+ "import": "./dist/dialect.mjs",
17
+ "require": "./dist/dialect.js"
18
+ },
19
+ "./profiles": {
20
+ "types": "./dist/profiles.d.ts",
21
+ "import": "./dist/profiles.mjs",
22
+ "require": "./dist/profiles.js"
23
+ }
24
+ },
25
+ "files": ["dist", "README.md"],
26
+ "scripts": {
27
+ "build": "tsup src/index.ts src/dialect.ts src/profiles.ts --format cjs,esm --dts --clean",
28
+ "test": "vitest run",
29
+ "test:watch": "vitest",
30
+ "typecheck": "tsc --noEmit",
31
+ "prepublishOnly": "npm run typecheck && npm run test && npm run build"
32
+ },
33
+ "keywords": [
34
+ "ai",
35
+ "llm",
36
+ "prompt-compiler",
37
+ "model-router",
38
+ "anthropic",
39
+ "openai",
40
+ "gemini",
41
+ "deepseek",
42
+ "prompt-cache",
43
+ "self-improving"
44
+ ],
45
+ "license": "MIT",
46
+ "dependencies": {},
47
+ "peerDependencies": {
48
+ "js-tiktoken": ">=1.0.0"
49
+ },
50
+ "peerDependenciesMeta": {
51
+ "js-tiktoken": { "optional": true }
52
+ },
53
+ "devDependencies": {
54
+ "@types/node": "^22.10.0",
55
+ "tsup": "^8.4.0",
56
+ "typescript": "^5.7.0",
57
+ "vitest": "^3.1.0"
58
+ }
59
+ }