@milisp/keke 0.1.2 → 0.1.4
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/README.md +31 -0
- package/README.zh-CN.md +8 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@ Works with subscriptions you already have, standard API keys, or self-hosted loc
|
|
|
16
16
|
|
|
17
17
|
## Install
|
|
18
18
|
|
|
19
|
+
### Shell (recommended)
|
|
20
|
+
|
|
19
21
|
```sh
|
|
20
22
|
curl -fsSL https://raw.githubusercontent.com/milisp/keke-agent/main/scripts/install.sh | sh
|
|
21
23
|
```
|
|
@@ -23,6 +25,12 @@ curl -fsSL https://raw.githubusercontent.com/milisp/keke-agent/main/scripts/inst
|
|
|
23
25
|
This downloads the latest prebuilt binary for your platform into
|
|
24
26
|
`~/.local/bin` (override with `KEKE_INSTALL_DIR`).
|
|
25
27
|
|
|
28
|
+
### npm
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
npm install -g @milisp/keke
|
|
32
|
+
```
|
|
33
|
+
|
|
26
34
|
You can also grab a binary directly from the
|
|
27
35
|
[latest release](https://github.com/milisp/keke-agent/releases/latest), or build
|
|
28
36
|
from source with `cargo build --release`.
|
|
@@ -70,6 +78,29 @@ wire = "messages"
|
|
|
70
78
|
`wire` picks the request format — `chat-completions` (the default),
|
|
71
79
|
`responses`, or `messages` — so a new endpoint is a config entry rather than a release.
|
|
72
80
|
|
|
81
|
+
Behind a corporate proxy or a TLS-intercepting gateway, a declared provider
|
|
82
|
+
can also carry a CA certificate, a proxy, and headers your gateway wants for
|
|
83
|
+
routing or audit:
|
|
84
|
+
|
|
85
|
+
```toml
|
|
86
|
+
[providers.internal-gateway]
|
|
87
|
+
base-url = "https://gateway.corp.internal/v1"
|
|
88
|
+
env-key = "INTERNAL_GATEWAY_API_KEY"
|
|
89
|
+
ca-cert-path = "/etc/ssl/certs/corp-root-ca.pem"
|
|
90
|
+
proxy = "http://proxy.corp.internal:8080"
|
|
91
|
+
proxy-username = "svc-keke"
|
|
92
|
+
proxy-password-env-key = "CORP_PROXY_PASSWORD"
|
|
93
|
+
|
|
94
|
+
[providers.internal-gateway.headers]
|
|
95
|
+
X-Department-Token = "env:DEPT_TOKEN"
|
|
96
|
+
X-Company-User-Id = "color-clock"
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
A header value written as `env:VAR_NAME` is resolved from the environment
|
|
100
|
+
rather than taken literally, so a secret header need not sit in the config
|
|
101
|
+
file in the clear. `authorization` is reserved for the provider's own
|
|
102
|
+
credential and cannot be set here.
|
|
103
|
+
|
|
73
104
|
## Status
|
|
74
105
|
|
|
75
106
|
Usable day to day. `keke exec`, the TUI, and the ACP server all run real
|
package/README.zh-CN.md
CHANGED
|
@@ -14,6 +14,8 @@ GUI(编辑器、Zed 之类)都能像终端一样驱动它。如果想在脚
|
|
|
14
14
|
|
|
15
15
|
## 安装
|
|
16
16
|
|
|
17
|
+
### 脚本安装(推荐)
|
|
18
|
+
|
|
17
19
|
```sh
|
|
18
20
|
curl -fsSL https://raw.githubusercontent.com/milisp/keke-agent/main/scripts/install.sh | sh
|
|
19
21
|
```
|
|
@@ -21,6 +23,12 @@ curl -fsSL https://raw.githubusercontent.com/milisp/keke-agent/main/scripts/inst
|
|
|
21
23
|
该脚本会为你的平台下载最新的预编译二进制文件到 `~/.local/bin`
|
|
22
24
|
(可通过 `KEKE_INSTALL_DIR` 覆盖)。
|
|
23
25
|
|
|
26
|
+
### npm 安装
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
npm install -g @milisp/keke
|
|
30
|
+
```
|
|
31
|
+
|
|
24
32
|
你也可以直接从 [latest release](https://github.com/milisp/keke-agent/releases/latest)
|
|
25
33
|
下载预编译二进制文件,或者用 `cargo build --release` 从源码构建。
|
|
26
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milisp/keke",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "keke is a multi-vendor terminal coding agent.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"win32"
|
|
19
19
|
],
|
|
20
20
|
"optionalDependencies": {
|
|
21
|
-
"@milisp/keke-darwin-x64": "0.1.
|
|
22
|
-
"@milisp/keke-darwin-arm64": "0.1.
|
|
23
|
-
"@milisp/keke-linux-x64": "0.1.
|
|
24
|
-
"@milisp/keke-linux-arm64": "0.1.
|
|
25
|
-
"@milisp/keke-win32-x64": "0.1.
|
|
21
|
+
"@milisp/keke-darwin-x64": "0.1.4",
|
|
22
|
+
"@milisp/keke-darwin-arm64": "0.1.4",
|
|
23
|
+
"@milisp/keke-linux-x64": "0.1.4",
|
|
24
|
+
"@milisp/keke-linux-arm64": "0.1.4",
|
|
25
|
+
"@milisp/keke-win32-x64": "0.1.4"
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|