Jonathan Smoley
0ddd59aea1
Upgrade ollama package to 0.5.15 ( #174 )
...
Snyk has created this PR to upgrade ollama from 0.5.14 to 0.5.15.
See this package in npm:
ollama
See this project in Snyk:
https://app.snyk.io/org/jt2m0l3y/project/d8b070a3-e4a3-457a-977b-7eb6a4a48346?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2025-05-09 09:22:14 -07:00
Kevin Dang
a5faca87aa
Fix: missing model env for docker ( #172 )
2025-04-18 19:42:18 -07:00
Jonathan Smoley
4c96b3863a
Upgrade Dependencies ( #164 )
2025-03-28 10:00:50 -07:00
Kevin Dang
40783818b9
Upgrade Npm Packages ( #159 )
...
* Update: upgrade packages
* Update: add in all packages
* Update: fix whitespace in events
---------
Co-authored-by: JT2M0L3Y <jtsmoley@icloud.com >
2025-02-23 21:00:53 -07:00
Jonathan Smoley
456f70b9e1
Deprecated ephemeral field ( #158 )
...
* Update: ephemeral flag added in place of field
* Update: remove unused import
* Update: version increment
---------
Co-authored-by: Kevin Dang <kevinthedang_1@outlook.com >
2025-02-02 15:10:58 -08:00
Jonathan Smoley
5b542aca1a
[Snyk] Upgrade discord.js from 14.16.3 to 14.17.3 ( #155 )
2025-01-31 16:23:31 -08:00
Kevin Dang
2a39e20fee
Text Files As Prompts ( #156 )
...
* Add: .txt file reading
* Update: version increment
2025-01-31 14:12:11 -08:00
Jonathan Smoley
2ea77c92f0
Prepare Redis Environment ( #133 )
...
* add redis container
* Updated Guides and Goals (#134 )
* Update README.md
* Update commands-guide.md
* Update events-guide.md
* Update commands-guide.md
* Added: redis client
* Fixed: redis mock in commands.test.ts
* Updated: npm package patches
* Fixed: redis ip name in keys.ts
* update Node LTS version, workflow env vars
* Updated: node package engine requirements
* Updated: documentation
* fix: upgrade dotenv from 16.4.5 to 16.4.7 (#152 )
Snyk has created this PR to upgrade dotenv from 16.4.5 to 16.4.7.
See this package in npm:
dotenv
See this project in Snyk:
https://app.snyk.io/org/jt2m0l3y/project/d8b070a3-e4a3-457a-977b-7eb6a4a48346?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
* Update: docs patches, connection ordering
---------
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2024-12-30 15:53:29 -08:00
Kevin Dang
6c7e48d369
Delete Model Command ( #150 )
...
* Add: Delete Model Command
* Update: version increment
* Update: new command to tests
2024-12-14 17:06:08 -08:00
Kevin Dang
fe1f7ce5ec
Remove Message Style Command ( #149 )
...
* Remove: Message Style Command
* Update: version increment
2024-12-13 16:55:57 -08:00
Kevin Dang
6ac45afb13
Streamlined Preferences Setup and Default Model ( #148 )
...
* Update: Streamlinded setup and Default Model
* Update: version increment
2024-12-11 17:53:35 -08:00
Kevin Dang
d570a50d46
Pull and Switch Model Revised ( #142 )
...
* Update: pull-model only runnable by admins now
* Update: switch-model cannot pull models anymore
* Update: less technical responses
* Update: version increment
2024-12-04 21:29:01 -08:00
Kevin Dang
33152b33f3
Pull/Switch Model Commands Fix ( #137 )
...
* Update: Channel checker and channel name gone
* Add: note of where problem can be
* Update: Check if model already exists for Pull Command
* Add: User/Admin Command Constants
* Update: version increment
2024-11-08 20:09:01 -08:00
Jonathan Smoley
1ccd1a012e
Roll NPM Dependencies Forward ( #136 )
...
* update channel as sendable
* Update: Casting SendableChannels Once
* Remove: another semicolon
* Update: version increment
---------
Co-authored-by: kevinthedang <kevinthedang_1@outlook.com >
2024-11-08 10:13:16 -08:00
Kevin Dang
9f61f6bc6c
Switch Model Command ( #126 )
2024-10-12 22:03:31 -07:00
Kevin Dang
5061dab335
Remove CLIENT_UID Environment Variable ( #123 )
...
* Remove: Client UID References
* Update: version increment
2024-10-06 18:57:39 -07:00
Kevin Dang
947ff89958
Environment Variable Validation ( #122 )
...
* Update: env validation and discord token validation
* Add: IPv4 Address Validation
* Update: version increment
2024-10-05 19:29:01 -07:00
Kevin Dang
e3b0c9abe4
Message Attachment Image Recognition ( #118 )
...
* Add: Image recognition
* Fix: Non-Attachment Query
* Update: version increment
* Remove: Debugging logs from buffer file
* Add: comments for bufferHandler
2024-09-18 20:28:23 -07:00
Kevin Dang
36a0cd309b
Removed Channel Toggle Command ( #115 )
...
* Remove: channel-toggle as command and server config
* Remove: Thread interface
* Fix: Users Thread files will now delete
* Fix: Any user can chat in threads now
* Fix: Thread history files are now deleted with multiple users
* Update: version increment
2024-09-14 13:34:40 -07:00
Kevin Dang
b49b464afb
Script Cleaning and Fixes ( #114 )
...
* organized existing scripts
* Delete nodemon.json
* exclude test/* from vitest
* remove nodemon from package
* Update: slight adjustments to package.json and readme
* Update: more small changes to readme
* Fix: cleanup scripts and start scripts
---------
Co-authored-by: JT2M0L3Y <jtsmoley@icloud.com >
2024-09-05 19:15:44 -07:00
Kevin Dang
2caf54346a
Dependency Upgrade ( #111 )
...
* update: dependency upgrade
* update: version increment
2024-08-31 15:20:54 -07:00
Kevin Dang
42ef38db14
Data Directory on Chat for Preferences ( #105 )
...
* Fix: data directory created on for openConfig
* Update: version increment
2024-08-03 09:50:03 -07:00
Kevin Dang
b361636a93
Push Docker Image Pipeline ( #97 )
...
* Update: run build after merge
* Add: deploy image pipeline to docker
* Update: release pipeline
* Add: release with latest tag
* Update: docker username as vars because its not really a secret
* Remove: workflow bot token and guild_id
* Add: supplimentary guild_id and token
* Update: version increment
2024-08-01 17:46:43 -07:00
Kevin Dang
060494e883
Adjusted Slash Command Scope ( #91 )
...
* Update: Slash Command Scope
* Update: version increment
2024-07-31 06:19:23 -07:00
Kevin Dang
352d88ee9d
Clear User Channel History Command ( #88 )
...
* Add: Clear user channel message history command
* Update: Checks if messages are empty and has clearer replies
* Fix: Issue where duplication happens on channel-toggle true in threads
* Update: version increment
* Fix: Missing test case for commands.test.ts
* Readability fix
---------
Co-authored-by: Jonathan Smoley <67881240+JT2M0L3Y@users.noreply.github.com >
2024-07-25 14:26:50 -07:00
Kevin Dang
b498276978
Dependency Upgrade ( #85 )
...
* Update: dependencies upgrade
* Fix: Run tests at root scope
2024-07-23 15:41:16 -07:00
Kevin Dang
ae9cac65a9
PR Template Update ( #84 )
...
* Update: version increment and reminder on template
* Update: comment on incrementing as necessary
2024-07-11 17:08:34 -07:00
Kevin Dang
35b9ad71cb
User vs Server Preferences ( #80 )
...
* Update: Server vs User prefs
* Add: User vs Server Prefs
* Update: version increment
* Fix: src and tests added to validation range
2024-07-04 13:54:25 -07:00
Kevin Dang
de15185cff
Channel/Thread Chat Toggle ( #75 )
...
* Add: Some Commands work in GuildText
* Add: Channel Toggle Command
* Add: Channel History handler by user
* Update: version increment
* Update: Testing scope
* Update: env sample
* Update: Readme goal checks
* Update: builds run on PR to validate them
2024-06-22 20:57:38 -07:00
Kevin Dang
1041f4ca0b
Dependencies and Readme Updates ( #74 )
2024-06-17 19:21:46 -07:00
Kevin Dang
32b12e93c0
Infinite Message Length for Streamed Messages ( #70 )
...
* Add: Infinite Stream messages
* Update: version increment
2024-06-16 18:20:23 -07:00
Kevin Dang
1973b1d3ae
Public/Private Chat Threads ( #62 )
...
* add: validate thread creation in ollama channel
* rm: channel_id variable
* add: short notes for threads
* update: openFile to openConfig for clarity
* update: test ci runs on master
* add: notes for work
* add: basic chat storing via json
* update: stores entire msgHist according to capacity
* add: removes json file if thread is deleted
* add: chats with independent histories
* add: private vs public threads
* update: validate threads made by ollama for chats
* update: cleanup and version increment
2024-06-10 19:47:08 -07:00
Jonathan Smoley
9f77c5287f
Initialize unit testing and code coverage
...
* add: vitest configs
* added vitest scripts to package
* test coverage of src code
* initial unit testing
* added new testing workflows
* comments added, overlapping tests removed
* decouple env, tests
---------
Co-authored-by: Kevin Dang <kevinthedang_1@outlook.com >
2024-06-05 08:50:56 -07:00
Kevin Dang
496ce43939
Infinite Message Length for Block Messages ( #55 )
...
* add: message loop for block messages
* add: infinite message length for block embeds
* update: error message on stream length
* rm: unnecessary import
* update: version increment
* update: embed max length
* update: check off features
2024-04-30 19:33:06 -07:00
Kevin Dang
b5194fa645
Discord Administrator Role Permissions ( #54 )
...
* add: admin check for disable
* update: shutoff uses memberPerms now
* rm: superUser env variable
* update: version increment
* rm: admin env in docker and workflow
2024-04-25 11:26:22 -07:00
Kevin Dang
d67106c03e
Chat Stream Integration ( #52 )
...
* rm: axios dependency
* add: stream parsing for normal style
* fix: empty string problem
* add: stream for embedded prompts
* update: version increment
2024-04-21 14:40:30 -07:00
Kevin Dang
ca865b322e
Dependency Updates ( #44 )
...
* update: newer ollama icon
* update: ollama-js dependency
* update: other updated dependencies
2024-04-13 19:59:57 -07:00
Kevin Dang
da1f08a070
Message Blocks for Normal Message Style ( #37 )
...
* add: if check for message length
* update: version increment
* update: readme
2024-04-07 16:09:27 -07:00
Kevin Dang
2bdc7b8583
Capacity Context Modify Command ( #35 )
...
* add: modify capacity command
* update: version increment
2024-04-03 15:22:34 -07:00
Kevin Dang
727731695e
Chat Queue Persistence ( #33 )
...
* fix: workflow env
* update: center title on readme
* update: readme goals and format
* add: icons in readme
* fix: plus margin
* update: environment variables in contr.
* add: queue for chat history
* add: set -e for workflow failure
* update: version increment
* fix: client null info
* fix: shutoff issues
2024-04-02 22:04:09 -07:00
Kevin Dang
fcb0267559
Shutoff Bot Command ( #30 )
...
* add: disable chat command
* update: workflow name
* add: shutoff using admin env list
* update: sample env for admins
* fix: shutdown booleans
* update: version increment
2024-04-01 00:43:19 -07:00
Kevin Dang
6b903cff5e
Auto-Generate Config ( #29 )
...
* fix: name in job
* add: auto create config.json on missing
* update: readme goals
* add: clarify instructions on fail chat
* update: reduced redundancy in package file
2024-03-30 22:02:49 -07:00
Kevin Dang
9320a7476e
CI for Application Builds ( #27 )
2024-03-29 23:33:03 -07:00
Kevin Dang
43fb2ea94e
User Preferences and Setup Docs ( #20 )
...
* added message style command
* docker setup scripts
* reformat messageStyle.ts
* fix: register unregister on deploy
* add: messageStream preference
* add: json config handler
* update: messageCreate gets config
* update: shifted chat to config callback
* fix: naming conventions based on discord
* update: setup in docs now
* add: static docker ips
* version increment
* add: bot message for no config
* fix: no config case
* add: clarification for subnetting
* update: version increment in lock file
---------
Co-authored-by: JT2M0L3Y <jtsmoley@icloud.com >
2024-03-22 10:37:06 -07:00
Kevin Dang
ca6b8c3f9c
Docker Container Setup ( #15 )
...
* minor package update and env
* added docker scripts
* added working docker compose
* fixed docker container bridge
2024-02-07 09:59:06 -08:00
Kevin Dang
89c19990fa
slash commands integrated
...
* sample env and late version incr
* added slash command compatibility
* updated command name
* updated environment sample
* updated interaction comment
2024-01-31 10:28:02 -08:00
Kevin Dang
aaf734b06c
added ollamajs esm
2024-01-25 18:24:37 -08:00
Kevin Dang
78921ee571
added persistence in chat endpoint
2024-01-23 22:24:26 -08:00
Kevin Dang
4bcaae8461
ollama responds to discord msgs
2023-12-25 18:59:07 -08:00
Kevin Dang
c9dfd3671d
NodeJS TypeScript Setup ( #1 )
...
* bot can login to discord
* changed node and npm to iron lts
* added typescript runnables
* more dev scripts
* readme update on scripts
* event handling skeleton
* fixed compiler target issue
2023-12-22 11:22:16 -08:00