loclaude 0.0.2 → 0.0.3
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/CHANGELOG.md +19 -0
- package/README.md +2 -0
- package/package.json +10 -9
- package/libs/cli/CHANGELOG.md +0 -59
- package/libs/cli/LICENSE +0 -31
- package/libs/cli/README.md +0 -5
- package/libs/cli/dist/cac.d.ts +0 -6
- package/libs/cli/dist/cac.d.ts.map +0 -1
- package/libs/cli/dist/commands/config.d.ts +0 -6
- package/libs/cli/dist/commands/config.d.ts.map +0 -1
- package/libs/cli/dist/commands/docker.d.ts +0 -17
- package/libs/cli/dist/commands/docker.d.ts.map +0 -1
- package/libs/cli/dist/commands/doctor.d.ts +0 -9
- package/libs/cli/dist/commands/doctor.d.ts.map +0 -1
- package/libs/cli/dist/commands/index.d.ts +0 -6
- package/libs/cli/dist/commands/index.d.ts.map +0 -1
- package/libs/cli/dist/commands/init.d.ts +0 -11
- package/libs/cli/dist/commands/init.d.ts.map +0 -1
- package/libs/cli/dist/commands/models.d.ts +0 -9
- package/libs/cli/dist/commands/models.d.ts.map +0 -1
- package/libs/cli/dist/config.d.ts +0 -74
- package/libs/cli/dist/config.d.ts.map +0 -1
- package/libs/cli/dist/constants.d.ts +0 -12
- package/libs/cli/dist/constants.d.ts.map +0 -1
- package/libs/cli/dist/index.bun.js +0 -4349
- package/libs/cli/dist/index.bun.js.map +0 -55
- package/libs/cli/dist/index.d.ts +0 -2
- package/libs/cli/dist/index.d.ts.map +0 -1
- package/libs/cli/dist/index.js +0 -4352
- package/libs/cli/dist/index.js.map +0 -55
- package/libs/cli/dist/output.d.ts +0 -107
- package/libs/cli/dist/output.d.ts.map +0 -1
- package/libs/cli/dist/spawn.d.ts +0 -35
- package/libs/cli/dist/spawn.d.ts.map +0 -1
- package/libs/cli/dist/types.d.ts +0 -50
- package/libs/cli/dist/types.d.ts.map +0 -1
- package/libs/cli/dist/utils.d.ts +0 -32
- package/libs/cli/dist/utils.d.ts.map +0 -1
- package/libs/cli/package.json +0 -90
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.0.3] - 2025-01-22
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added docs links to README.md
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Removes `libs` from `package.json#files` array
|
|
19
|
+
- Changes publish tag from `alpha` to `latest`
|
|
20
|
+
- Running `loclaude` with no commands now prints the help message.
|
|
21
|
+
|
|
22
|
+
## [0.0.2] - 2025-01-22
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- Adds Ollama Version check (>= 0.14.2) to `doctor` command
|
|
27
|
+
- Pins to version v0.0.2 of `@loclaude-internal/cli`
|
|
28
|
+
|
|
10
29
|
## [0.0.1-alpha.3] - 2025-01-21
|
|
11
30
|
|
|
12
31
|
### Added
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "loclaude",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Claude Code with local Ollama LLMs - Zero API costs, no rate limits, complete privacy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "./LICENSE",
|
|
@@ -41,15 +41,13 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public",
|
|
43
43
|
"registry": "https://registry.npmjs.org/",
|
|
44
|
-
"tag": "
|
|
44
|
+
"tag": "latest"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
".claude/CLAUDE.md",
|
|
48
48
|
"bin",
|
|
49
49
|
"dist",
|
|
50
50
|
"docker/docker-compose.yml",
|
|
51
|
-
"libs/cli/package.json",
|
|
52
|
-
"libs/cli/dist",
|
|
53
51
|
"README.md",
|
|
54
52
|
"CHANGELOG.md",
|
|
55
53
|
"LICENSE"
|
|
@@ -73,13 +71,15 @@
|
|
|
73
71
|
"test": "bun test libs/cli",
|
|
74
72
|
"prerelease-check": "./scripts/prerelease-check.sh",
|
|
75
73
|
"prepublishOnly": "bun run build",
|
|
76
|
-
"
|
|
77
|
-
"release
|
|
78
|
-
"release:
|
|
79
|
-
"release:
|
|
74
|
+
"prerelease": "run-s test build prerelease-check",
|
|
75
|
+
"release": "npm publish --access public",
|
|
76
|
+
"release:rc": "npm publish --tag rc --access public",
|
|
77
|
+
"release:alpha": "npm publish --tag alpha --access public",
|
|
78
|
+
"release:beta": "npm publish --tag beta --access public",
|
|
79
|
+
"postrelease": "./scripts/tag.sh $(jq -r .version package.json)"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@loclaude-internal/cli": "^0.0.
|
|
82
|
+
"@loclaude-internal/cli": "^0.0.3"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"typescript": "^5"
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"eslint": "^9.39.2",
|
|
98
98
|
"globals": "^17.0.0",
|
|
99
99
|
"jiti": "^2.6.1",
|
|
100
|
+
"npm-run-all": "^4.1.5",
|
|
100
101
|
"prettier": "^3.8.0",
|
|
101
102
|
"turbo": "^2.7.5",
|
|
102
103
|
"typescript-eslint": "^8.53.1"
|
package/libs/cli/CHANGELOG.md
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [Unreleased]
|
|
9
|
-
|
|
10
|
-
## [0.0.1-alpha.2] - 2025-01-20
|
|
11
|
-
|
|
12
|
-
### Added
|
|
13
|
-
|
|
14
|
-
- Adds support for CPU Only Ollama Hosts
|
|
15
|
-
|
|
16
|
-
### Changed
|
|
17
|
-
|
|
18
|
-
- Modifies documentation on output files from `init` command
|
|
19
|
-
|
|
20
|
-
## [0.0.1-alpha.1] - 2025-01-19
|
|
21
|
-
|
|
22
|
-
### Added
|
|
23
|
-
|
|
24
|
-
- **CLI Commands**
|
|
25
|
-
- `loclaude run` - Run Claude Code with local Ollama (interactive model selection)
|
|
26
|
-
- `loclaude init` - Scaffold docker-compose.yml, config, and mise.toml
|
|
27
|
-
- `loclaude doctor` - Check system prerequisites (Docker, GPU, Claude CLI)
|
|
28
|
-
- `loclaude config` / `loclaude config-paths` - View configuration
|
|
29
|
-
- `loclaude docker-up/down/status/logs/restart` - Docker container management
|
|
30
|
-
- `loclaude models` - List installed Ollama models
|
|
31
|
-
- `loclaude models-pull/rm/show/run` - Model management commands
|
|
32
|
-
|
|
33
|
-
- **Configuration System**
|
|
34
|
-
- Project-local config: `./.loclaude/config.json`
|
|
35
|
-
- User global config: `~/.config/loclaude/config.json`
|
|
36
|
-
- Environment variable support (`OLLAMA_URL`, `OLLAMA_MODEL`, etc.)
|
|
37
|
-
- Layered config merging with clear priority
|
|
38
|
-
|
|
39
|
-
- **Cross-Runtime Support**
|
|
40
|
-
- Works with both Bun and Node.js runtimes
|
|
41
|
-
- Dual entry points: `bin/index.ts` (Bun) and `bin/index.mjs` (Node)
|
|
42
|
-
|
|
43
|
-
- **Docker Integration**
|
|
44
|
-
- Bundled docker-compose.yml template with Ollama + Open WebUI
|
|
45
|
-
- NVIDIA GPU support out of the box
|
|
46
|
-
- Health checks for both services
|
|
47
|
-
|
|
48
|
-
- **Project Scaffolding**
|
|
49
|
-
- `loclaude init` creates complete project structure
|
|
50
|
-
- Generates mise.toml with task aliases
|
|
51
|
-
- Creates .claude/CLAUDE.md for Claude Code instructions
|
|
52
|
-
- Sets up .gitignore for model directory
|
|
53
|
-
|
|
54
|
-
### Notes
|
|
55
|
-
|
|
56
|
-
This is an alpha release. The API and command structure may change before 1.0.
|
|
57
|
-
|
|
58
|
-
[Unreleased]: https://github.com/nicholasgalante1997/loclaude/compare/v0.0.1-rc.1...HEAD
|
|
59
|
-
[0.0.1-alpha.1]: https://github.com/nicholasgalante1997/loclaude/releases/tag/v0.0.1-alpha.1
|
package/libs/cli/LICENSE
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Mega Blastoise
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
Addendum, January 19, 2026
|
|
26
|
-
|
|
27
|
-
This package leverages the [Bun](bun.sh) shell to run shell commands on behalf of the end user.
|
|
28
|
-
|
|
29
|
-
In an ideal world, I don't have to write this addendum. In this world, I do.
|
|
30
|
-
|
|
31
|
-
If you pass unsanitized input into this command line tool, all bets are off. I'll make no guarantees on your behalf about behavior or safety. I'll personally never talk to you in real life. May god have mercy on your soul.
|
package/libs/cli/README.md
DELETED
package/libs/cli/dist/cac.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cac.d.ts","sourceRoot":"","sources":["../lib/cac.ts"],"names":[],"mappings":"AAqBA,QAAA,MAAM,GAAG,mBAAkB,CAAC;AAsI5B,eAAO,MAAM,IAAI,YAAyB,CAAC;AAC3C,eAAO,MAAM,OAAO,YAA4B,CAAC;AAEjD,eAAO,MAAM,OAAO,QAAO,IAE1B,CAAC;AAEF,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../lib/commands/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAmChD;AAED,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CA6BjD"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* docker command - Manage Docker containers
|
|
3
|
-
*/
|
|
4
|
-
export interface DockerOptions {
|
|
5
|
-
file?: string;
|
|
6
|
-
detach?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function dockerUp(options?: DockerOptions): Promise<void>;
|
|
9
|
-
export declare function dockerDown(options?: DockerOptions): Promise<void>;
|
|
10
|
-
export declare function dockerStatus(options?: DockerOptions): Promise<void>;
|
|
11
|
-
export declare function dockerLogs(options?: DockerOptions & {
|
|
12
|
-
follow?: boolean;
|
|
13
|
-
service?: string;
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
export declare function dockerRestart(options?: DockerOptions): Promise<void>;
|
|
16
|
-
export declare function dockerExec(service: string, command: string[], options?: DockerOptions): Promise<number>;
|
|
17
|
-
//# sourceMappingURL=docker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"docker.d.ts","sourceRoot":"","sources":["../../lib/commands/docker.ts"],"names":[],"mappings":"AAAA;;GAEG;AAiEH,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAeD,wBAAsB,QAAQ,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAoBzE;AAED,wBAAsB,UAAU,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAW3E;AAED,wBAAsB,YAAY,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAK7E;AAED,wBAAsB,UAAU,CAC9B,OAAO,GAAE,aAAa,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAO,GACnE,OAAO,CAAC,IAAI,CAAC,CAiBf;AAED,wBAAsB,aAAa,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAW9E;AAED,wBAAsB,UAAU,CAC9B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,GAAE,aAAkB,GAC1B,OAAO,CAAC,MAAM,CAAC,CAWjB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* doctor command - Check prerequisites and system health
|
|
3
|
-
*/
|
|
4
|
-
export declare function doctor(): Promise<void>;
|
|
5
|
-
/**
|
|
6
|
-
* Check if NVIDIA GPU is available (exported for use by init command)
|
|
7
|
-
*/
|
|
8
|
-
export declare function hasNvidiaGpu(): Promise<boolean>;
|
|
9
|
-
//# sourceMappingURL=doctor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../lib/commands/doctor.ts"],"names":[],"mappings":"AAAA;;GAEG;AAmRH,wBAAsB,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CA+B5C;AAED;;GAEG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,OAAO,CAAC,CAMrD"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { init } from './init';
|
|
2
|
-
export { doctor } from './doctor';
|
|
3
|
-
export { configShow, configPaths } from './config';
|
|
4
|
-
export { dockerUp, dockerDown, dockerStatus, dockerLogs, dockerRestart, dockerExec } from './docker';
|
|
5
|
-
export { modelsList, modelsPull, modelsRm, modelsShow, modelsRun } from './models';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACrG,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* init command - Scaffold docker-compose.yml and config
|
|
3
|
-
*/
|
|
4
|
-
export interface InitOptions {
|
|
5
|
-
force?: boolean;
|
|
6
|
-
noWebui?: boolean;
|
|
7
|
-
gpu?: boolean;
|
|
8
|
-
noGpu?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare function init(options?: InitOptions): Promise<void>;
|
|
11
|
-
//# sourceMappingURL=init.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../lib/commands/init.ts"],"names":[],"mappings":"AAAA;;GAEG;AA4nBH,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAsB,IAAI,CAAC,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAsInE"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* models command - Manage Ollama models
|
|
3
|
-
*/
|
|
4
|
-
export declare function modelsList(): Promise<void>;
|
|
5
|
-
export declare function modelsPull(modelName: string): Promise<void>;
|
|
6
|
-
export declare function modelsRm(modelName: string): Promise<void>;
|
|
7
|
-
export declare function modelsShow(modelName: string): Promise<void>;
|
|
8
|
-
export declare function modelsRun(modelName: string): Promise<void>;
|
|
9
|
-
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../lib/commands/models.ts"],"names":[],"mappings":"AAAA;;GAEG;AAiFH,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAyChD;AAED,wBAAsB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAkBjE;AAED,wBAAsB,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAiB/D;AAED,wBAAsB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWjE;AAED,wBAAsB,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWhE"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration system for loclaude
|
|
3
|
-
*
|
|
4
|
-
* Priority (highest to lowest):
|
|
5
|
-
* 1. CLI arguments
|
|
6
|
-
* 2. Environment variables
|
|
7
|
-
* 3. Project config (./.loclaude/config.json)
|
|
8
|
-
* 4. User config (~/.config/loclaude/config.json)
|
|
9
|
-
* 5. Default values
|
|
10
|
-
*/
|
|
11
|
-
export interface OllamaConfig {
|
|
12
|
-
url: string;
|
|
13
|
-
defaultModel: string;
|
|
14
|
-
}
|
|
15
|
-
export interface DockerConfig {
|
|
16
|
-
composeFile: string;
|
|
17
|
-
gpu: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface ClaudeConfig {
|
|
20
|
-
extraArgs: string[];
|
|
21
|
-
}
|
|
22
|
-
export interface LoclaudeConfig {
|
|
23
|
-
ollama: OllamaConfig;
|
|
24
|
-
docker: DockerConfig;
|
|
25
|
-
claude: ClaudeConfig;
|
|
26
|
-
}
|
|
27
|
-
export interface LoclaudeConfigPartial {
|
|
28
|
-
ollama?: Partial<OllamaConfig>;
|
|
29
|
-
docker?: Partial<DockerConfig>;
|
|
30
|
-
claude?: Partial<ClaudeConfig>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Load the full configuration
|
|
34
|
-
*
|
|
35
|
-
* Merges (in order of priority):
|
|
36
|
-
* 1. Environment variables
|
|
37
|
-
* 2. Project config file
|
|
38
|
-
* 3. User config file
|
|
39
|
-
* 4. Defaults
|
|
40
|
-
*/
|
|
41
|
-
export declare function loadConfig(): LoclaudeConfig;
|
|
42
|
-
/**
|
|
43
|
-
* Clear the config cache (useful for testing)
|
|
44
|
-
*/
|
|
45
|
-
export declare function clearConfigCache(): void;
|
|
46
|
-
/**
|
|
47
|
-
* Get the path to the active config file (if any)
|
|
48
|
-
*/
|
|
49
|
-
export declare function getActiveConfigPath(): string | null;
|
|
50
|
-
/**
|
|
51
|
-
* Get all config paths that are checked
|
|
52
|
-
*/
|
|
53
|
-
export declare function getConfigSearchPaths(): string[];
|
|
54
|
-
/**
|
|
55
|
-
* Get Ollama URL from config
|
|
56
|
-
*/
|
|
57
|
-
export declare function getOllamaUrl(): string;
|
|
58
|
-
/**
|
|
59
|
-
* Get default model from config
|
|
60
|
-
*/
|
|
61
|
-
export declare function getDefaultModel(): string;
|
|
62
|
-
/**
|
|
63
|
-
* Get docker compose file path from config
|
|
64
|
-
*/
|
|
65
|
-
export declare function getComposeFile(): string;
|
|
66
|
-
/**
|
|
67
|
-
* Check if GPU is enabled in config
|
|
68
|
-
*/
|
|
69
|
-
export declare function isGpuEnabled(): boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Get extra Claude args from config
|
|
72
|
-
*/
|
|
73
|
-
export declare function getClaudeExtraArgs(): string[];
|
|
74
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../lib/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAUH,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,OAAO,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,YAAY,CAAC;CACtB;AAGD,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CAChC;AAkLD;;;;;;;;GAQG;AACH,wBAAgB,UAAU,IAAI,cAAc,CAgB3C;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAEvC;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,GAAG,IAAI,CAEnD;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,EAAE,CAE/C;AAMD;;GAEG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,OAAO,CAEtC;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,EAAE,CAE7C"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Constants - Loaded from configuration system
|
|
3
|
-
*
|
|
4
|
-
* Values come from (in priority order):
|
|
5
|
-
* 1. Environment variables (OLLAMA_URL, OLLAMA_MODEL)
|
|
6
|
-
* 2. Project config (.loclaude/config.json)
|
|
7
|
-
* 3. User config (~/.config/loclaude/config.json)
|
|
8
|
-
* 4. Default values
|
|
9
|
-
*/
|
|
10
|
-
export declare const OLLAMA_URL: string;
|
|
11
|
-
export declare const DEFAULT_MODEL: string;
|
|
12
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../lib/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,eAAO,MAAM,UAAU,QAAiB,CAAC;AACzC,eAAO,MAAM,aAAa,QAAoB,CAAC"}
|