agent-board-runner 0.1.3 → 0.1.4

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/dist/cli.js CHANGED
@@ -1169,11 +1169,16 @@ function formatPercent(value) {
1169
1169
  }
1170
1170
 
1171
1171
  function buildDisplayText(data) {
1172
- const rateLimits = data && data.rate_limits;
1173
- if (!rateLimits) return "";
1174
1172
  const parts = [];
1175
- if (rateLimits.five_hour) parts.push(\`5h \${formatPercent(rateLimits.five_hour.used_percentage)}\`);
1176
- if (rateLimits.seven_day) parts.push(\`7d \${formatPercent(rateLimits.seven_day.used_percentage)}\`);
1173
+ const contextWindow = data && data.context_window;
1174
+ if (contextWindow && typeof contextWindow.used_percentage === "number") {
1175
+ parts.push(\`ctx \${formatPercent(contextWindow.used_percentage)}\`);
1176
+ }
1177
+ const rateLimits = data && data.rate_limits;
1178
+ if (rateLimits) {
1179
+ if (rateLimits.five_hour) parts.push(\`5h \${formatPercent(rateLimits.five_hour.used_percentage)}\`);
1180
+ if (rateLimits.seven_day) parts.push(\`7d \${formatPercent(rateLimits.seven_day.used_percentage)}\`);
1181
+ }
1177
1182
  return parts.join(" \xB7 ");
1178
1183
  }
1179
1184
 
package/dist/index.js CHANGED
@@ -1007,11 +1007,16 @@ function formatPercent(value) {
1007
1007
  }
1008
1008
 
1009
1009
  function buildDisplayText(data) {
1010
- const rateLimits = data && data.rate_limits;
1011
- if (!rateLimits) return "";
1012
1010
  const parts = [];
1013
- if (rateLimits.five_hour) parts.push(\`5h \${formatPercent(rateLimits.five_hour.used_percentage)}\`);
1014
- if (rateLimits.seven_day) parts.push(\`7d \${formatPercent(rateLimits.seven_day.used_percentage)}\`);
1011
+ const contextWindow = data && data.context_window;
1012
+ if (contextWindow && typeof contextWindow.used_percentage === "number") {
1013
+ parts.push(\`ctx \${formatPercent(contextWindow.used_percentage)}\`);
1014
+ }
1015
+ const rateLimits = data && data.rate_limits;
1016
+ if (rateLimits) {
1017
+ if (rateLimits.five_hour) parts.push(\`5h \${formatPercent(rateLimits.five_hour.used_percentage)}\`);
1018
+ if (rateLimits.seven_day) parts.push(\`7d \${formatPercent(rateLimits.seven_day.used_percentage)}\`);
1019
+ }
1015
1020
  return parts.join(" \xB7 ");
1016
1021
  }
1017
1022
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-board-runner",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Local runner for Agent Board — signs in with your own Supabase account (no shared secrets) and drives Claude Code against repos under your local repos root.",
5
5
  "type": "module",
6
6
  "bin": {