bkper 4.31.0 → 4.31.2
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
|
@@ -45,16 +45,7 @@ npx bkper
|
|
|
45
45
|
|
|
46
46
|
The package and executable are both named `bkper`. See the [CLI Docs] for the dedicated command-line guide.
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
After installing Node.js, run Bkper directly from PowerShell:
|
|
51
|
-
|
|
52
|
-
```powershell
|
|
53
|
-
npm install -g bkper
|
|
54
|
-
bkper
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Bkper CLI Agent uses PowerShell natively on Windows. WSL remains supported and uses Bash.
|
|
48
|
+
On Windows, Bkper CLI Agent runs natively in PowerShell. WSL is also supported and uses Bash.
|
|
58
49
|
|
|
59
50
|
### Authenticate with Bkper
|
|
60
51
|
|
|
@@ -62,7 +53,7 @@ Bkper CLI Agent uses PowerShell natively on Windows. WSL remains supported and u
|
|
|
62
53
|
bkper auth login
|
|
63
54
|
```
|
|
64
55
|
|
|
65
|
-
`bkper auth login` connects the CLI to your Bkper account. The same local authentication can be used by direct CLI commands, Bkper CLI Agent, external coding agents, scripts, and local app development.
|
|
56
|
+
`bkper auth login` connects the CLI to your Bkper account. Keep it running while you complete browser authorization; wait for it to finish successfully. The same local authentication can be used by direct CLI commands, Bkper CLI Agent, external coding agents, scripts, and local app development.
|
|
66
57
|
|
|
67
58
|
---
|
|
68
59
|
|
|
@@ -13,7 +13,7 @@ export function registerAuthCommands(program) {
|
|
|
13
13
|
const authCommand = program.command('auth').description('Manage authentication');
|
|
14
14
|
authCommand
|
|
15
15
|
.command('login')
|
|
16
|
-
.description('Authenticate with Bkper
|
|
16
|
+
.description('Authenticate with Bkper; keep running until browser authorization completes')
|
|
17
17
|
.action(() => __awaiter(this, void 0, void 0, function* () {
|
|
18
18
|
yield login();
|
|
19
19
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.js","sourceRoot":"","sources":["../../../src/commands/auth/register.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,MAAM,UAAU,oBAAoB,CAAC,OAAgB;IACjD,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;IAEjF,WAAW;SACN,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"register.js","sourceRoot":"","sources":["../../../src/commands/auth/register.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,MAAM,UAAU,oBAAoB,CAAC,OAAgB;IACjD,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;IAEjF,WAAW;SACN,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,6EAA6E,CAAC;SAC1F,MAAM,CAAC,GAAS,EAAE;QACf,MAAM,KAAK,EAAE,CAAC;IAClB,CAAC,CAAA,CAAC,CAAC;IAEP,WAAW;SACN,OAAO,CAAC,QAAQ,CAAC;SACjB,WAAW,CAAC,sDAAsD,CAAC;SACnE,MAAM,CAAC,GAAS,EAAE;QACf,MAAM,MAAM,EAAE,CAAC;IACnB,CAAC,CAAA,CAAC,CAAC;IAEP,WAAW;SACN,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,gDAAgD,CAAC;SAC7D,MAAM,CAAC,GAAS,EAAE;QACf,MAAM,KAAK,EAAE,CAAC;IAClB,CAAC,CAAA,CAAC,CAAC;AACX,CAAC"}
|
|
@@ -532,7 +532,7 @@ deployment:
|
|
|
532
532
|
|
|
533
533
|
### Authentication
|
|
534
534
|
|
|
535
|
-
- `auth login` - Connect the CLI to your Bkper account, storing credentials locally
|
|
535
|
+
- `auth login` - Connect the CLI to your Bkper account, storing credentials locally. For agents: share the device code as a progress update without ending the turn or stopping `bkper auth login`; keep it running while the user signs in.
|
|
536
536
|
- `auth logout` - Revoke the stored Bkper refresh token and clear local credentials
|
|
537
537
|
- `auth token` - Print the current Bkper OAuth access token to stdout (requires prior login)
|
|
538
538
|
|