Commit Graph

63 Commits

Author SHA1 Message Date
Cohee 89d3673010 Fix npm audit 2024-04-12 22:13:29 +03:00
Cohee 2af4747936 Bump package version 2024-04-12 22:09:09 +03:00
Cohee d31e4a3bc4 Bump package version 2024-04-05 22:26:35 +03:00
Cohee 8c83095979 Fix npm audit 2024-03-27 14:20:35 +02:00
Cohee ad609c8f94 Fix npm audit 2024-03-15 22:38:20 +02:00
Cohee 2369d35846 Bump package version 2024-03-14 23:10:55 +02:00
Cohee 8bbab12848 Regenerate package lock 2024-03-06 11:53:08 +02:00
valadaptive 4470e87ef9 Un-vendor ai_horde 2024-03-05 08:49:24 -05:00
Cohee 0fcb176408 Bump package version 2024-02-27 21:10:19 +02:00
Cohee 87668f5962 Update tiktoken package 2024-02-10 22:16:59 +02:00
Cohee 97716ea9ca #1681 Remove pkg builds 2024-02-10 21:19:49 +02:00
Cohee 4b845dd442 Add backend for transformers.js whisper 2024-02-02 00:36:40 +02:00
Cohee 4bc7fbcfd7 Bump package version 2024-01-21 15:07:35 +02:00
Cohee 1a80ed7482 Fix npm audit 2024-01-09 01:53:26 +02:00
Cohee 73548faa33 Bump package version 2023-12-23 23:56:09 +02:00
Cohee e74e925428 Bump package version 2023-12-17 03:52:55 +02:00
valadaptive 66953ceba3 Move device type detection to client side
We don't need the server to tell us our user agent--we can get it
ourselves through navigator.userAgent and parse it on the frontend.

I've replaced device-detector-js with Bowser because device-detector-js
is really slow, freezing for up to 500ms to parse a single user agent.
2023-12-14 18:43:59 -05:00
Cohee b09ebb240e Phaseout JSON5 2023-12-03 14:04:43 +02:00
Cohee 4c475afc91
Merge pull request #1428 from valadaptive/eslint-initial
Initial ESLint setup
2023-12-02 17:14:04 +02:00
valadaptive ec0e4026d8 Initial ESLint setup
This sets up ESLint and its config, and disables a bunch of recommended
lints that currently do not pass. Later PRs/commits will fix those lints
and re-enable them.
2023-12-02 09:02:57 -05:00
kingbri 641cd614c8 Server: Fix CORS proxy with POST requests and status codes
POST requests always sent an undefined body without the bodyParser
middleware which isn't included with express by default. Add this
as a new dependency and inject it into the express app. This middleware
will also be useful for any other middleware that we might create.

Also properly send status codes and messages to the client so they
can be handled properly.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-02 01:43:09 -05:00
Cohee c3259d1929 Bump package version 2023-11-30 01:41:20 +02:00
Cohee a7024a1d34 Migrate to config.yaml 2023-11-25 23:45:33 +02:00
Cohee 9e3072f89b Explicitly add form-data to package.json 2023-11-19 21:05:58 +02:00
Cohee 211722d67b Bump package version 2023-11-19 01:34:24 +02:00
Cohee 30f723d9fc Bump package version 2023-11-11 18:26:20 +02:00
Cohee 5331b5dc8a Fix npm audit 2023-11-10 23:54:44 +02:00
Cohee 2a9250c937 Bump package version 2023-10-30 00:50:25 +02:00
Cohee a2d8a2a447 Bump package version 2023-10-27 13:23:10 +03:00
Cohee 1239026a8f Auto-update extensions on version change 2023-10-09 23:45:09 +03:00
yuxiang 0b8295926e add bing translate 2023-10-06 15:51:04 +03:00
Cohee d9b2b9f753 Bump package version 2023-09-23 20:51:55 +03:00
Cohee 11e7ca76e1 Use simpleGit to get app version 2023-09-17 14:27:41 +03:00
Cohee dc1121b72a Remove tensorflow vector source. 2023-09-17 14:09:24 +03:00
Cohee 0f1a0963fd Merge branch 'release' into staging 2023-09-15 15:06:13 +03:00
Cohee 2b3055a84a Webp cards format is no longer supported 2023-09-15 14:56:15 +03:00
Cohee 179de92231 Use transformers WASM binaries from a local folder 2023-09-14 14:11:37 +03:00
Cohee f149fc9aaa Endpoint for local captioning pipeline 2023-09-11 04:47:14 +03:00
Cohee 17367f2b17 Bump package version 2023-09-10 19:06:36 +03:00
Cohee 180dcefe40 Patch onnx to always use wasm 2023-09-09 16:55:54 +03:00
Cohee b605b940eb Replace transformers.js with patched version 2023-09-09 16:29:11 +03:00
Cohee 967a084aad (WIP) Local emotion classification pipeline 2023-09-09 15:14:16 +03:00
Cohee 8c00f38a1f Add local vectors storage 2023-09-07 21:53:47 +03:00
Cohee 3830347d81 Bump package version 2023-09-06 16:06:23 +03:00
Cohee 5409b3dc9b Bump package version 2023-09-06 14:46:45 +03:00
rbmj 6c097560ca
goodbye axios (#1073)
* goodbye axios

* Rewrite error handling for OpenAI

* Increase instruct sequence length limit

* Buttons markup

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-01 19:00:32 +03:00
Cohee 8f20c87a7d Update package lock 2023-09-01 01:33:37 +03:00
rbmj 5cbd5c8210
get rid of node-rest-client and fix types (#1072)
* get rid of node-rest-client and fix types

* remove from package manager

* postAsync is used above its def, need hoisting

* handle client agent undefined, fixes type error

* handle invalid / missing query.name for sanitize

* more type guards

* Make code formatter happy

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-01 01:30:33 +03:00
rbmj deeedad19e
Make jsdoc/type-checker happy Pt 3 (#1070)
* png-chunks-extract.extract has no create_date

* `new Buffer.from` is not a thing

* handle failed character read

* stop lying about your return value

* what we get for mixing booleans and strings

* localeCompare makes more sense and fixes types

* uhh wtf, there is no callback in readFileSync

* no subtracting Dates, only Numbers (timestamps)

* handle if no file in request

* changing types makes typechecker mad

* handle false or undefined character read

* default param does not exist

* can't have same property assigned twice

* json5.parse expects a string, not buffer

* handle invalid thumbnail type

* handle invalid thumbnail type case

* ignore bad axios typing

* fix ambiguous typing

* types is incorrect? no .destroy(). use type guard

* include intended error handling of refactor

* Make API urls const

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-08-31 19:44:58 +03:00
Cohee ba712f61eb Bump package version 2023-08-29 20:20:06 +03:00