@tokenwarden/opencode 0.1.1 → 0.1.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
@@ -13,7 +13,7 @@ Add the plugin to `opencode.json` or `~/.config/opencode/opencode.jsonc`:
13
13
  ```json
14
14
  {
15
15
  "$schema": "https://opencode.ai/config.json",
16
- "plugin": ["tokenwarden"]
16
+ "plugin": ["@tokenwarden/opencode"]
17
17
  }
18
18
  ```
19
19
 
@@ -18,8 +18,6 @@ async function main() {
18
18
  const store = createStore(valueAfter(args, "--data-dir"));
19
19
  const engine = await createProtectedEngine({ dataDir: store.dataDir });
20
20
  const protection = await engine.protectionStatus();
21
- process.stdout.write(`TokenWarden data dir: ${store.dataDir}\n`);
22
- process.stdout.write(`Usage log: ${store.eventsPath}\n`);
23
21
  process.stdout.write(`Engine mode: ${protection.mode}\n`);
24
22
  process.stdout.write(`License: ${protection.license}\n`);
25
23
  process.stdout.write(`Rule pack: ${protection.rulePack}\n`);
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "siteURL": "https://tokenwarden.ai/",
3
- "generatedAt": "2026-06-11T13:11:17.227Z"
3
+ "generatedAt": "2026-06-11T13:30:16.184Z"
4
4
  }
@@ -8,10 +8,10 @@
8
8
  "platform": "darwin",
9
9
  "arch": "arm64",
10
10
  "sha256": "513d90c920758b1f758d2d99c39c459f133d736eb13e188916c1234c94f14076",
11
- "builtAt": "2026-06-11T13:11:17.227Z",
11
+ "builtAt": "2026-06-11T13:30:16.184Z",
12
12
  "signingKey": "production-env",
13
13
  "freeMonthlySavedTokenCap": 1000000,
14
14
  "siteURL": "https://tokenwarden.ai/"
15
15
  },
16
- "signature": "RT_ZoaFoKrO_KejVVNz95yAQ5a-4aODnNvXrPis3SyyShYd22saewDTeAdwj1TgzvfDMgqsgsJn6ebCHP3vLBg"
16
+ "signature": "iF6XOVsohoW2HtnU5Qs-EKi8w7zN-QOFnuWmBEZt1pgkYmyb4GmeeIsfKJohVfaz85PRVvdZ1SYDmKibxxLJBw"
17
17
  }
@@ -8,10 +8,10 @@
8
8
  "platform": "darwin",
9
9
  "arch": "x64",
10
10
  "sha256": "ddba81a47b8bd308839765b04b1c48a837754b4074ff023ca96676019e8e3744",
11
- "builtAt": "2026-06-11T13:11:17.227Z",
11
+ "builtAt": "2026-06-11T13:30:16.184Z",
12
12
  "signingKey": "production-env",
13
13
  "freeMonthlySavedTokenCap": 1000000,
14
14
  "siteURL": "https://tokenwarden.ai/"
15
15
  },
16
- "signature": "XXmqaWJKIVXrAtHoB56wV9jZvIRhwKN7K8HpkgDSGNXPG4enGgw0ACZB46-X9nE66KmEe-KmDG4ALp7HW_lSCg"
16
+ "signature": "ezyJhHQG7TpvCPVjPdIqzlfJznQa1PxmdrH3pkdNiUkAN2qLJrCpofpjHFOPUzSz9-2rbNTZOXYYx_jLRsRmDQ"
17
17
  }
@@ -8,10 +8,10 @@
8
8
  "platform": "linux",
9
9
  "arch": "arm64",
10
10
  "sha256": "06d9ad12796c9870a1a0515af08faa3e27fd1e4485b7c74bfd211ae32d617d7c",
11
- "builtAt": "2026-06-11T13:11:17.227Z",
11
+ "builtAt": "2026-06-11T13:30:16.184Z",
12
12
  "signingKey": "production-env",
13
13
  "freeMonthlySavedTokenCap": 1000000,
14
14
  "siteURL": "https://tokenwarden.ai/"
15
15
  },
16
- "signature": "gfYrL9_bx4dwsv521KZbfYxGQC_6JNRYiMW9ftDMLSpGOA_lIhFi4bJJRXJiDPoC8n8PXE5l3wqlqjHlFya8CQ"
16
+ "signature": "hV-F0bZFuxGCyTE-fEINH2X3dSmr5FhprTKfu5JBpBA09i2XPhRUEAE_eDUXEnGh7lzyjbEZ_r4MzKAI4GZfCQ"
17
17
  }
@@ -8,10 +8,10 @@
8
8
  "platform": "linux",
9
9
  "arch": "x64",
10
10
  "sha256": "92767449e681a41c62fc2f9f732ea3b17d8f99b0d66d42abbffcdf3f0bdff226",
11
- "builtAt": "2026-06-11T13:11:17.227Z",
11
+ "builtAt": "2026-06-11T13:30:16.184Z",
12
12
  "signingKey": "production-env",
13
13
  "freeMonthlySavedTokenCap": 1000000,
14
14
  "siteURL": "https://tokenwarden.ai/"
15
15
  },
16
- "signature": "X0SvGT8joDg3lWaxoKpEKG9F3-H-kI78SpYZn3u3ASTDRKsyj2Krt_YGHU8wqpAGjPziFCtHEpzxTW1W4Yu-Bg"
16
+ "signature": "P9qttm0PvMjLZakkMljYuPKHiNuIeReMiv9U4B-dZLp6khzquS4WI_vhQsXT4tWbICeyYPkJgkylzmY1YYUUCA"
17
17
  }
@@ -7,11 +7,11 @@
7
7
  "binary": "tokenwarden-engine-win32-x64.exe",
8
8
  "platform": "win32",
9
9
  "arch": "x64",
10
- "sha256": "526f1b970820f1a1eebedac34bc46a8eca026589b9f46df20cf9033eaccd1b58",
11
- "builtAt": "2026-06-11T13:11:17.227Z",
10
+ "sha256": "b3467b671d0b2fdfe97955a9fcffb1d0e933c9804dc7591ae72467b5766a03a6",
11
+ "builtAt": "2026-06-11T13:30:16.184Z",
12
12
  "signingKey": "production-env",
13
13
  "freeMonthlySavedTokenCap": 1000000,
14
14
  "siteURL": "https://tokenwarden.ai/"
15
15
  },
16
- "signature": "I0GmzcyNg7yjOJ6NgJ_4xvHLkK4EqEeFzykyUmk-SdAsaFBri681QMFUYb4D4R2bjUhbFzUaCwn5LU8fykvDCQ"
16
+ "signature": "9YCA1ICOOQTHb4Iq1yVgZwbOdoF01TXmdd8C9mJAbbWApeIn78ExixGkpsMGMaXGx2n2dH86eG0O3Sh133UtAw"
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenwarden/opencode",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Local-first opencode cost and context control plugin.",
5
5
  "type": "module",
6
6
  "main": "dist/src/plugin/index.js",