opencode-ufr 0.2.7 → 0.2.8

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
@@ -49,7 +49,7 @@ and fill in:
49
49
  | Field | Needed? |
50
50
  |---|---|
51
51
  | **API keys** | always — paste one key per UFR account, comma-separated (whitespace is filtered) |
52
- | **Uni login** | only off campus — e.g. `fl240@uni-freiburg.de`, empty on the uni network |
52
+ | **Uni login** | only off campus — e.g. `xx0000@uni-freiburg.de`, empty on the uni network |
53
53
  | **Uni password** | only with a login above |
54
54
 
55
55
  Submitted credentials land in your OS keyring (never on disk), the gateway
@@ -59,7 +59,7 @@ restarts with them, and the `unifreiburg/…` models appear in the model picker.
59
59
 
60
60
  ```bash
61
61
  ufr connect --keys "<key1>,<key2>" # keys only
62
- ufr connect --login fl240@uni-freiburg.de --password … --keys "…" # + VPN login
62
+ ufr connect --login xx0000@uni-freiburg.de --password … --keys "…" # + VPN login
63
63
  ```
64
64
 
65
65
  `ufr connect` verifies every key against UFR, assigns aliases (`key1`, `key2`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-ufr",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Uni Freiburg (UFR) Open WebUI models in opencode — local gateway with key pool, UFR-aware rate limiting, circuit breaker and fallbacks",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -93,11 +93,11 @@ export async function cmdConnect(d: CliDeps, args: string[]): Promise<number> {
93
93
  let user = values.login
94
94
  let pass = values.password
95
95
  if (user === undefined && d.io.isTTY) {
96
- user = (await io.prompt("Uni login for the built-in VPN, e.g. fl240@uni-freiburg.de (empty to skip): ")).trim()
96
+ user = (await io.prompt("Uni login for the built-in VPN, e.g. xx0000@uni-freiburg.de (empty to skip): ")).trim()
97
97
  }
98
98
  if (user) {
99
99
  if (!/^[^\s@]+@[^\s@]+$/.test(user)) {
100
- io.err(`"${user}" does not look like a uni login (expected e.g. fl240@uni-freiburg.de)\n`)
100
+ io.err(`"${user}" does not look like a uni login (expected e.g. xx0000@uni-freiburg.de)\n`)
101
101
  return 2
102
102
  }
103
103
  if (pass === undefined) {
@@ -69,7 +69,7 @@ export async function registerConnect(d: ConnectDeps): Promise<ConnectRegistrati
69
69
  key: "login",
70
70
  title: "Uni login (optional)",
71
71
  type: "string",
72
- placeholder: "fl240@uni-freiburg.de",
72
+ placeholder: "xx0000@uni-freiburg.de",
73
73
  description: "Only needed off campus — the built-in VPN uses it. Leave empty on the uni network.",
74
74
  },
75
75
  {