@chimerai/cli 0.2.100 → 1.2.3

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.
@@ -1166,7 +1166,7 @@ export function useChat(options: UseChatOptions = {}): UseChatReturn {
1166
1166
 
1167
1167
  // Refresh conversations to pick up new/updated titles
1168
1168
  refreshConversations();
1169
- fetchCreditBalance();
1169
+ ${hasBilling ? 'fetchCreditBalance();' : ''}
1170
1170
  } catch (error: any) {
1171
1171
  if (error.name !== 'AbortError') {
1172
1172
  setMessages((prev) => {
@@ -1185,7 +1185,7 @@ export function useChat(options: UseChatOptions = {}): UseChatReturn {
1185
1185
  abortControllerRef.current = null;
1186
1186
  }
1187
1187
  },
1188
- [isStreaming, messages, models, selectedModelId, systemPrompt, options, refreshConversations, fetchCreditBalance]
1188
+ [isStreaming, messages, models, selectedModelId, systemPrompt, options, refreshConversations${hasBilling ? ', fetchCreditBalance' : ''}]
1189
1189
  );
1190
1190
 
1191
1191
  // --- Stop Streaming ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chimerai/cli",
3
- "version": "0.2.100",
3
+ "version": "1.2.3",
4
4
  "description": "CLI wizard for ChimerAI starter kit — scaffold auth, RBAC, AI chat, billing and more into any Next.js project",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {