diff --git a/cache/timer.yaml b/cache/timer.yaml index bbdb945..43efb0c 100644 --- a/cache/timer.yaml +++ b/cache/timer.yaml @@ -1 +1 @@ -licenseupdate: 1750964534 +licenseupdate: 1751307798 diff --git a/content/index.txt b/content/index.txt deleted file mode 100644 index 3956c8b..0000000 --- a/content/index.txt +++ /dev/null @@ -1 +0,0 @@ -["# Typemill","Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown. Create handbooks, documentation, manuals, reports, traditional websites, online novels, and more.","Log in to the author area at [\/tm\/login](\/tm\/login).","{.center loading=\"lazy\" width=\"820\" height=\"470\"}","Stay in the loop and subscribe to the [Typemill newsletter](https:\/\/typemill.net\/news)!"] \ No newline at end of file diff --git a/system/typemill/Controllers/ControllerApiKixote.php b/system/typemill/Controllers/ControllerApiKixote.php index 8c1d086..3aa6604 100644 --- a/system/typemill/Controllers/ControllerApiKixote.php +++ b/system/typemill/Controllers/ControllerApiKixote.php @@ -143,20 +143,30 @@ class ControllerApiKixote extends Controller } } - # get toke stats for AI service + # get token stats for AI service if($aiservice && $useragreement) { switch ($aiservice) { case 'chatgpt': $tokenstats = [ - 'url' => 'https://platform.openai.com/settings/organization/billing/overview', - 'label' => 'ChatGPT Billing' + 'service' => 'ChatGPT', + 'url' => 'https://platform.openai.com/settings/organization/billing/overview', + ]; + break; + + case 'claude': + $tokenstats = [ + 'service' => 'Claude', + 'url' => 'https://console.anthropic.com/usage', ]; break; default: - $tokenstats = 0; + $tokenstats = [ + 'service' => 'Kixote', + 'token' => 0 + ]; break; } } @@ -395,7 +405,7 @@ class ControllerApiKixote extends Controller ]; $apiservice = new ApiCalls(); - $apiservice->setTimeout(30); + $apiservice->setTimeout(120); $apiResponse = $apiservice->makePostCall($url, $postdata, $authHeader); if (!$apiResponse) @@ -467,7 +477,7 @@ class ControllerApiKixote extends Controller ]; $apiservice = new ApiCalls(); - $apiservice->setTimeout(30); + $apiservice->setTimeout(120); $apiResponse = $apiservice->makePostCall($url, $postdata, $headers); if (!$apiResponse) { diff --git a/system/typemill/author/css/output.css b/system/typemill/author/css/output.css index ad949f6..035cff2 100644 --- a/system/typemill/author/css/output.css +++ b/system/typemill/author/css/output.css @@ -1238,10 +1238,6 @@ video { white-space: nowrap; } -.rounded-lg { - border-radius: 0.5rem; -} - .border { border-width: 1px; } @@ -1884,11 +1880,6 @@ video { color: rgb(28 25 23 / var(--tw-text-opacity)); } -.text-teal-300 { - --tw-text-opacity: 1; - color: rgb(94 234 212 / var(--tw-text-opacity)); -} - .text-teal-500 { --tw-text-opacity: 1; color: rgb(20 184 166 / var(--tw-text-opacity)); @@ -2105,11 +2096,6 @@ video { color: rgb(250 250 249 / var(--tw-text-opacity)); } -.hover\:text-stone-700:hover { - --tw-text-opacity: 1; - color: rgb(68 64 60 / var(--tw-text-opacity)); -} - .hover\:text-stone-800:hover { --tw-text-opacity: 1; color: rgb(41 37 36 / var(--tw-text-opacity)); @@ -2310,6 +2296,11 @@ video { border-color: rgb(68 64 60 / var(--tw-border-opacity)); } +.dark\:hover\:bg-rose-500:hover:is(.dark *) { + --tw-bg-opacity: 1; + background-color: rgb(244 63 94 / var(--tw-bg-opacity)); +} + .dark\:hover\:bg-stone-200:hover:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(231 229 228 / var(--tw-bg-opacity)); @@ -2355,6 +2346,11 @@ video { color: rgb(28 25 23 / var(--tw-text-opacity)); } +.hover\:dark\:text-teal-600:is(.dark *):hover { + --tw-text-opacity: 1; + color: rgb(13 148 136 / var(--tw-text-opacity)); +} + .focus\:dark\:border-stone-600:is(.dark *):focus { --tw-border-opacity: 1; border-color: rgb(87 83 78 / var(--tw-border-opacity)); diff --git a/system/typemill/author/js/vue-kixote.js b/system/typemill/author/js/vue-kixote.js index 0afc6ed..79edf83 100644 --- a/system/typemill/author/js/vue-kixote.js +++ b/system/typemill/author/js/vue-kixote.js @@ -169,54 +169,37 @@ const kixote = Vue.createApp({
AI service: {{ aiservice }}
+No AI service has been activated.
You can enable and configure one in the system settings to start using AI features.
Ki> - +