agent-limit 0.6.0 → 0.6.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/bin/cli.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bun
2
- /** @jsxImportSource @opentui/react */
3
2
 
3
+ import React from "react";
4
4
  import { createCliRenderer } from "@opentui/core";
5
5
  import { createRoot } from "@opentui/react";
6
6
  import { App } from "../src/App";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-limit",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "Terminal dashboard to monitor Claude Code, Codex, and other agent usage limits",
5
5
  "type": "module",
6
6
  "main": "src/index.tsx",
package/src/App.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { useEffect, useState, useCallback } from "react";
1
+ import React, { useEffect, useState, useCallback } from "react";
2
2
  import { useKeyboard } from "@opentui/react";
3
3
  import { Header, Footer, Dashboard } from "./components";
4
4
  import { fetchAllProviders, type ProviderStatus } from "./providers";
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { ProviderStatus } from "../providers/types";
2
3
  import { ProviderCard } from "./ProviderCard";
3
4
 
@@ -1,3 +1,5 @@
1
+ import React from "react";
2
+
1
3
  export function Footer() {
2
4
  return (
3
5
  <box
@@ -1,3 +1,5 @@
1
+ import React from "react";
2
+
1
3
  interface HeaderProps {
2
4
  lastRefresh: Date | null;
3
5
  isLoading: boolean;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { getUsageColor } from "../utils/colors";
2
3
 
3
4
  interface ProgressBarProps {
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { ProviderStatus } from "../providers/types";
2
3
  import { PROVIDER_COLORS, getStatusColor } from "../utils/colors";
3
4
  import { ProgressBar } from "./ProgressBar";
package/src/index.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { createCliRenderer } from "@opentui/core";
2
3
  import { createRoot } from "@opentui/react";
3
4
  import { App } from "./App";