symmetry-cli 1.0.35 → 1.0.39

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/symmetry.js CHANGED
@@ -10,9 +10,10 @@ const os_1 = __importDefault(require("os"));
10
10
  const path_1 = __importDefault(require("path"));
11
11
  const setup_1 = require("./setup");
12
12
  const start_1 = require("./start");
13
+ const package_json_1 = require("../package.json");
13
14
  const program = new commander_1.Command();
14
15
  program
15
- .version("1.0.35")
16
+ .version(package_json_1.version)
16
17
  .description("symmetry cli")
17
18
  .option("-c, --config <path>", "Path to config file", path_1.default.join(os_1.default.homedir(), ".config", "symmetry", "provider.yaml"));
18
19
  program
@@ -33,7 +34,4 @@ program
33
34
  .action(async () => {
34
35
  await start_1.SymmetryCLI.initialize(program.opts().config);
35
36
  });
36
- program.action(async () => {
37
- await start_1.SymmetryCLI.initialize(program.opts().config);
38
- });
39
37
  program.parse(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "symmetry-cli",
3
- "version": "1.0.35",
3
+ "version": "1.0.39",
4
4
  "description": "",
5
5
  "main": "dist/symmetry.js",
6
6
  "bin": "dist/symmetry.js",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "commander": "^12.1.0",
26
26
  "js-yaml": "^4.1.0",
27
- "symmetry-core": "^1.0.36"
27
+ "symmetry-core": "^1.0.41"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/jest": "^29.5.12",
package/readme.md CHANGED
@@ -31,7 +31,7 @@ iwr -useb https://www.twinny.dev/symmetry-windows.ps1 | iex
31
31
  To start Symmetry, run which will create a config file and detect your provider.
32
32
 
33
33
  ```bash
34
- symmetry-cli
34
+ symmetry-cli start
35
35
  ```
36
36
 
37
37
  You will then be joined with the symmetry server and ready for connections!
@@ -53,7 +53,7 @@ You will then be joined with the symmetry server and ready for connections!
53
53
  By default, Symmetry looks for its configuration file at `~/.config/symmetry/provider.yaml`. To use a different configuration file, use:
54
54
 
55
55
  ```bash
56
- symmetry-cli -c /path/to/your/provider.yaml
56
+ symmetry-cli start -c /path/to/your/provider.yaml
57
57
  ```
58
58
 
59
59
  ## Configuration
@@ -63,7 +63,7 @@ Here's an example `provider.yaml` configuration:
63
63
  ```yaml
64
64
  apiHostname: localhost # The hostname of the API server.
65
65
  apiKey: # The API key for authentication.
66
- apiChatPath: /v1/chat/completions # The endpoint path for chat completions.
66
+ apiBasePath: /v1 # The endpoint path for the api.
67
67
  apiPort: 11434 # The port number on which the API server is listening.
68
68
  apiProtocol: http # The protocol used to communicate with the API server.
69
69
  apiProvider: ollama # The name of the API provider.