pacnpal
1f0a2573c4
feat: Implement optimization plan for Markov Discord bot
...
- Added `optimization-plan.md` detailing strategies to reduce response latency and improve training throughput.
- Enhanced performance analysis in `performance-analysis.md` with identified bottlenecks and completed optimizations.
- Created `productContext.md` summarizing project goals, user scenarios, and implementation priorities.
- Developed `markov-store.ts` for high-performance serialized chain storage with alias method sampling.
- Implemented database performance indexes in `1704067200000-AddPerformanceIndexes.ts`.
- Introduced `markov-worker.ts` for handling CPU-intensive operations in separate threads.
- Established a worker pool in `worker-pool.ts` to manage multiple worker threads efficiently.
2025-09-25 13:39:22 -04:00
pacnpal
239ded1669
Update file permissions for multiple project files and add force retrain option in training script
2025-09-25 10:04:34 -04:00
pacnpal
ec0c4e6c84
Added several things: Parser to import JSON from DiscordChatExporter, ability to train without bot running and more.
2024-12-27 11:17:21 -05:00
dependabot[bot]
e528b947a2
Bump systeminformation from 5.21.8 to 5.23.14
...
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation ) from 5.21.8 to 5.23.14.
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.21.8...v5.23.14 )
---
updated-dependencies:
- dependency-name: systeminformation
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-20 19:27:04 +00:00
charlocharlie
8327775302
Update to Node 20 and Discord.js 14.
...
Fix empty attachment bug (#61 ).
2024-07-20 21:43:20 -05:00
Charlie Laabs
2694169da1
Merge pull request #65 from claabs/dependabot/npm_and_yarn/json5-2.2.3
...
Bump json5 from 1.0.1 to 2.2.3
2024-06-22 20:38:54 -05:00
Charlie Laabs
461b13f38b
Merge pull request #64 from claabs/dependabot/npm_and_yarn/multi-25159b4bc7
...
Bump ws and @pm2/agent
2024-06-22 20:38:15 -05:00
dependabot[bot]
f066ab9a19
Bump json5 from 1.0.1 to 2.2.3
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-23 01:37:51 +00:00
dependabot[bot]
98689926c4
Bump ws and @pm2/agent
...
Bumps [ws](https://github.com/websockets/ws ) and @pm2/agent. These dependencies needed to be updated together.
Updates `ws` from 8.6.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.6.0...8.17.1 )
Updates `ws` from 7.5.9 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.6.0...8.17.1 )
Updates `@pm2/agent` from 2.0.1 to 2.0.4
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
- dependency-name: ws
dependency-type: indirect
- dependency-name: "@pm2/agent"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-19 13:48:38 +00:00
dependabot[bot]
e935b5eec2
Bump braces from 3.0.2 to 3.0.3
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-17 20:24:29 +00:00
dependabot[bot]
90076d3a75
Bump follow-redirects from 1.15.5 to 1.15.6
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-17 00:38:44 +00:00
Charlie Laabs
0c4ae8ab84
Merge pull request #59 from claabs/dependabot/npm_and_yarn/ip-1.1.9
...
Bump ip from 1.1.5 to 1.1.9
2024-02-21 22:46:24 -06:00
dependabot[bot]
bb0c926cd2
Bump ip from 1.1.5 to 1.1.9
...
Bumps [ip](https://github.com/indutny/node-ip ) from 1.1.5 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.5...v1.1.9 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-21 13:30:50 +00:00
dependabot[bot]
341a06df5b
Bump axios and pm2
...
Removes [axios](https://github.com/axios/axios ). It's no longer used after updating ancestor dependency [pm2](https://github.com/Unitech/pm2 ). These dependencies need to be updated together.
Removes `axios`
Updates `pm2` from 5.2.0 to 5.3.1
- [Release notes](https://github.com/Unitech/pm2/releases )
- [Changelog](https://github.com/Unitech/pm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Unitech/pm2/compare/5.2.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: indirect
- dependency-name: pm2
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-21 11:23:57 +00:00
dependabot[bot]
5b390da87b
Bump follow-redirects from 1.14.9 to 1.15.4
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.9 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.9...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-09 19:41:09 +00:00
dependabot[bot]
5516f0e7b7
Bump systeminformation from 5.10.0 to 5.21.8
...
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation ) from 5.10.0 to 5.21.8.
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.10.0...v5.21.8 )
---
updated-dependencies:
- dependency-name: systeminformation
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-21 17:16:44 +00:00
dependabot[bot]
fc1e1d2eae
Bump semver from 5.7.1 to 5.7.2
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-01 01:07:38 +00:00
dependabot[bot]
d0a87ef785
Bump word-wrap from 1.2.3 to 1.2.4
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-18 20:24:19 +00:00
dependabot[bot]
a8bb95015d
Bump vm2 from 3.9.17 to 3.9.19
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.17 to 3.9.19.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.17...3.9.19 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-17 04:20:35 +00:00
dependabot[bot]
026354b9c0
Bump vm2 from 3.9.16 to 3.9.17
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.16 to 3.9.17.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.16...3.9.17 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-20 15:19:55 +00:00
dependabot[bot]
9dd7f1c301
Bump vm2 from 3.9.15 to 3.9.16
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.15 to 3.9.16.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.15...3.9.16 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-12 21:17:54 +00:00
dependabot[bot]
55ed839c95
Bump xml2js and typeorm
...
Removes [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js ). It's no longer used after updating ancestor dependency [typeorm](https://github.com/typeorm/typeorm ). These dependencies need to be updated together.
Removes `xml2js`
Updates `typeorm` from 0.3.6 to 0.3.14
- [Release notes](https://github.com/typeorm/typeorm/releases )
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md )
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.6...0.3.14 )
---
updated-dependencies:
- dependency-name: xml2js
dependency-type: indirect
- dependency-name: typeorm
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-11 21:00:43 +00:00
dependabot[bot]
d94537b118
Bump vm2 from 3.9.11 to 3.9.15
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.11 to 3.9.15.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.11...3.9.15 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-07 20:40:18 +00:00
dependabot[bot]
00585ef444
Bump class-validator from 0.13.2 to 0.14.0
...
Bumps [class-validator](https://github.com/typestack/class-validator ) from 0.13.2 to 0.14.0.
- [Release notes](https://github.com/typestack/class-validator/releases )
- [Changelog](https://github.com/typestack/class-validator/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/typestack/class-validator/compare/v0.13.2...v0.14.0 )
---
updated-dependencies:
- dependency-name: class-validator
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-11 23:20:40 +00:00
dependabot[bot]
b3dcf6f322
Bump json5 from 2.2.1 to 2.2.2
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-30 17:40:42 +00:00
dependabot[bot]
88020ed91e
Bump fast-json-patch from 3.1.0 to 3.1.1
...
Bumps [fast-json-patch](https://github.com/Starcounter-Jack/JSON-Patch ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/Starcounter-Jack/JSON-Patch/releases )
- [Commits](https://github.com/Starcounter-Jack/JSON-Patch/compare/v3.1.0...3.1.1 )
---
updated-dependencies:
- dependency-name: fast-json-patch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-30 17:12:14 +00:00
dependabot[bot]
6c9d55fed5
Bump vm2 from 3.9.8 to 3.9.11
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.8 to 3.9.11.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.8...3.9.11 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-28 13:49:51 +00:00
Charlie Laabs
9adf741b5f
Add train from file and non-clean training option.
...
Closes #31
2022-05-31 22:52:37 -05:00
Charlie Laabs
041fcd27a6
Merge branch 'master' of https://github.com/claabs/markov-discord
2022-05-20 21:49:18 -05:00
Charlie Laabs
0042fda285
Update dependencies to latest
2022-05-20 21:47:51 -05:00
dependabot[bot]
0c1fe34b98
Bump async from 2.6.3 to 2.6.4
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-29 17:11:31 +00:00
Charlie Laabs
4215b5ae13
typeorm 0.3, Dockerfile optmizations
2022-03-25 22:38:20 -05:00
Charlie Laabs
f89bed9e5d
Update dependencies
2022-03-25 20:31:08 -05:00
Charlie Laabs
575a0ac499
Merge branch 'master' of https://github.com/claabs/markov-discord
2022-02-20 18:31:50 -06:00
Charlie Laabs
c696067c58
Update dependencies
2022-02-20 18:30:51 -06:00
dependabot[bot]
c263891bf3
Bump follow-redirects from 1.14.7 to 1.14.8
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-15 01:48:19 +00:00
dependabot[bot]
c2ba30d935
Bump vm2 from 3.9.5 to 3.9.7
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.7 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-15 00:52:09 +00:00
Charlie Laabs
e532247b6e
2.0.2
2022-01-28 17:14:55 -06:00
Charlie Laabs
a196c62766
Fix error on seeded generation
...
- Update dependencies
2022-01-28 17:13:05 -06:00
Charlie Laabs
1d826e6d6d
Update dependencies
2022-01-21 21:39:33 -06:00
Charlie Laabs
46092e3274
Avoid exactly reposting old messages.
...
npm audit
2022-01-12 18:41:36 -06:00
Charlie Laabs
2237d344b7
Add pm2 to non-docker run
2022-01-09 17:27:34 -06:00
Charlie Laabs
f778341927
Update deps
2022-01-09 16:48:28 -06:00
Charlie Laabs
947100282e
Update docs for 2.0.0 prep
2022-01-04 22:15:33 -06:00
Charlie Laabs
92e86eabb9
Update dependencies to latest
2022-01-02 15:00:05 -06:00
Charlie Laabs
914c355ad0
Add message seeding feature
2022-01-02 14:37:01 -06:00
Charlie Laabs
0bc0dae36e
Fix delete performance
2022-01-02 12:01:17 -06:00
Charlie Laabs
87d5e95452
Fix hangs on message edit/delete
2022-01-02 01:24:01 -06:00
Charlie Laabs
b41d576e74
Update to markov-strings-db 4.1
2022-01-01 23:10:02 -06:00
Charlie Laabs
705cea80e7
Track progress of training
2021-12-30 17:19:57 -06:00