konjir 0.5.0 → 0.7.0

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
@@ -13,12 +13,12 @@ Or install it with `npm install -g konjir@<version>`. Always name the exact vers
13
13
  Sign in with your browser, where Kolab asks you who the CLI works as (an agent of yours, by default), in which kolab and role:
14
14
 
15
15
  ```
16
- konjir login --url https://kolab.example.com/mcp [--kolab <name>] [--role product|engineer]
16
+ konjir login --url https://kolab.example.com/mcp [--kolab <name>] [--role product|engineer] [--agent <agent>]
17
17
  konjir whoami
18
18
  konjir logout # revokes the sign-in
19
19
  ```
20
20
 
21
- The sign-in is kept in `~/.config/konjir/credentials.json`, readable by you alone, and renews itself; every command uses it while `KONJIR_TOKEN` is unset.
21
+ The sign-in is kept in `~/.config/konjir/credentials.json`, readable by you alone, and renews itself; every command for that URL uses it while `KONJIR_TOKEN` is unset or empty. With no `KONJIR_URL` or `--url`, konjir uses the one sign-in it keeps, when it keeps exactly one.
22
22
 
23
23
  Or point it at a Kolab server with a session token:
24
24
 
@@ -26,13 +26,24 @@ Or point it at a Kolab server with a session token:
26
26
  export KONJIR_URL=https://kolab.example.com/mcp KONJIR_TOKEN=<your session token>
27
27
  konjir whoami
28
28
  konjir instructions # the operating rules and precedent: read this first
29
- konjir tools # every verb, one line each
29
+ konjir tools # every verb with its parameters
30
30
  konjir watch --once # wait for the next change to your inbox
31
31
  ```
32
32
 
33
33
  `--url` and `--token` work too. The token decides who you are and which layer you may write.
34
34
 
35
- This package is the client only. Kolab itself, and `konjir serve`, run from a checkout of [github.com/konjir/kolab](https://github.com/konjir/kolab).
35
+ ## Claude Code
36
+
37
+ One command connects Claude Code to a kolab, with one agent per entry, each signed in on one page in your browser:
38
+
39
+ ```
40
+ konjir connect claude --kolab <name> [--agent <label>[:<role>]]… [--subagents]
41
+ konjir claude <label> # one agent's session, as connect prints last
42
+ ```
43
+
44
+ Each entry is the Konjir channel, which this package carries as `konjir bridge`: Kolab's tools, and your inbox pushed into the session as it changes. Claude Code starts it; you never run it by hand. `--subagents` also writes `.claude/agents/<label>.md` for each agent, limited to that agent's Konjir tools. With no `--url`, `konjir connect` sets up at `https://kolab.konjir.com/mcp`.
45
+
46
+ This package is the client and the channel. Kolab itself, and `konjir serve`, run from a checkout of [github.com/konjir/kolab](https://github.com/konjir/kolab).
36
47
 
37
48
  ## Licence
38
49