@tokagent/tokagentos 2.0.19 → 2.0.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokagent/tokagentos",
3
- "version": "2.0.19",
3
+ "version": "2.0.20",
4
4
  "description": "tokagentOS CLI - Create and upgrade tokagentOS project templates",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokagent/plugin-tokagent-billing",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "elizaOS plugin: Web3 credit-billing routes and middleware for the tokagentos LLM gateway.",
5
5
  "type": "module",
6
6
  "publishConfig": { "access": "public" },
@@ -858,8 +858,11 @@ async function renderKeysTable() {
858
858
  const status = k.revokedAt ? `<span class="outcome-pill outcome-failed">revoked</span>` : `<span class="outcome-pill outcome-success">active</span>`;
859
859
  const action = k.revokedAt
860
860
  ? `<button class="btn btn-danger" type="button" data-delete="${escape(k.id)}" title="Permanently remove this revoked key from the database">Delete</button>`
861
- : `<button class="btn btn-danger" type="button" data-revoke="${escape(k.id)}">Revoke</button>
862
- <button class="btn btn-ghost" type="button" data-delete="${escape(k.id)}" title="Skip the revoke step and hard-delete immediately">Delete</button>`;
861
+ : `<button class="btn btn-danger" type="button" data-revoke="${escape(k.id)}">Revoke</button>`;
862
+ // Note: Delete (hard-delete) is intentionally NOT shown next to Revoke
863
+ // for active keys — Revoke first, then Delete the revoked row. Avoids
864
+ // accidentally wiping an active key (which would lose all in-flight
865
+ // billing for any process still using it).
863
866
  tr.innerHTML = `
864
867
  <td><code>${escape(k.id)}</code></td>
865
868
  <td>${escape(k.name ?? "—")}</td>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "generatedAt": "2026-05-19T20:00:04.880Z",
3
+ "generatedAt": "2026-05-19T20:06:30.663Z",
4
4
  "repoUrl": "https://github.com/elizaos/eliza",
5
5
  "templates": [
6
6
  {