bkper 4.20.0 → 4.20.1

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 CHANGED
@@ -16,7 +16,7 @@ With one tool, you can work with Bkper from your terminal, built-in agent, or ex
16
16
  ### Prerequisites
17
17
 
18
18
  - [Node.js](https://nodejs.org/) >= 22.19.0
19
- - **Windows:** use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) — the agent relies on Linux tooling that doesn't work reliably in PowerShell
19
+ - **Windows:** [install with WSL](#install-on-windows-with-wsl) — the agent relies on Linux tooling that doesn't work reliably in PowerShell
20
20
 
21
21
  ### Install (choose one)
22
22
 
@@ -36,6 +36,41 @@ pnpm add -g bkper
36
36
  yarn global add bkper
37
37
  ```
38
38
 
39
+ ### Install on Windows with WSL
40
+
41
+ Run Bkper inside WSL rather than PowerShell. If WSL is not set up yet:
42
+
43
+ 1. Open **PowerShell as Administrator** and install WSL:
44
+
45
+ ```powershell
46
+ wsl --install
47
+ ```
48
+
49
+ Restart Windows if prompted, then open **Ubuntu** from the Start menu and create your Linux username and password.
50
+
51
+ Reference: [Install WSL](https://learn.microsoft.com/en-us/windows/wsl/install).
52
+
53
+ 2. In the **Ubuntu terminal**, install Node.js:
54
+
55
+ ```bash
56
+ sudo apt update
57
+ sudo apt install -y curl
58
+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
59
+ source ~/.bashrc
60
+ nvm install --lts
61
+ ```
62
+
63
+ Reference: [Set up Node.js on WSL](https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wsl).
64
+
65
+ 3. Still in the **Ubuntu terminal**, install and open Bkper:
66
+
67
+ ```bash
68
+ npm i -g bkper
69
+ bkper
70
+ ```
71
+
72
+ If the Bkper Agent opens, the installation is working.
73
+
39
74
  ### Authenticate with Bkper
40
75
 
41
76
  ```bash
@@ -28,7 +28,7 @@ export const BKPER_AI_PROVIDER_CONFIG = {
28
28
  max: null,
29
29
  },
30
30
  input: ['text', 'image'],
31
- contextWindow: 200000,
31
+ contextWindow: 272000,
32
32
  maxTokens: 32000,
33
33
  cost: { input: 1, output: 6, cacheRead: 0.1, cacheWrite: 1.25 },
34
34
  compat: {
@@ -51,7 +51,7 @@ export const BKPER_AI_PROVIDER_CONFIG = {
51
51
  max: null,
52
52
  },
53
53
  input: ['text', 'image'],
54
- contextWindow: 200000,
54
+ contextWindow: 272000,
55
55
  maxTokens: 32000,
56
56
  cost: { input: 2.5, output: 15, cacheRead: 0.25, cacheWrite: 3.125 },
57
57
  compat: {
@@ -74,7 +74,7 @@ export const BKPER_AI_PROVIDER_CONFIG = {
74
74
  max: null,
75
75
  },
76
76
  input: ['text', 'image'],
77
- contextWindow: 200000,
77
+ contextWindow: 272000,
78
78
  maxTokens: 32000,
79
79
  cost: { input: 5, output: 30, cacheRead: 0.5, cacheWrite: 6.25 },
80
80
  compat: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper",
3
- "version": "4.20.0",
3
+ "version": "4.20.1",
4
4
  "description": "Command line client for Bkper",
5
5
  "bin": {
6
6
  "bkper": "./lib/cli.js"