byollm 0.1.0-alpha.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/LICENSE +21 -0
- package/README.md +118 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +8 -0
- package/dist/bin.js.map +1 -0
- package/dist/chunk-S5WHDSUF.js +2358 -0
- package/dist/chunk-S5WHDSUF.js.map +1 -0
- package/dist/index.d.ts +913 -0
- package/dist/index.js +65 -0
- package/dist/index.js.map +1 -0
- package/package.json +47 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Allowlist,
|
|
3
|
+
BASE_URL_REFUSAL_MESSAGES,
|
|
4
|
+
Budgets,
|
|
5
|
+
ClaudeCliBackend,
|
|
6
|
+
ClientError,
|
|
7
|
+
DAEMON_VERSION,
|
|
8
|
+
DEFAULT_CONFIG,
|
|
9
|
+
DaemonConfig,
|
|
10
|
+
IMPLEMENTED_BACKEND_IDS,
|
|
11
|
+
IngressLog,
|
|
12
|
+
OpenAiHttpBackend,
|
|
13
|
+
Pairings,
|
|
14
|
+
ProtocolClient,
|
|
15
|
+
Runner,
|
|
16
|
+
checkBaseUrl,
|
|
17
|
+
childEnv,
|
|
18
|
+
claudeArgv,
|
|
19
|
+
composePrompt,
|
|
20
|
+
connect,
|
|
21
|
+
createBackend,
|
|
22
|
+
currentPlatform,
|
|
23
|
+
daemonPaths,
|
|
24
|
+
defaultRoot,
|
|
25
|
+
hashText,
|
|
26
|
+
loadConfig,
|
|
27
|
+
main,
|
|
28
|
+
normalizeOrigin,
|
|
29
|
+
resolveConfig,
|
|
30
|
+
runCli,
|
|
31
|
+
stripControlChars
|
|
32
|
+
} from "./chunk-S5WHDSUF.js";
|
|
33
|
+
export {
|
|
34
|
+
Allowlist,
|
|
35
|
+
BASE_URL_REFUSAL_MESSAGES,
|
|
36
|
+
Budgets,
|
|
37
|
+
ClaudeCliBackend,
|
|
38
|
+
ClientError,
|
|
39
|
+
DAEMON_VERSION,
|
|
40
|
+
DEFAULT_CONFIG,
|
|
41
|
+
DaemonConfig,
|
|
42
|
+
IMPLEMENTED_BACKEND_IDS,
|
|
43
|
+
IngressLog,
|
|
44
|
+
OpenAiHttpBackend,
|
|
45
|
+
Pairings,
|
|
46
|
+
ProtocolClient,
|
|
47
|
+
Runner,
|
|
48
|
+
checkBaseUrl,
|
|
49
|
+
childEnv,
|
|
50
|
+
claudeArgv,
|
|
51
|
+
composePrompt,
|
|
52
|
+
connect,
|
|
53
|
+
createBackend,
|
|
54
|
+
currentPlatform,
|
|
55
|
+
daemonPaths,
|
|
56
|
+
defaultRoot,
|
|
57
|
+
hashText,
|
|
58
|
+
loadConfig,
|
|
59
|
+
main,
|
|
60
|
+
normalizeOrigin,
|
|
61
|
+
resolveConfig,
|
|
62
|
+
runCli,
|
|
63
|
+
stripControlChars
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "byollm",
|
|
3
|
+
"version": "0.1.0-alpha.0",
|
|
4
|
+
"description": "Bring Your Own LLM — run an app's LLM jobs on your own models. ALPHA: under active development, not for production use.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"byollm": "./dist/bin.js"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=22.12"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"zod": "^4.4.3",
|
|
27
|
+
"@byollm/protocol": "0.1.0-alpha.0"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://byo-llm.com",
|
|
33
|
+
"keywords": [
|
|
34
|
+
"llm",
|
|
35
|
+
"ollama",
|
|
36
|
+
"mlx",
|
|
37
|
+
"local-llm",
|
|
38
|
+
"byollm",
|
|
39
|
+
"daemon",
|
|
40
|
+
"runner"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsup",
|
|
44
|
+
"clean": "rm -rf dist .tsbuild",
|
|
45
|
+
"smoke": "node scripts/smoke.mjs"
|
|
46
|
+
}
|
|
47
|
+
}
|