@chrryai/chrry 1.1.83 → 1.1.85
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/index.d.mts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +2389 -9522
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1938 -9089
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import z$1, { z } from 'zod';
|
|
2
|
-
import { BrowserAPIType } from '@repo/extension/src/browser-api';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import React__default, { ReactNode } from 'react';
|
|
5
4
|
|
|
@@ -1199,6 +1198,8 @@ declare const getHourlyLimit: ({ member, guest, app, }: {
|
|
|
1199
1198
|
}) | null;
|
|
1200
1199
|
}) => 30 | 100 | 5000 | 500 | 200 | 10;
|
|
1201
1200
|
|
|
1201
|
+
type BrowserAPIType = typeof chrome | typeof browser;
|
|
1202
|
+
|
|
1202
1203
|
declare const checkIsExtension: () => boolean;
|
|
1203
1204
|
|
|
1204
1205
|
declare const getExtensionUrl: () => any;
|
|
@@ -1212,9 +1213,10 @@ declare const isDevelopment: boolean;
|
|
|
1212
1213
|
declare const MAX_TOOL_CALLS_PER_MESSAGE = 7;
|
|
1213
1214
|
declare const WS_URL: string;
|
|
1214
1215
|
declare const addParam: (key: string, value: string) => void;
|
|
1215
|
-
declare const API_URL: string;
|
|
1216
|
-
declare const PROD_FRONTEND_URL = "https://askvex.com";
|
|
1217
1216
|
declare const FRONTEND_URL: string;
|
|
1217
|
+
declare const PROD_FRONTEND_URL: string;
|
|
1218
|
+
declare const API_URL: string;
|
|
1219
|
+
declare const apiFetch: (url: string, options?: RequestInit) => Promise<Response>;
|
|
1218
1220
|
declare const PROMPT_LIMITS: {
|
|
1219
1221
|
INPUT: number;
|
|
1220
1222
|
INSTRUCTIONS: number;
|
|
@@ -1276,7 +1278,7 @@ declare const isFirefox: boolean;
|
|
|
1276
1278
|
declare function getFlag({ code }: {
|
|
1277
1279
|
code?: string;
|
|
1278
1280
|
}): string;
|
|
1279
|
-
declare const VERSION = "1.1.
|
|
1281
|
+
declare const VERSION = "1.1.85";
|
|
1280
1282
|
type instructionBase = {
|
|
1281
1283
|
id: string;
|
|
1282
1284
|
title: string;
|
|
@@ -1413,4 +1415,4 @@ interface HistoryRouterProviderProps {
|
|
|
1413
1415
|
*/
|
|
1414
1416
|
declare function HistoryRouterProvider({ children, }: HistoryRouterProviderProps): React.JSX.Element;
|
|
1415
1417
|
|
|
1416
|
-
export { ADDITIONAL_CREDITS, API_URL, type ApiActions, BrowserInstance, CHRRY_URL, CREDITS_PRICE, type CalendarEventFormData, Chrry, FREE_DAYS, FRONTEND_URL, HistoryRouterProvider, MAX_FILE_SIZES, MAX_TOOL_CALLS_PER_MESSAGE, OWNER_CREDITS, PDF_LIMITS, PLUS_PRICE, PROD_FRONTEND_URL, PROMPT_LIMITS, PRO_PRICE, Sidebar, Store, TEST_GUEST_FINGERPRINTS, TEST_MEMBER_EMAILS, TEST_MEMBER_FINGERPRINTS, VERSION, WS_URL, addParam, budgetCategory, capitalizeFirstLetter, checkIsExtension, checkThreadSummaryLimit, createApp, createCalendarEvent, deleteApp, deleteCalendarEvent, deleteMemories, deleteMessage, deleteSubscription, exampleInstructions, expenseCategory, type expenseCategoryType, exportToGoogleCalendar, extensionSuggestions, getActions, getBrowserAPI, getBrowserIdentity, getCalendarEvents, getDailyImageLimit, getExampleInstructions, getExtensionUrl, getFlag, getGuest, getHourlyLimit, getInstructionConfig, getLastMessage, getRedirectURL, getSession, getThread, getThreads, getUser, getUsers, getWeatherCacheTime, type instructionBase, isCI, isCollaborator, isDeepEqual, isDevelopment, isE2E, isFirefox, isOwner, isValidUsername, pageSizes, removeParam, removeUser, reorderApps, storage, syncGoogleCalendar, trackEvent, trackPlausibleEvent, updateApp, updateCalendarEvent, updateCollaboration, updateGuest, updateMessage, updateThread, updateUser, uploadUserImage, useCountdown, useDeviceInfo, useHasHydrated, useLocalStorage, usePWAInstall };
|
|
1418
|
+
export { ADDITIONAL_CREDITS, API_URL, type ApiActions, BrowserInstance, CHRRY_URL, CREDITS_PRICE, type CalendarEventFormData, Chrry, FREE_DAYS, FRONTEND_URL, HistoryRouterProvider, MAX_FILE_SIZES, MAX_TOOL_CALLS_PER_MESSAGE, OWNER_CREDITS, PDF_LIMITS, PLUS_PRICE, PROD_FRONTEND_URL, PROMPT_LIMITS, PRO_PRICE, Sidebar, Store, TEST_GUEST_FINGERPRINTS, TEST_MEMBER_EMAILS, TEST_MEMBER_FINGERPRINTS, VERSION, WS_URL, addParam, apiFetch, budgetCategory, capitalizeFirstLetter, checkIsExtension, checkThreadSummaryLimit, createApp, createCalendarEvent, deleteApp, deleteCalendarEvent, deleteMemories, deleteMessage, deleteSubscription, exampleInstructions, expenseCategory, type expenseCategoryType, exportToGoogleCalendar, extensionSuggestions, getActions, getBrowserAPI, getBrowserIdentity, getCalendarEvents, getDailyImageLimit, getExampleInstructions, getExtensionUrl, getFlag, getGuest, getHourlyLimit, getInstructionConfig, getLastMessage, getRedirectURL, getSession, getThread, getThreads, getUser, getUsers, getWeatherCacheTime, type instructionBase, isCI, isCollaborator, isDeepEqual, isDevelopment, isE2E, isFirefox, isOwner, isValidUsername, pageSizes, removeParam, removeUser, reorderApps, storage, syncGoogleCalendar, trackEvent, trackPlausibleEvent, updateApp, updateCalendarEvent, updateCollaboration, updateGuest, updateMessage, updateThread, updateUser, uploadUserImage, useCountdown, useDeviceInfo, useHasHydrated, useLocalStorage, usePWAInstall };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import z$1, { z } from 'zod';
|
|
2
|
-
import { BrowserAPIType } from '@repo/extension/src/browser-api';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import React__default, { ReactNode } from 'react';
|
|
5
4
|
|
|
@@ -1199,6 +1198,8 @@ declare const getHourlyLimit: ({ member, guest, app, }: {
|
|
|
1199
1198
|
}) | null;
|
|
1200
1199
|
}) => 30 | 100 | 5000 | 500 | 200 | 10;
|
|
1201
1200
|
|
|
1201
|
+
type BrowserAPIType = typeof chrome | typeof browser;
|
|
1202
|
+
|
|
1202
1203
|
declare const checkIsExtension: () => boolean;
|
|
1203
1204
|
|
|
1204
1205
|
declare const getExtensionUrl: () => any;
|
|
@@ -1212,9 +1213,10 @@ declare const isDevelopment: boolean;
|
|
|
1212
1213
|
declare const MAX_TOOL_CALLS_PER_MESSAGE = 7;
|
|
1213
1214
|
declare const WS_URL: string;
|
|
1214
1215
|
declare const addParam: (key: string, value: string) => void;
|
|
1215
|
-
declare const API_URL: string;
|
|
1216
|
-
declare const PROD_FRONTEND_URL = "https://askvex.com";
|
|
1217
1216
|
declare const FRONTEND_URL: string;
|
|
1217
|
+
declare const PROD_FRONTEND_URL: string;
|
|
1218
|
+
declare const API_URL: string;
|
|
1219
|
+
declare const apiFetch: (url: string, options?: RequestInit) => Promise<Response>;
|
|
1218
1220
|
declare const PROMPT_LIMITS: {
|
|
1219
1221
|
INPUT: number;
|
|
1220
1222
|
INSTRUCTIONS: number;
|
|
@@ -1276,7 +1278,7 @@ declare const isFirefox: boolean;
|
|
|
1276
1278
|
declare function getFlag({ code }: {
|
|
1277
1279
|
code?: string;
|
|
1278
1280
|
}): string;
|
|
1279
|
-
declare const VERSION = "1.1.
|
|
1281
|
+
declare const VERSION = "1.1.85";
|
|
1280
1282
|
type instructionBase = {
|
|
1281
1283
|
id: string;
|
|
1282
1284
|
title: string;
|
|
@@ -1413,4 +1415,4 @@ interface HistoryRouterProviderProps {
|
|
|
1413
1415
|
*/
|
|
1414
1416
|
declare function HistoryRouterProvider({ children, }: HistoryRouterProviderProps): React.JSX.Element;
|
|
1415
1417
|
|
|
1416
|
-
export { ADDITIONAL_CREDITS, API_URL, type ApiActions, BrowserInstance, CHRRY_URL, CREDITS_PRICE, type CalendarEventFormData, Chrry, FREE_DAYS, FRONTEND_URL, HistoryRouterProvider, MAX_FILE_SIZES, MAX_TOOL_CALLS_PER_MESSAGE, OWNER_CREDITS, PDF_LIMITS, PLUS_PRICE, PROD_FRONTEND_URL, PROMPT_LIMITS, PRO_PRICE, Sidebar, Store, TEST_GUEST_FINGERPRINTS, TEST_MEMBER_EMAILS, TEST_MEMBER_FINGERPRINTS, VERSION, WS_URL, addParam, budgetCategory, capitalizeFirstLetter, checkIsExtension, checkThreadSummaryLimit, createApp, createCalendarEvent, deleteApp, deleteCalendarEvent, deleteMemories, deleteMessage, deleteSubscription, exampleInstructions, expenseCategory, type expenseCategoryType, exportToGoogleCalendar, extensionSuggestions, getActions, getBrowserAPI, getBrowserIdentity, getCalendarEvents, getDailyImageLimit, getExampleInstructions, getExtensionUrl, getFlag, getGuest, getHourlyLimit, getInstructionConfig, getLastMessage, getRedirectURL, getSession, getThread, getThreads, getUser, getUsers, getWeatherCacheTime, type instructionBase, isCI, isCollaborator, isDeepEqual, isDevelopment, isE2E, isFirefox, isOwner, isValidUsername, pageSizes, removeParam, removeUser, reorderApps, storage, syncGoogleCalendar, trackEvent, trackPlausibleEvent, updateApp, updateCalendarEvent, updateCollaboration, updateGuest, updateMessage, updateThread, updateUser, uploadUserImage, useCountdown, useDeviceInfo, useHasHydrated, useLocalStorage, usePWAInstall };
|
|
1418
|
+
export { ADDITIONAL_CREDITS, API_URL, type ApiActions, BrowserInstance, CHRRY_URL, CREDITS_PRICE, type CalendarEventFormData, Chrry, FREE_DAYS, FRONTEND_URL, HistoryRouterProvider, MAX_FILE_SIZES, MAX_TOOL_CALLS_PER_MESSAGE, OWNER_CREDITS, PDF_LIMITS, PLUS_PRICE, PROD_FRONTEND_URL, PROMPT_LIMITS, PRO_PRICE, Sidebar, Store, TEST_GUEST_FINGERPRINTS, TEST_MEMBER_EMAILS, TEST_MEMBER_FINGERPRINTS, VERSION, WS_URL, addParam, apiFetch, budgetCategory, capitalizeFirstLetter, checkIsExtension, checkThreadSummaryLimit, createApp, createCalendarEvent, deleteApp, deleteCalendarEvent, deleteMemories, deleteMessage, deleteSubscription, exampleInstructions, expenseCategory, type expenseCategoryType, exportToGoogleCalendar, extensionSuggestions, getActions, getBrowserAPI, getBrowserIdentity, getCalendarEvents, getDailyImageLimit, getExampleInstructions, getExtensionUrl, getFlag, getGuest, getHourlyLimit, getInstructionConfig, getLastMessage, getRedirectURL, getSession, getThread, getThreads, getUser, getUsers, getWeatherCacheTime, type instructionBase, isCI, isCollaborator, isDeepEqual, isDevelopment, isE2E, isFirefox, isOwner, isValidUsername, pageSizes, removeParam, removeUser, reorderApps, storage, syncGoogleCalendar, trackEvent, trackPlausibleEvent, updateApp, updateCalendarEvent, updateCollaboration, updateGuest, updateMessage, updateThread, updateUser, uploadUserImage, useCountdown, useDeviceInfo, useHasHydrated, useLocalStorage, usePWAInstall };
|