iobroker.ai-usage 0.1.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/LICENSE +21 -0
- package/README.md +132 -0
- package/admin/ai-usage.svg +19 -0
- package/admin/i18n/de.json +29 -0
- package/admin/i18n/en.json +29 -0
- package/admin/i18n/es.json +29 -0
- package/admin/i18n/fr.json +29 -0
- package/admin/i18n/it.json +29 -0
- package/admin/i18n/nl.json +29 -0
- package/admin/i18n/pl.json +29 -0
- package/admin/i18n/pt.json +29 -0
- package/admin/i18n/ru.json +29 -0
- package/admin/i18n/uk.json +29 -0
- package/admin/i18n/zh-cn.json +29 -0
- package/admin/jsonConfig.json +252 -0
- package/build/lib/http.js +81 -0
- package/build/lib/http.js.map +7 -0
- package/build/lib/poll-engine.js +341 -0
- package/build/lib/poll-engine.js.map +7 -0
- package/build/lib/provider.js +40 -0
- package/build/lib/provider.js.map +7 -0
- package/build/lib/providers/anthropic-api.js +120 -0
- package/build/lib/providers/anthropic-api.js.map +7 -0
- package/build/lib/providers/claude-auth.js +109 -0
- package/build/lib/providers/claude-auth.js.map +7 -0
- package/build/lib/providers/claude-sub.js +165 -0
- package/build/lib/providers/claude-sub.js.map +7 -0
- package/build/lib/providers/deepseek.js +67 -0
- package/build/lib/providers/deepseek.js.map +7 -0
- package/build/lib/providers/openai.js +136 -0
- package/build/lib/providers/openai.js.map +7 -0
- package/build/lib/providers/openrouter.js +71 -0
- package/build/lib/providers/openrouter.js.map +7 -0
- package/build/lib/providers/report-utils.js +59 -0
- package/build/lib/providers/report-utils.js.map +7 -0
- package/build/lib/pure-helpers.js +96 -0
- package/build/lib/pure-helpers.js.map +7 -0
- package/build/lib/snapshot-tree.js +175 -0
- package/build/lib/snapshot-tree.js.map +7 -0
- package/build/lib/totals.js +79 -0
- package/build/lib/totals.js.map +7 -0
- package/build/main.js +336 -0
- package/build/main.js.map +7 -0
- package/io-package.json +222 -0
- package/package.json +91 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 krobi <krobi@power-dreams.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# <img src="https://cdn.jsdelivr.net/gh/krobipd/ioBroker.ai-usage@main/admin/ai-usage.svg" width="48" align="top" /> ioBroker.ai-usage
|
|
2
|
+
|
|
3
|
+
**Release:** [](https://www.npmjs.com/package/iobroker.ai-usage)   [](https://www.npmjs.com/package/iobroker.ai-usage)
|
|
4
|
+
|
|
5
|
+
**Build:** [](https://github.com/krobipd/ioBroker.ai-usage/actions/workflows/test-and-release.yml)   [](LICENSE)
|
|
6
|
+
|
|
7
|
+
**Support:** [](https://ko-fi.com/krobipd) [](https://paypal.me/krobipd)
|
|
8
|
+
|
|
9
|
+
Monitors your AI accounts in ioBroker: usage windows, limits, credits and costs of
|
|
10
|
+
Claude, OpenAI, OpenRouter and DeepSeek as clean datapoints — for
|
|
11
|
+
dashboards, history and automations ("send a message at 90 % of the weekly limit").
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Features
|
|
16
|
+
|
|
17
|
+
- **Per-account monitoring** — one device node per AI account with harmonised datapoints: limit windows (percent + reset time), credits, costs and tokens
|
|
18
|
+
- **Totals** — summed costs, the highest limit utilisation across all accounts, and one `limitReached` trigger for automations
|
|
19
|
+
- **Warn threshold per account** — a single notification when an account crosses its threshold
|
|
20
|
+
- **Central credentials** — API keys live in the admin's central credential storage and are shared with the admin AI assistant
|
|
21
|
+
- **Read-only by design** — the adapter only reads usage data; it never calls, configures or writes to any AI service
|
|
22
|
+
- **Throttle-safe polling** — a hard minimum interval and automatic backoff protect your accounts from provider rate-limit lockouts
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Requirements
|
|
27
|
+
|
|
28
|
+
- Node.js >= 22
|
|
29
|
+
- ioBroker js-controller >= 7.2.2
|
|
30
|
+
- **ioBroker Admin >= 8.0.0** — the adapter uses the admin's central credential storage
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Configuration
|
|
35
|
+
|
|
36
|
+
| Option | Description | Default |
|
|
37
|
+
|--------|-------------|---------|
|
|
38
|
+
| **Accounts** | One row per AI account: name, provider, credential from the central storage, warn threshold, active flag | — |
|
|
39
|
+
| **Poll interval** | How often each account is queried (seconds) | 300 |
|
|
40
|
+
| **Notifications** | One notification on threshold crossing or broken credentials | on |
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## State Tree
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
ai-usage.0.
|
|
48
|
+
├── info.connection — at least one account reachable (bool)
|
|
49
|
+
├── total. — totals across all accounts
|
|
50
|
+
│ ├── costs.* — summed real money (same currency only)
|
|
51
|
+
│ ├── maxLimitPercent — highest window utilisation of any account
|
|
52
|
+
│ ├── warningsActive — number of accounts above their threshold
|
|
53
|
+
│ └── limitReached — any window full (automation trigger)
|
|
54
|
+
└── <account>. — one device per configured account
|
|
55
|
+
├── info.* — provider, reachable, last update
|
|
56
|
+
├── limits.<window>.* — percent + reset time (session, week, per model, …)
|
|
57
|
+
├── credits.* — granted budget: used / limit / remaining / percent
|
|
58
|
+
├── costs.* — real money: today / month / projected
|
|
59
|
+
└── tokens.* — token counters (API accounts)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Only what an account's source actually delivers is created.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Troubleshooting
|
|
67
|
+
|
|
68
|
+
### An account shows `reachable = false`
|
|
69
|
+
Check the credential in the admin's central credential storage (Settings → Credentials)
|
|
70
|
+
and the adapter log. Authentication errors raise one notification with the reason.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Changelog
|
|
75
|
+
|
|
76
|
+
<!--
|
|
77
|
+
Placeholder for the next version (at the beginning of the line):
|
|
78
|
+
### **WORK IN PROGRESS**
|
|
79
|
+
-->
|
|
80
|
+
### 0.1.0 (2026-08-25)
|
|
81
|
+
|
|
82
|
+
- New: First release — reads usage limits, credits and costs of your Claude, OpenAI, Anthropic, OpenRouter and DeepSeek accounts into datapoints, with one warning at your chosen threshold
|
|
83
|
+
|
|
84
|
+
### 0.0.1 (2026-08-25)
|
|
85
|
+
|
|
86
|
+
- Initial development version
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
[Older changelogs can be found there](CHANGELOG_OLD.md)
|
|
91
|
+
|
|
92
|
+
## Support
|
|
93
|
+
|
|
94
|
+
- [ioBroker Forum](https://forum.iobroker.net/)
|
|
95
|
+
- [GitHub Issues](https://github.com/krobipd/ioBroker.ai-usage/issues)
|
|
96
|
+
|
|
97
|
+
### Support Development
|
|
98
|
+
|
|
99
|
+
This adapter is free and open source. If you find it useful, consider buying me a coffee:
|
|
100
|
+
|
|
101
|
+
[](https://ko-fi.com/krobipd)
|
|
102
|
+
[](https://paypal.me/krobipd)
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## License
|
|
107
|
+
|
|
108
|
+
MIT License
|
|
109
|
+
|
|
110
|
+
Copyright (c) 2026 krobi <krobi@power-dreams.com>
|
|
111
|
+
|
|
112
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
113
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
114
|
+
in the Software without restriction, including without limitation the rights
|
|
115
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
116
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
117
|
+
furnished to do so, subject to the following conditions:
|
|
118
|
+
|
|
119
|
+
The above copyright notice and this permission notice shall be included in all
|
|
120
|
+
copies or substantial portions of the Software.
|
|
121
|
+
|
|
122
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
123
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
124
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
125
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
126
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
127
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
128
|
+
SOFTWARE.
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
*Developed with assistance from Claude.ai*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">
|
|
2
|
+
<!-- Theme-fixed colors on an own background — never currentColor (renders black as <img>). -->
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
|
|
5
|
+
<stop offset="0" stop-color="#1c2733"/>
|
|
6
|
+
<stop offset="1" stop-color="#2b3d52"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
<rect x="4" y="4" width="120" height="120" rx="24" fill="url(#bg)"/>
|
|
10
|
+
<!-- Gauge arc: track + filled usage portion -->
|
|
11
|
+
<path d="M 28 88 A 40 40 0 1 1 100 88" fill="none" stroke="#3d5570" stroke-width="10" stroke-linecap="round"/>
|
|
12
|
+
<path d="M 28 88 A 40 40 0 0 1 42 34" fill="none" stroke="#4fc3f7" stroke-width="10" stroke-linecap="round"/>
|
|
13
|
+
<path d="M 42 34 A 40 40 0 0 1 92 40" fill="none" stroke="#ffb74d" stroke-width="10" stroke-linecap="round"/>
|
|
14
|
+
<!-- Needle -->
|
|
15
|
+
<line x1="64" y1="86" x2="88" y2="50" stroke="#eceff1" stroke-width="6" stroke-linecap="round"/>
|
|
16
|
+
<circle cx="64" cy="86" r="7" fill="#eceff1"/>
|
|
17
|
+
<!-- Spark: the AI -->
|
|
18
|
+
<path d="M 64 100 l 4 8 l 8 4 l -8 4 l -4 8 l -4 -8 l -8 -4 l 8 -4 z" fill="#4fc3f7" transform="translate(0,-4) scale(0.9)" transform-origin="64 112"/>
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "KI-Konten",
|
|
3
|
+
"accountsInfo": "Eine Zeile je KI-Konto. Zugangsdaten liegen im zentralen Zugangsdaten-Speicher des Admin (Einstellungen → Zugangsdaten) — der ➕-Knopf neben der Auswahl legt sie direkt hier an. Das Claude-Abo nutzt stattdessen eine eigene geführte Anmeldung (siehe Dokumentation).",
|
|
4
|
+
"label_accounts": "Konten",
|
|
5
|
+
"col_name": "Name",
|
|
6
|
+
"col_provider": "Anbieter",
|
|
7
|
+
"col_credential": "Zugangsdaten",
|
|
8
|
+
"col_warnThreshold": "Warnen ab %",
|
|
9
|
+
"col_enabled": "Aktiv",
|
|
10
|
+
"settingsHeader": "Einstellungen",
|
|
11
|
+
"label_pollInterval": "Abfrage-Intervall (s)",
|
|
12
|
+
"help_pollInterval": "Wie oft jedes Konto abgefragt wird. Unter 300 s droht Drosselung durch den Anbieter — Claude sperrt das ganze Konto für etwa einen Tag.",
|
|
13
|
+
"label_notifications": "Benachrichtigungen",
|
|
14
|
+
"help_notifications": "Eine Benachrichtigung, wenn ein Konto seine Warnschwelle überschreitet oder die Zugangsdaten nicht mehr funktionieren.",
|
|
15
|
+
"supportHeader": "Entwicklung unterstützen",
|
|
16
|
+
"aboutInfo": "Dieser Adapter ist kostenlos und quelloffen. Wenn er dir nützt, freue ich mich über Unterstützung.",
|
|
17
|
+
"donateKofi": "Auf Ko-fi unterstützen",
|
|
18
|
+
"donatePaypal": "Über PayPal spenden",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Claude-Abo-Anmeldung",
|
|
22
|
+
"claudeInfo": "Für eine Claude-Abo-Zeile: Namen eintragen, den erzeugten Link öffnen, bei Anthropic anmelden und Zugriff erlauben, dann den dort angezeigten Code einfügen und einlösen. Danach erneuert der Adapter die Anmeldung selbstständig.",
|
|
23
|
+
"label_claudeAccount": "Konto-Name (aus der Tabelle)",
|
|
24
|
+
"help_claudeAccount": "Genau wie in der Konten-Tabelle geschrieben",
|
|
25
|
+
"label_claudeUrl": "Anmelde-Link",
|
|
26
|
+
"label_claudeCode": "Code von der Anthropic-Seite",
|
|
27
|
+
"help_claudeCode": "Wird nach dem Erlauben angezeigt",
|
|
28
|
+
"btn_claudeRedeem": "Code einlösen"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "AI accounts",
|
|
3
|
+
"accountsInfo": "One row per AI account. Credentials are stored in the central credential storage of the admin (Settings → Credentials) — the ➕ button next to the selector creates one right here. The Claude subscription uses its own guided sign-in instead (see instance documentation).",
|
|
4
|
+
"label_accounts": "Accounts",
|
|
5
|
+
"col_name": "Name",
|
|
6
|
+
"col_provider": "Provider",
|
|
7
|
+
"col_credential": "Credential",
|
|
8
|
+
"col_warnThreshold": "Warn at %",
|
|
9
|
+
"col_enabled": "Active",
|
|
10
|
+
"settingsHeader": "Settings",
|
|
11
|
+
"label_pollInterval": "Poll interval (s)",
|
|
12
|
+
"help_pollInterval": "How often each account is queried. Below 300 s you risk provider throttling — Claude locks the whole account for about a day.",
|
|
13
|
+
"label_notifications": "Notifications",
|
|
14
|
+
"help_notifications": "One notification when an account crosses its warn threshold or its credentials stop working.",
|
|
15
|
+
"supportHeader": "Support the development",
|
|
16
|
+
"aboutInfo": "This adapter is free and open source. If you find it useful, consider supporting the development.",
|
|
17
|
+
"donateKofi": "Support on Ko-fi",
|
|
18
|
+
"donatePaypal": "Donate via PayPal",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Claude subscription sign-in",
|
|
22
|
+
"claudeInfo": "For a Claude subscription row: enter its name, open the generated link, sign in at Anthropic and allow access, then paste the code shown there and redeem it. The adapter refreshes the sign-in by itself afterwards.",
|
|
23
|
+
"label_claudeAccount": "Account name (from the table)",
|
|
24
|
+
"help_claudeAccount": "Exactly as written in the accounts table",
|
|
25
|
+
"label_claudeUrl": "Sign-in link",
|
|
26
|
+
"label_claudeCode": "Code from the Anthropic page",
|
|
27
|
+
"help_claudeCode": "Shown after allowing access",
|
|
28
|
+
"btn_claudeRedeem": "Redeem code"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "Cuentas de IA",
|
|
3
|
+
"accountsInfo": "Una fila por cuenta de IA. Las credenciales se guardan en el almacenamiento central del admin (Ajustes → Credenciales) — el botón ➕ junto al selector crea una aquí mismo. La suscripción de Claude usa su propio inicio de sesión guiado (ver documentación).",
|
|
4
|
+
"label_accounts": "Cuentas",
|
|
5
|
+
"col_name": "Nombre",
|
|
6
|
+
"col_provider": "Proveedor",
|
|
7
|
+
"col_credential": "Credencial",
|
|
8
|
+
"col_warnThreshold": "Avisar desde %",
|
|
9
|
+
"col_enabled": "Activo",
|
|
10
|
+
"settingsHeader": "Ajustes",
|
|
11
|
+
"label_pollInterval": "Intervalo de sondeo (s)",
|
|
12
|
+
"help_pollInterval": "Con qué frecuencia se consulta cada cuenta. Por debajo de 300 s hay riesgo de limitación del proveedor — Claude bloquea toda la cuenta durante aproximadamente un día.",
|
|
13
|
+
"label_notifications": "Notificaciones",
|
|
14
|
+
"help_notifications": "Una notificación cuando una cuenta supera su umbral de aviso o las credenciales dejan de funcionar.",
|
|
15
|
+
"supportHeader": "Apoyar el desarrollo",
|
|
16
|
+
"aboutInfo": "Este adaptador es gratuito y de código abierto. Si te resulta útil, considera apoyar el desarrollo.",
|
|
17
|
+
"donateKofi": "Apoyar en Ko-fi",
|
|
18
|
+
"donatePaypal": "Donar por PayPal",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Inicio de sesión de la suscripción Claude",
|
|
22
|
+
"claudeInfo": "Para una fila de suscripción Claude: escriba su nombre, abra el enlace generado, inicie sesión en Anthropic y permita el acceso, luego pegue el código mostrado y canjéelo. Después el adaptador renueva la sesión por sí mismo.",
|
|
23
|
+
"label_claudeAccount": "Nombre de cuenta (de la tabla)",
|
|
24
|
+
"help_claudeAccount": "Exactamente como en la tabla de cuentas",
|
|
25
|
+
"label_claudeUrl": "Enlace de inicio de sesión",
|
|
26
|
+
"label_claudeCode": "Código de la página de Anthropic",
|
|
27
|
+
"help_claudeCode": "Se muestra tras permitir el acceso",
|
|
28
|
+
"btn_claudeRedeem": "Canjear código"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "Comptes IA",
|
|
3
|
+
"accountsInfo": "Une ligne par compte IA. Les identifiants sont stockés dans le stockage central de l'admin (Paramètres → Identifiants) — le bouton ➕ à côté du sélecteur en crée un directement ici. L'abonnement Claude utilise sa propre connexion guidée (voir documentation).",
|
|
4
|
+
"label_accounts": "Comptes",
|
|
5
|
+
"col_name": "Nom",
|
|
6
|
+
"col_provider": "Fournisseur",
|
|
7
|
+
"col_credential": "Identifiants",
|
|
8
|
+
"col_warnThreshold": "Avertir à partir de %",
|
|
9
|
+
"col_enabled": "Actif",
|
|
10
|
+
"settingsHeader": "Paramètres",
|
|
11
|
+
"label_pollInterval": "Intervalle d'interrogation (s)",
|
|
12
|
+
"help_pollInterval": "Fréquence d'interrogation de chaque compte. Sous 300 s, risque de limitation par le fournisseur — Claude bloque tout le compte pendant environ un jour.",
|
|
13
|
+
"label_notifications": "Notifications",
|
|
14
|
+
"help_notifications": "Une notification lorsqu'un compte dépasse son seuil d'alerte ou que les identifiants ne fonctionnent plus.",
|
|
15
|
+
"supportHeader": "Soutenir le développement",
|
|
16
|
+
"aboutInfo": "Cet adaptateur est gratuit et open source. S'il vous est utile, pensez à soutenir le développement.",
|
|
17
|
+
"donateKofi": "Soutenir sur Ko-fi",
|
|
18
|
+
"donatePaypal": "Faire un don via PayPal",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Connexion à l'abonnement Claude",
|
|
22
|
+
"claudeInfo": "Pour une ligne d'abonnement Claude : saisissez son nom, ouvrez le lien généré, connectez-vous chez Anthropic et autorisez l'accès, puis collez le code affiché et validez-le. Ensuite, l'adaptateur renouvelle la connexion lui-même.",
|
|
23
|
+
"label_claudeAccount": "Nom du compte (du tableau)",
|
|
24
|
+
"help_claudeAccount": "Exactement comme dans le tableau des comptes",
|
|
25
|
+
"label_claudeUrl": "Lien de connexion",
|
|
26
|
+
"label_claudeCode": "Code de la page Anthropic",
|
|
27
|
+
"help_claudeCode": "Affiché après l'autorisation",
|
|
28
|
+
"btn_claudeRedeem": "Valider le code"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "Account IA",
|
|
3
|
+
"accountsInfo": "Una riga per account IA. Le credenziali sono nello storage centrale dell'admin (Impostazioni → Credenziali) — il pulsante ➕ accanto al selettore ne crea una direttamente qui. L'abbonamento Claude usa un accesso guidato proprio (vedi documentazione).",
|
|
4
|
+
"label_accounts": "Account",
|
|
5
|
+
"col_name": "Nome",
|
|
6
|
+
"col_provider": "Provider",
|
|
7
|
+
"col_credential": "Credenziale",
|
|
8
|
+
"col_warnThreshold": "Avvisa da %",
|
|
9
|
+
"col_enabled": "Attivo",
|
|
10
|
+
"settingsHeader": "Impostazioni",
|
|
11
|
+
"label_pollInterval": "Intervallo di polling (s)",
|
|
12
|
+
"help_pollInterval": "Frequenza di interrogazione di ogni account. Sotto i 300 s si rischia la limitazione del provider — Claude blocca l'intero account per circa un giorno.",
|
|
13
|
+
"label_notifications": "Notifiche",
|
|
14
|
+
"help_notifications": "Una notifica quando un account supera la soglia di avviso o le credenziali smettono di funzionare.",
|
|
15
|
+
"supportHeader": "Sostieni lo sviluppo",
|
|
16
|
+
"aboutInfo": "Questo adattatore è gratuito e open source. Se ti è utile, considera di sostenere lo sviluppo.",
|
|
17
|
+
"donateKofi": "Sostieni su Ko-fi",
|
|
18
|
+
"donatePaypal": "Dona via PayPal",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Accesso abbonamento Claude",
|
|
22
|
+
"claudeInfo": "Per una riga di abbonamento Claude: inserisci il nome, apri il link generato, accedi ad Anthropic e consenti l'accesso, poi incolla il codice mostrato e riscattalo. Dopo, l'adattatore rinnova l'accesso da solo.",
|
|
23
|
+
"label_claudeAccount": "Nome account (dalla tabella)",
|
|
24
|
+
"help_claudeAccount": "Esattamente come nella tabella account",
|
|
25
|
+
"label_claudeUrl": "Link di accesso",
|
|
26
|
+
"label_claudeCode": "Codice dalla pagina Anthropic",
|
|
27
|
+
"help_claudeCode": "Mostrato dopo il consenso",
|
|
28
|
+
"btn_claudeRedeem": "Riscatta codice"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "AI-accounts",
|
|
3
|
+
"accountsInfo": "Eén rij per AI-account. Inloggegevens staan in de centrale opslag van de admin (Instellingen → Inloggegevens) — de ➕-knop naast de selectie maakt ze direct hier aan. Het Claude-abonnement gebruikt een eigen begeleide aanmelding (zie documentatie).",
|
|
4
|
+
"label_accounts": "Accounts",
|
|
5
|
+
"col_name": "Naam",
|
|
6
|
+
"col_provider": "Aanbieder",
|
|
7
|
+
"col_credential": "Inloggegevens",
|
|
8
|
+
"col_warnThreshold": "Waarschuwen vanaf %",
|
|
9
|
+
"col_enabled": "Actief",
|
|
10
|
+
"settingsHeader": "Instellingen",
|
|
11
|
+
"label_pollInterval": "Peilinterval (s)",
|
|
12
|
+
"help_pollInterval": "Hoe vaak elk account wordt bevraagd. Onder 300 s dreigt beperking door de aanbieder — Claude blokkeert het hele account ongeveer een dag.",
|
|
13
|
+
"label_notifications": "Meldingen",
|
|
14
|
+
"help_notifications": "Eén melding wanneer een account de waarschuwingsdrempel overschrijdt of de inloggegevens niet meer werken.",
|
|
15
|
+
"supportHeader": "Ontwikkeling steunen",
|
|
16
|
+
"aboutInfo": "Deze adapter is gratis en open source. Als je er iets aan hebt, steun dan de ontwikkeling.",
|
|
17
|
+
"donateKofi": "Steun via Ko-fi",
|
|
18
|
+
"donatePaypal": "Doneer via PayPal",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Claude-abonnement aanmelden",
|
|
22
|
+
"claudeInfo": "Voor een Claude-abonnementsrij: naam invullen, de gegenereerde link openen, bij Anthropic aanmelden en toegang toestaan, daarna de getoonde code plakken en inwisselen. Daarna vernieuwt de adapter de aanmelding zelf.",
|
|
23
|
+
"label_claudeAccount": "Accountnaam (uit de tabel)",
|
|
24
|
+
"help_claudeAccount": "Precies zoals in de accounttabel",
|
|
25
|
+
"label_claudeUrl": "Aanmeldlink",
|
|
26
|
+
"label_claudeCode": "Code van de Anthropic-pagina",
|
|
27
|
+
"help_claudeCode": "Wordt getoond na het toestaan",
|
|
28
|
+
"btn_claudeRedeem": "Code inwisselen"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "Konta AI",
|
|
3
|
+
"accountsInfo": "Jeden wiersz na konto AI. Dane dostępowe leżą w centralnym magazynie admina (Ustawienia → Dane dostępowe) — przycisk ➕ obok wyboru tworzy je bezpośrednio tutaj. Subskrypcja Claude używa własnego prowadzonego logowania (patrz dokumentacja).",
|
|
4
|
+
"label_accounts": "Konta",
|
|
5
|
+
"col_name": "Nazwa",
|
|
6
|
+
"col_provider": "Dostawca",
|
|
7
|
+
"col_credential": "Dane dostępowe",
|
|
8
|
+
"col_warnThreshold": "Ostrzegaj od %",
|
|
9
|
+
"col_enabled": "Aktywne",
|
|
10
|
+
"settingsHeader": "Ustawienia",
|
|
11
|
+
"label_pollInterval": "Interwał odpytywania (s)",
|
|
12
|
+
"help_pollInterval": "Jak często odpytywane jest każde konto. Poniżej 300 s grozi ograniczenie przez dostawcę — Claude blokuje całe konto na około jeden dzień.",
|
|
13
|
+
"label_notifications": "Powiadomienia",
|
|
14
|
+
"help_notifications": "Jedno powiadomienie, gdy konto przekroczy próg ostrzegawczy lub dane dostępowe przestaną działać.",
|
|
15
|
+
"supportHeader": "Wesprzyj rozwój",
|
|
16
|
+
"aboutInfo": "Ten adapter jest darmowy i otwartoźródłowy. Jeśli jest przydatny, rozważ wsparcie rozwoju.",
|
|
17
|
+
"donateKofi": "Wesprzyj na Ko-fi",
|
|
18
|
+
"donatePaypal": "Przekaż przez PayPal",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Logowanie subskrypcji Claude",
|
|
22
|
+
"claudeInfo": "Dla wiersza subskrypcji Claude: wpisz nazwę, otwórz wygenerowany link, zaloguj się w Anthropic i zezwól na dostęp, następnie wklej wyświetlony kod i zrealizuj go. Potem adapter odnawia logowanie samodzielnie.",
|
|
23
|
+
"label_claudeAccount": "Nazwa konta (z tabeli)",
|
|
24
|
+
"help_claudeAccount": "Dokładnie jak w tabeli kont",
|
|
25
|
+
"label_claudeUrl": "Link logowania",
|
|
26
|
+
"label_claudeCode": "Kod ze strony Anthropic",
|
|
27
|
+
"help_claudeCode": "Wyświetlany po zezwoleniu",
|
|
28
|
+
"btn_claudeRedeem": "Zrealizuj kod"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "Contas de IA",
|
|
3
|
+
"accountsInfo": "Uma linha por conta de IA. As credenciais ficam no armazenamento central do admin (Configurações → Credenciais) — o botão ➕ ao lado do seletor cria uma aqui mesmo. A assinatura Claude usa um login guiado próprio (ver documentação).",
|
|
4
|
+
"label_accounts": "Contas",
|
|
5
|
+
"col_name": "Nome",
|
|
6
|
+
"col_provider": "Provedor",
|
|
7
|
+
"col_credential": "Credencial",
|
|
8
|
+
"col_warnThreshold": "Avisar a partir de %",
|
|
9
|
+
"col_enabled": "Ativo",
|
|
10
|
+
"settingsHeader": "Configurações",
|
|
11
|
+
"label_pollInterval": "Intervalo de consulta (s)",
|
|
12
|
+
"help_pollInterval": "Com que frequência cada conta é consultada. Abaixo de 300 s há risco de limitação pelo provedor — a Claude bloqueia a conta inteira por cerca de um dia.",
|
|
13
|
+
"label_notifications": "Notificações",
|
|
14
|
+
"help_notifications": "Uma notificação quando uma conta ultrapassa o limite de aviso ou as credenciais deixam de funcionar.",
|
|
15
|
+
"supportHeader": "Apoiar o desenvolvimento",
|
|
16
|
+
"aboutInfo": "Este adaptador é gratuito e de código aberto. Se for útil para você, considere apoiar o desenvolvimento.",
|
|
17
|
+
"donateKofi": "Apoiar no Ko-fi",
|
|
18
|
+
"donatePaypal": "Doar via PayPal",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Login da assinatura Claude",
|
|
22
|
+
"claudeInfo": "Para uma linha de assinatura Claude: insira o nome, abra o link gerado, faça login na Anthropic e permita o acesso, depois cole o código exibido e resgate-o. Depois disso o adaptador renova o login sozinho.",
|
|
23
|
+
"label_claudeAccount": "Nome da conta (da tabela)",
|
|
24
|
+
"help_claudeAccount": "Exatamente como na tabela de contas",
|
|
25
|
+
"label_claudeUrl": "Link de login",
|
|
26
|
+
"label_claudeCode": "Código da página da Anthropic",
|
|
27
|
+
"help_claudeCode": "Exibido após permitir o acesso",
|
|
28
|
+
"btn_claudeRedeem": "Resgatar código"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "Аккаунты ИИ",
|
|
3
|
+
"accountsInfo": "Одна строка на аккаунт ИИ. Учётные данные хранятся в центральном хранилище админа (Настройки → Учётные данные) — кнопка ➕ рядом с выбором создаёт их прямо здесь. Подписка Claude использует собственный пошаговый вход (см. документацию).",
|
|
4
|
+
"label_accounts": "Аккаунты",
|
|
5
|
+
"col_name": "Имя",
|
|
6
|
+
"col_provider": "Провайдер",
|
|
7
|
+
"col_credential": "Учётные данные",
|
|
8
|
+
"col_warnThreshold": "Предупреждать с %",
|
|
9
|
+
"col_enabled": "Активен",
|
|
10
|
+
"settingsHeader": "Настройки",
|
|
11
|
+
"label_pollInterval": "Интервал опроса (с)",
|
|
12
|
+
"help_pollInterval": "Как часто опрашивается каждый аккаунт. Ниже 300 с возможно ограничение со стороны провайдера — Claude блокирует весь аккаунт примерно на сутки.",
|
|
13
|
+
"label_notifications": "Уведомления",
|
|
14
|
+
"help_notifications": "Одно уведомление, когда аккаунт превышает порог предупреждения или учётные данные перестают работать.",
|
|
15
|
+
"supportHeader": "Поддержать разработку",
|
|
16
|
+
"aboutInfo": "Этот адаптер бесплатный и с открытым кодом. Если он вам полезен, поддержите разработку.",
|
|
17
|
+
"donateKofi": "Поддержать на Ko-fi",
|
|
18
|
+
"donatePaypal": "Пожертвовать через PayPal",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Вход в подписку Claude",
|
|
22
|
+
"claudeInfo": "Для строки подписки Claude: введите её имя, откройте созданную ссылку, войдите в Anthropic и разрешите доступ, затем вставьте показанный код и активируйте его. После этого адаптер обновляет вход самостоятельно.",
|
|
23
|
+
"label_claudeAccount": "Имя аккаунта (из таблицы)",
|
|
24
|
+
"help_claudeAccount": "Точно как в таблице аккаунтов",
|
|
25
|
+
"label_claudeUrl": "Ссылка для входа",
|
|
26
|
+
"label_claudeCode": "Код со страницы Anthropic",
|
|
27
|
+
"help_claudeCode": "Показывается после разрешения доступа",
|
|
28
|
+
"btn_claudeRedeem": "Активировать код"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "Акаунти ШІ",
|
|
3
|
+
"accountsInfo": "Один рядок на акаунт ШІ. Облікові дані зберігаються в центральному сховищі адміна (Налаштування → Облікові дані) — кнопка ➕ поруч із вибором створює їх прямо тут. Підписка Claude використовує власний покроковий вхід (див. документацію).",
|
|
4
|
+
"label_accounts": "Акаунти",
|
|
5
|
+
"col_name": "Назва",
|
|
6
|
+
"col_provider": "Провайдер",
|
|
7
|
+
"col_credential": "Облікові дані",
|
|
8
|
+
"col_warnThreshold": "Попереджати з %",
|
|
9
|
+
"col_enabled": "Активний",
|
|
10
|
+
"settingsHeader": "Налаштування",
|
|
11
|
+
"label_pollInterval": "Інтервал опитування (с)",
|
|
12
|
+
"help_pollInterval": "Як часто опитується кожен акаунт. Нижче 300 с можливе обмеження провайдером — Claude блокує весь акаунт приблизно на добу.",
|
|
13
|
+
"label_notifications": "Сповіщення",
|
|
14
|
+
"help_notifications": "Одне сповіщення, коли акаунт перевищує поріг попередження або облікові дані перестають працювати.",
|
|
15
|
+
"supportHeader": "Підтримати розробку",
|
|
16
|
+
"aboutInfo": "Цей адаптер безкоштовний і з відкритим кодом. Якщо він вам корисний, підтримайте розробку.",
|
|
17
|
+
"donateKofi": "Підтримати на Ko-fi",
|
|
18
|
+
"donatePaypal": "Пожертвувати через PayPal",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Вхід у підписку Claude",
|
|
22
|
+
"claudeInfo": "Для рядка підписки Claude: введіть назву, відкрийте створене посилання, увійдіть в Anthropic і дозвольте доступ, потім вставте показаний код і активуйте його. Після цього адаптер оновлює вхід самостійно.",
|
|
23
|
+
"label_claudeAccount": "Назва акаунта (з таблиці)",
|
|
24
|
+
"help_claudeAccount": "Точно як у таблиці акаунтів",
|
|
25
|
+
"label_claudeUrl": "Посилання для входу",
|
|
26
|
+
"label_claudeCode": "Код зі сторінки Anthropic",
|
|
27
|
+
"help_claudeCode": "Показується після дозволу",
|
|
28
|
+
"btn_claudeRedeem": "Активувати код"
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accountsHeader": "AI 账户",
|
|
3
|
+
"accountsInfo": "每个 AI 账户一行。凭据保存在管理界面的中央凭据存储中(设置 → 凭据)——选择框旁的 ➕ 按钮可直接在此创建。Claude 订阅使用自己的引导式登录(见文档)。",
|
|
4
|
+
"label_accounts": "账户",
|
|
5
|
+
"col_name": "名称",
|
|
6
|
+
"col_provider": "提供商",
|
|
7
|
+
"col_credential": "凭据",
|
|
8
|
+
"col_warnThreshold": "警告阈值 %",
|
|
9
|
+
"col_enabled": "启用",
|
|
10
|
+
"settingsHeader": "设置",
|
|
11
|
+
"label_pollInterval": "轮询间隔(秒)",
|
|
12
|
+
"help_pollInterval": "查询每个账户的频率。低于 300 秒可能被提供商限流——Claude 会将整个账户锁定约一天。",
|
|
13
|
+
"label_notifications": "通知",
|
|
14
|
+
"help_notifications": "当账户超过警告阈值或凭据失效时发送一次通知。",
|
|
15
|
+
"supportHeader": "支持开发",
|
|
16
|
+
"aboutInfo": "本适配器免费且开源。如果对你有用,欢迎支持开发。",
|
|
17
|
+
"donateKofi": "在 Ko-fi 上支持",
|
|
18
|
+
"donatePaypal": "通过 PayPal 捐赠",
|
|
19
|
+
"OpenRouter": "OpenRouter",
|
|
20
|
+
"DeepSeek": "DeepSeek",
|
|
21
|
+
"claudeHeader": "Claude 订阅登录",
|
|
22
|
+
"claudeInfo": "对于 Claude 订阅行:输入其名称,打开生成的链接,在 Anthropic 登录并允许访问,然后粘贴显示的代码并兑换。之后适配器会自行续期登录。",
|
|
23
|
+
"label_claudeAccount": "账户名称(来自表格)",
|
|
24
|
+
"help_claudeAccount": "与账户表格中完全一致",
|
|
25
|
+
"label_claudeUrl": "登录链接",
|
|
26
|
+
"label_claudeCode": "Anthropic 页面上的代码",
|
|
27
|
+
"help_claudeCode": "允许访问后显示",
|
|
28
|
+
"btn_claudeRedeem": "兑换代码"
|
|
29
|
+
}
|