Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Merge of SR work back into Latitude #178

Open
wants to merge 577 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
577 commits
Select commit Hold shift + click to select a range
d015408
fixed errors with the proximity manager in the xr-engine agent
alextitonis Mar 21, 2022
3c82a38
Working on agent
lalalune Mar 22, 2022
2afab60
Merge branch 'main' of https://github.com/super-reality/thoth into HEAD
lalalune Mar 22, 2022
a86105d
Merge branch 'main' of https://github.com/latitudegames/thoth into la…
lalalune Mar 22, 2022
35f77ec
Merge branch 'latitudegames-main-2' into HEAD
lalalune Mar 22, 2022
73abfe9
Restore model requests until we can add latitude api fully
lalalune Mar 22, 2022
0a93457
Organize components
lalalune Mar 22, 2022
0c8f6d1
Disable autosave on deploy window
lalalune Mar 22, 2022
62b9707
Add output to components list, whoops
lalalune Mar 22, 2022
40e4cbb
fixed node functionality
loveheenavasu Mar 22, 2022
2363a85
remove consoles
loveheenavasu Mar 21, 2022
476b69a
Disable autosave on deploy window
lalalune Mar 22, 2022
4a64cfb
Add output to components list, whoops
lalalune Mar 22, 2022
665ba5a
fixed entity triggered issues
loveheenavasu Mar 22, 2022
4330151
remove 0
loveheenavasu Mar 22, 2022
6cf57de
Merge branch 'main' into EET-46-Updated
lalalune Mar 22, 2022
d38362a
Merge pull request #37 from super-reality/EET-46-Updated
lalalune Mar 22, 2022
d3f9f75
Complex string matcher
lalalune Mar 22, 2022
7104520
Merge branch 'main' of https://github.com/super-reality/thoth into HEAD
lalalune Mar 22, 2022
9bff801
Add entity handling into graph
lalalune Mar 22, 2022
65009a8
Move database to search
lalalune Mar 22, 2022
1e046ba
Simplify models, facts and convo now events
lalalune Mar 22, 2022
bcbba5e
Fix bug in event store
lalalune Mar 22, 2022
5a29316
Box is smarter now maybe
lalalune Mar 23, 2022
6a19a08
Add sentence matching, coalescer (temp hack), factual recall working
lalalune Mar 24, 2022
8e75fe0
[
lalalune Mar 24, 2022
8ce2f93
Fixed the chat issues, fixed an issue that the bot was trying to hand…
alextitonis Mar 24, 2022
12f8e9f
Merge branch 'main' of https://github.com/super-reality/thoth
alextitonis Mar 24, 2022
9ef42eb
fixed issues with handling the input in the xr-engine
alextitonis Mar 25, 2022
1d437ac
Refactor nodes, fast similarity matching, refactor conversation and f…
lalalune Mar 25, 2022
68504d2
Merge branch 'main' of https://github.com/super-reality/thoth into re…
lalalune Mar 25, 2022
c9b0d6f
Merge pull request #39 from super-reality/refactor-events
lalalune Mar 25, 2022
d5f3b2b
Merge the events
lalalune Mar 25, 2022
4171c7b
implemented empty responses in the ent manager
alextitonis Mar 25, 2022
ee187ba
Merge branch 'main' of https://github.com/super-reality/thoth
alextitonis Mar 25, 2022
d387cf3
Events and conversation working, a little cleanup and org
lalalune Mar 25, 2022
a0ef605
Merge pull request #41 from super-reality/refactor-events
lalalune Mar 25, 2022
77d1e0a
Implemented simalirity search for the cache manager and with the sear…
alextitonis Mar 26, 2022
1aa0d43
Fixed document nodes and added DocumentStoreGet node
parixitas Mar 28, 2022
d33839f
Make updations in Twitter entity section
loveheenavasu Mar 29, 2022
e2cca8b
fixed issues and errors for twilio/twitter
alextitonis Mar 30, 2022
22f8abf
Working on Add /addDocument data in discord, which will add a new doc…
parixitas Mar 30, 2022
70f1919
Merge pull request #42 from super-reality/EET-55
lalalune Mar 30, 2022
2779616
Merge branch 'super-reality:main' into main
lalalune Mar 30, 2022
df62510
Refactor connectors and such into server, agents are now entities in …
lalalune Mar 30, 2022
80f48f6
Refactor .env vars to dotenv-flow, move individual handlers out of ma…
lalalune Mar 30, 2022
5017974
fix server load
lalalune Mar 30, 2022
246fdfa
Fix server init
lalalune Mar 30, 2022
473254c
Remove agent window and fix
lalalune Mar 30, 2022
dadd40c
Remove agent personality
lalalune Mar 30, 2022
670f9f8
replace agent_instance with entities
lalalune Mar 30, 2022
8ffee84
Remove unnecessary models
lalalune Mar 30, 2022
a8b4bf2
More refactoring down of agents -> entities
lalalune Mar 30, 2022
1b6f547
Init commit of agent memory-loaded spell handler
lalalune Mar 31, 2022
514bce4
Refactor: rename chains to spells
lalalune Mar 31, 2022
6bd4593
fixed import error
alextitonis Mar 31, 2022
1306f45
updated twitter client
alextitonis Mar 31, 2022
0c3960f
added windows start command
alextitonis Mar 31, 2022
c71fd72
added 2 different automatic ways to create twitter client
alextitonis Mar 31, 2022
5f524b9
Update twitter.ts
alextitonis Mar 31, 2022
18ef669
Update package.json
alextitonis Mar 31, 2022
6f8f880
Prepared graph for add /addDocument data and Created new document for…
parixitas Mar 31, 2022
49e08de
fixed issues with discord
alextitonis Mar 31, 2022
1439cd1
fixed escape characters in sql ent manager
alextitonis Mar 31, 2022
7d0b613
Everything works but tasks not clearing output
lalalune Mar 31, 2022
8c14af7
Merge branch 'main' into spellhandler-agent-refactor
lalalune Mar 31, 2022
1a3f9e2
Merge pull request #49 from super-reality/spellhandler-agent-refactor
lalalune Mar 31, 2022
cd941c6
Update twitter and simplify the createspellhandler reset, even though…
lalalune Mar 31, 2022
c22f5ec
Cleanups to create spell handler
lalalune Mar 31, 2022
979c34c
Merge
lalalune Mar 31, 2022
2db7b51
Merge pull request #50 from super-reality/spellhandler-agent-refactor
lalalune Mar 31, 2022
ca81e9a
Create spell handler, works but still slow on process.graph
lalalune Apr 1, 2022
49551fd
Add explanation of TODO for handling engine.process in agent spell ha…
lalalune Apr 1, 2022
553d142
Merge pull request #51 from super-reality/spellhandler-agent-refactor
lalalune Apr 1, 2022
cad682c
fixed an error with seeders
alextitonis Apr 1, 2022
922c216
Add undo back
lalalune Apr 1, 2022
b3aec96
Add ctrl z for keyboard
lalalune Apr 1, 2022
d0db1e8
added a new test route, fixed issues with xr-engine chat
alextitonis Apr 1, 2022
1f6414a
modifications
loveheenavasu Apr 1, 2022
0fe2479
Worked on create graph for search document and Worked on /searchdocu…
parixitas Apr 1, 2022
8d76865
logs for stt
alextitonis Apr 1, 2022
49eb5b2
Fix sleep commands
michaelsharpe Apr 1, 2022
77becdf
Bump up instagram api package to fix m1 compilation
michaelsharpe Apr 1, 2022
f547989
Add task array to thoth editor
michaelsharpe Apr 1, 2022
9132b3d
Add task array to irun context editor
michaelsharpe Apr 1, 2022
45f0095
Add task array to editor in task plugin and push tasks into it
michaelsharpe Apr 1, 2022
d386eb4
Update default env to not refresh db by default
michaelsharpe Apr 1, 2022
7876596
Fix sleep commands in server scripts
michaelsharpe Apr 1, 2022
44f01a4
reset closed sockets in task reset
michaelsharpe Apr 1, 2022
3ce6b02
Fix spell handler to reset all tasks
michaelsharpe Apr 1, 2022
efc2e0d
Smol fixes before merge
lalalune Apr 2, 2022
5fd7ab0
Merge branch 'main' of https://github.com/super-reality/thoth into HEAD
lalalune Apr 2, 2022
3bab00d
Merge pull request #52 from super-reality/eet-73
lalalune Apr 2, 2022
9052693
Merge 0.0.66 branch, prepare for merging latest thoth changes and QA
lalalune Apr 2, 2022
fd26558
Handle new updates from Parzival, merge changes
lalalune Apr 2, 2022
956995f
Merge pull request #58 from super-reality/merge-latitude-0.0.66
lalalune Apr 2, 2022
4e18c93
Fix missing entity manager
lalalune Apr 4, 2022
9854285
fixed updations related to twillio
loveheenavasu Apr 4, 2022
18ed0fc
fixed errors with initialization
alextitonis Apr 4, 2022
d1b6c32
Merge branch 'EET-56-latest' of https://github.com/super-reality/thot…
alextitonis Apr 4, 2022
e1f494f
added voice files if the text response is a voice url
alextitonis Apr 4, 2022
4933ffb
added warning under entity -server
loveheenavasu Apr 4, 2022
9bb82ea
added alert boxes for entity updates
alextitonis Apr 4, 2022
c8acbb6
fixes on discord
alextitonis Apr 5, 2022
11c5ae7
Fix spell import issue
mayur-jp Apr 5, 2022
24198d3
Merge pull request #61 from super-reality/spell-import-fix
alextitonis Apr 5, 2022
881e2a7
fixed issue with initializing the text corpus
alextitonis Apr 5, 2022
a823de9
Update xrengine.ts
alextitonis Apr 5, 2022
6ac379b
Fixed undefined URL in rete components
mayur-jp Apr 5, 2022
4d1a207
Merge branch 'main' into EET-56-latest
alextitonis Apr 6, 2022
62d5bba
Merge pull request #60 from super-reality/EET-56-latest
alextitonis Apr 6, 2022
7b85cb0
Update Entity.ts
alextitonis Apr 6, 2022
1bb32c6
Merge branch 'main' of https://github.com/super-reality/thoth into EE…
mayur-jp Apr 6, 2022
31c2428
Update CreateSpellHandler.ts
alextitonis Apr 6, 2022
627dd9d
Merge branch 'main' of https://github.com/super-reality/thoth into EE…
mayur-jp Apr 6, 2022
8ec7e63
Fixed spell delete issue
mayur-jp Apr 8, 2022
761954f
Merge pull request #62 from super-reality/spell-delete-fix
alextitonis Apr 8, 2022
647113c
Fixed trigger issue in input node
mayur-jp Apr 11, 2022
34a2357
fixed issues with STT, added speech ssl support
alextitonis Apr 11, 2022
72682c9
added alerts for updating an entity
alextitonis Apr 12, 2022
517c203
Update xrengine.ts
alextitonis Apr 12, 2022
acc66fc
added strict search in the cache manager
alextitonis Apr 12, 2022
f18876e
Merge branch 'main' into EET-66
alextitonis Apr 12, 2022
1296237
implemented TTS through google
alextitonis Apr 12, 2022
cfdf26e
Playtest Window scroll issue fix
parixitas Apr 13, 2022
0f84653
implemented a file server and google tts
alextitonis Apr 13, 2022
3055bbc
Update xrengine.ts
alextitonis Apr 13, 2022
ac13ee1
fixed imports
alextitonis Apr 13, 2022
b2d6746
Update xrengine.ts
alextitonis Apr 13, 2022
a072606
fixed issue with generated audio file url
alextitonis Apr 13, 2022
35e27a0
fixed issue sometimes sending audio url as message
alextitonis Apr 13, 2022
233f442
added automatic TTS in the output node
alextitonis Apr 13, 2022
6d3af6f
added automatic speech generation in output
alextitonis Apr 13, 2022
8a6ecab
fixed styling issues
loveheenavasu Apr 13, 2022
b50ab8d
fixed a bug with voice message cut
alextitonis Apr 13, 2022
07b0152
fixed issues
alextitonis Apr 13, 2022
2aadd3c
small fixes in xr-engine
alextitonis Apr 14, 2022
8624e5f
Merge pull request #70 from super-reality/git-issue-63
alextitonis Apr 15, 2022
769827a
fixed reply issues in xr engine, changed tts voice
alextitonis Apr 15, 2022
dfdc8e2
Merge pull request #68 from super-reality/EET-66
alextitonis Apr 15, 2022
ee67d1a
Merge pull request #69 from super-reality/EET-65
alextitonis Apr 15, 2022
055e0f5
Merge pull request #65 from super-reality/input-trigger-fix
alextitonis Apr 15, 2022
e052d00
Merge branch 'super-reality:main' into main
lalalune Apr 15, 2022
a72d105
fixed doc search
alextitonis Apr 15, 2022
c40f78f
THoth #76 support for ssl
mahmed0715 Apr 15, 2022
61c6c15
added a queue for new xr-engine chat messages
alextitonis Apr 16, 2022
046c23b
Merge pull request #77 from super-reality/thoth-76
alextitonis Apr 16, 2022
fc47d7f
Merge pull request #3 from super-reality/main
alextitonis Apr 18, 2022
8ae0482
fixed issue with ssl when disabled
alextitonis Apr 18, 2022
ff1676b
Added missing dependency
mahmed0715 Apr 18, 2022
4c27ed7
Merge pull request #13 from TheNexusCity/thoth-6
alextitonis Apr 19, 2022
2898427
fix xr-engine puppeteer old client close after updating Ent Manager
parixitas Apr 19, 2022
5abf0b6
make fixes and added video component
loveheenavasu Apr 19, 2022
965d512
implement axios api call
loveheenavasu Apr 20, 2022
f605bf5
speech fixes
alextitonis Apr 20, 2022
7486f54
Fixing console errors for client react jsx
mahmed0715 Apr 20, 2022
30451b5
added the trigger in socket to input node
parixitas Apr 21, 2022
f92e075
fixed some css issue in modal
loveheenavasu Apr 21, 2022
b605d2b
fixed issues with voice and avatar
alextitonis Apr 21, 2022
189ee42
speech and avatar fixes
alextitonis Apr 22, 2022
56cce40
fixed search corpus issue
loveheenavasu Apr 22, 2022
6181dbd
Merge pull request #86 from super-reality/issue_84
alextitonis Apr 22, 2022
dc40e1b
Merge pull request #85 from super-reality/issue-64
alextitonis Apr 22, 2022
06277b1
Merge pull request #14 from TheNexusCity/thoth-6
alextitonis Apr 22, 2022
3f06849
Merge branch 'main' into main
alextitonis Apr 22, 2022
bcbe7e7
Merge pull request #15 from super-reality/main
alextitonis Apr 22, 2022
22c7d2a
Update to react 18, force resolution of types, force https
lalalune Apr 25, 2022
8e2760d
Add speech to text handlnig
lalalune Apr 25, 2022
d517cb4
Add default certs
lalalune Apr 25, 2022
63e45e8
Merge pull request #48 from TheNexusCity/speech-to-text
lalalune Apr 25, 2022
3b1f03f
fixed some issues with discord voice receiver
alextitonis Apr 25, 2022
341e87f
Update discord-voice.ts
alextitonis Apr 25, 2022
f55200f
added TTS response in voice channels
alextitonis Apr 25, 2022
b70f164
added the conf for getting the voice input from discord
mayur-jp Apr 25, 2022
ee7ddbf
fixed issue with tmp file
alextitonis Apr 25, 2022
55c3c86
Merge pull request #88 from TheNexusCity/discord-voice
alextitonis Apr 25, 2022
0594f8c
Merge with latitude main branch
lalalune Apr 25, 2022
3de4443
Fix scopes, fix imports
lalalune Apr 25, 2022
eef40e2
added witai recognition
alextitonis Apr 26, 2022
0dacca8
fixed issues with STT and TTS
alextitonis Apr 26, 2022
d7870ed
Merge pull request #89 from TheNexusCity/discord-voice
alextitonis Apr 26, 2022
57f2769
fixed issue that was not closing old clients when updating entities
alextitonis Apr 26, 2022
4a69d14
Fixed auto save issue of nodes
mayur-jp Apr 27, 2022
8e26e8f
Fixed fewshot editor not saving issue
mayur-jp Apr 27, 2022
9cff25a
Merge stuff for discord voice with uberduck and SSL
lalalune Apr 27, 2022
403cd91
Enable switching between voice response models
lalalune Apr 28, 2022
8f39313
Merge branch 'merge-latitude-0.67' into customize-voice
lalalune Apr 28, 2022
7c83aab
Merge pull request #53 from TheNexusCity/customize-voice
lalalune Apr 28, 2022
1c4198a
Merge pull request #51 from TheNexusCity/issue-46
lalalune Apr 28, 2022
cacca68
Working on merge fixes
lalalune Apr 28, 2022
ba76568
Merge branch 'main' into auto-save-fix
lalalune Apr 28, 2022
2a9b925
Merge pull request #52 from TheNexusCity/auto-save-fix
lalalune Apr 28, 2022
3a339ac
Fix accordion and menu bar
lalalune Apr 28, 2022
8aba03c
removed double .env value for ssl, made a check for ssl certs before …
alextitonis Apr 28, 2022
5c6f766
Fix src error
lalalune Apr 28, 2022
4ae08c9
Fix error
lalalune Apr 28, 2022
c170dae
added an emoji remover before TTS
alextitonis Apr 28, 2022
e118152
Merge branch 'main' of https://github.com/TheNexusCity/thoth
alextitonis Apr 28, 2022
3136765
Update README.md
alextitonis Apr 28, 2022
1433ade
fixed an error with voice lang code typing
alextitonis Apr 28, 2022
38835e3
Merge branch 'main' of https://github.com/TheNexusCity/thoth
alextitonis Apr 28, 2022
7f69bfc
Added handlers for users around agent in discord and xr-engine
alextitonis Apr 28, 2022
9b4f48f
Added the APIs for get all events, sort events by date, delete event …
mayur-jp Apr 28, 2022
06395ca
Merge branch 'main' of https://github.com/TheNexusCity/thoth into iss…
mayur-jp Apr 29, 2022
04af1b0
Added Event Manager window
mayur-jp Apr 29, 2022
4c38bab
fixed issues with restarting clients
alextitonis Apr 30, 2022
5401077
fixed issues with input destructuring
alextitonis Apr 30, 2022
bdabee0
Merge branch 'main' of https://github.com/TheNexusCity/thoth into iss…
mayur-jp May 2, 2022
277964a
Implemented update event, filter events and fixed the update event API
mayur-jp May 2, 2022
7edc1d4
Merge pull request #55 from TheNexusCity/issue-7
alextitonis May 2, 2022
42fb3a4
Added the Agent socket type and Input Restructure node
mayur-jp May 3, 2022
67b7ba2
Merge pull request #58 from TheNexusCity/issue-41
alextitonis May 3, 2022
6b432d2
implement layout of dashboard
kimenyikevin May 3, 2022
f1004f8
create design for admin console
kimenyikevin May 4, 2022
b53fb3b
add config data
kimenyikevin May 4, 2022
2db06d9
Merge branch 'main' into issue-71
DavinciDreams May 5, 2022
00f5031
Merge pull request #81 from super-reality/issue-71
DavinciDreams May 5, 2022
d20b040
Merge pull request #82 from super-reality/videoFunctionality
DavinciDreams May 5, 2022
11a68f8
Fix some voice bugs
lalalune May 5, 2022
2659335
Keyed all spell CRUD using userId
mayur-jp May 5, 2022
1ed4c8e
Merge pull request #62 from TheNexusCity/issue-40
alextitonis May 5, 2022
2df8622
implement scope tables
kimenyikevin May 6, 2022
e70e7a5
add update delete setting api created
miteshodaan May 6, 2022
b866678
Merge branch 'main' of https://github.com/TheNexusCity/thoth into adm…
miteshodaan May 6, 2022
1f0453a
list client setting
miteshodaan May 6, 2022
8d1dc03
Added column wise filter and export as CSV
mayur-jp May 6, 2022
8929659
Merge pull request #63 from TheNexusCity/admin-console
alextitonis May 6, 2022
710d260
pagination added in list client setting
miteshodaan May 6, 2022
d0d58d7
Merge branch 'main' of https://github.com/TheNexusCity/thoth into adm…
miteshodaan May 6, 2022
eafa037
Merge pull request #64 from TheNexusCity/admin-console
alextitonis May 7, 2022
6585a46
Added entity import export
mayur-jp May 9, 2022
699a82b
add dashboard routing
kimenyikevin May 9, 2022
246079a
Fix duplicate spell tabs being opened on page refresh
mayur-jp May 9, 2022
c10aae6
add active select on menu
kimenyikevin May 9, 2022
0f79039
uncomment navBar
kimenyikevin May 10, 2022
4ecd1e7
creates scope and configuration apis for admin connsole
miteshodaan May 10, 2022
6387582
initial commit
alextitonis May 10, 2022
1bd58af
Merge pull request #60 from TheNexusCity/advanced-console
alextitonis May 10, 2022
121adba
Merge pull request #69 from TheNexusCity/event-tbl-changes
alextitonis May 10, 2022
f491fbe
Merge pull request #70 from TheNexusCity/entity-imp-exp
alextitonis May 10, 2022
30e1f96
Merge pull request #71 from TheNexusCity/admin-console
alextitonis May 10, 2022
d86f840
Merge branch 'main' into vector-search-python-server
alextitonis May 11, 2022
f3ccfc4
Update .gitignore
alextitonis May 11, 2022
6d2ccdf
Update .gitignore
alextitonis May 11, 2022
c98191d
Create .gitignore
alextitonis May 11, 2022
1664187
Update .gitignore
alextitonis May 11, 2022
11af124
updated gitignore
alextitonis May 11, 2022
2eccef3
gitignore
alextitonis May 11, 2022
9bf8d48
implemented vector search and python server
alextitonis May 11, 2022
f1b412b
Merge pull request #92 from TheNexusCity/vector-search-python-server
alextitonis May 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,14 @@ build

# Generated Styles for AreaPlugin
core/src/plugins/areaPlugin/style.css.d.ts
yarn-error.log
server/google_credentials.json
server/files/

# Ignore lockfiles
yarn.lock
package-lock.json
.idea
server/.env

.env.local
.env.*.local
6 changes: 2 additions & 4 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Add Github npm package registry, so we can install private npm packages
@latitudegames:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}

legacy-peer-deps=true
shamefully-hoist=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17.6
16.6.2
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"trace": true,
"sourceMapPathOverrides": {
"webpack://thothCore/./*": "${workspaceFolder}/core/*",
"webpack://@thoth/client/./*": "${workspaceFolder}/client/*",
"webpack://@thoth/client/thothCore/*": "${workspaceFolder}/core/*"
"webpack://@latitudegames/thoth-client/./*": "${workspaceFolder}/client/*",
"webpack://@latitudegames/thoth-client/thothCore/*": "${workspaceFolder}/core/*"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.configPath": "./.prettierrc.json",
"eslint.workingDirectories": ["./client", "./core"],
"eslint.workingDirectories": ["./client", "./core", "./server"],
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
"cSpell.enabled": false
}
377 changes: 194 additions & 183 deletions LICENSE

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions NOTICE.txt

This file was deleted.

55 changes: 50 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,58 @@

Thoth is a multishot system builder. It leverages a visual coding style interface to allows game designers and developers to rapidly create powerful natural language systems and prototype games.

## Quickstart

You will need **yarn or npm** and **Docker** installed, along with **Node.js 16 or higher**. We use Docker to run a local Postgres database. You can skip the docker and install postgres directly, but you are almost always better off just using Docker.
For **Linux** and **MAC** users, **sleep** and **concurently** commands must be installed in the machine.

First, clone and set up Thoth

```
git clone https://github.com/TheNexusCity/thoth
```

Next, install dependencies

```
yarn install
OR
npm i
```

You will need to make a few environment variable modifications
To keep values privates, create a new file for each .env, called .env.local (these files are safe from the .gitignore)

In order to run the client and server use
```
yarn run dev

If on Windows run:
yarn run dev:windows
```

### Local Development

We use dotenv-flow for local environment variable management

Go to client folder, and create a new file called .env.local -- copy and .env vars you want to set from .env there
If you are developing independently and are not a member of Latitude Games team, set **REACT_APP_USE_LATITUDE=false**

Go to server folder, and create a new file called .env.local -- copy and .env vars you want to set from .env there
If you are developing independently and are not a member of Latitude Games team, set **USE_LATITUDE=false**

## Client Setup

1. Generate a [Personal Access Token](https://github.com/settings/tokens) on Github which will allow you to install private latitude packages. Make sure you check the `write:packages` option. (`read:packages` will suffice as well if you aren't planning on publishing new versions of @latitudegames/thoth-core)
1. In your `~/.bashrc`, append the line `export NPM_TOKEN=YourTokenGoesHere`, and restart your terminal (you can run `source ~/.bashrc` to do so)
1. Clone the repository
1. Navigate to the project root by running `cd thoth`
1. Run `yarn install` to install project dependencies
1. Run `yarn start` to start the @thoth/client app
1. Run `yarn start` to start the @latitudegames/thoth-client app

## Core Local Setup

1. Core the contents of `core/.env.example` to `core/.env`
1. Core the contents of `core/.env.default` to `core/.env` and modify the secrets as necessary
1. Step 2 in Monorepo Development Setup

## Monorepo Development
Expand Down Expand Up @@ -47,14 +87,19 @@ for the next prerelease.

In the project directory, you can run:

### `yarn run dev`

Runs both server and client.\
Open [https://localhost:3001](https://localhost:3001) to view it in the browser.

### `yarn start`

Runs @thoth/client in the development mode.\
Open [http://localhost:3001](http://localhost:3001) to view it in the browser.
Runs @latitudegames/thoth-client in the development mode.\
Open [https://localhost:3001](https://localhost:3001) to view it in the browser.

### `yarn build`

Builds the @thoth/client app for production to the `client/build` folder.
Builds the @latitudegames/thoth-client app for production to the `client/build` folder.

### `yarn build:core`

Expand Down
26 changes: 23 additions & 3 deletions client/.env
Original file line number Diff line number Diff line change
@@ -1,16 +1,36 @@
EXTEND_ESLINT = true
# Leave this true if you are developing against the Latitude API
# Set this to false if you are developing against the included server
REACT_APP_USE_LATITUDE=false

# This prod site root assumes the netlify build context $URL is available, replace for other hosts

REACT_APP_SITE_ROOT_URL_PROD=https://thoth.latitude.io

REACT_APP_SITE_ROOT_URL=http://localhost:3001
REACT_APP_LAPI_ROOT_URL=http://localhost:8000
# This prod site root assumes the netlify build context $URL is available, replace for other hosts
REACT_APP_SITE_ROOT_URL_PROD=$URL
REACT_APP_SITE_ROOT_URL=https://localhost:8001

# Latitude API URL (if using)
REACT_APP_LAPI_ROOT_URL=https://localhost:8001
REACT_APP_LAPI_ROOT_URL_PROD=https://api.latitude.io

# Thoth API URL
REACT_APP_API_ROOT_URL=https://localhost:8001
REACT_APP_API_ROOT_URL_PROD=https://localhost:8001

REACT_APP_CORS_URL=https://localhost:8002

REACT_APP_SITE_STAGING=https://62264f21c3a9860ad1e5bdd3--optimistic-turing-def916.netlify.app/

# Oauth Client Id
REACT_APP_OAUTH_CLIENT_ID=a6b51c87-7565-42ab-a4b0-38a07f3b6c56

EXTEND_ESLINT=true

REACT_APP_SPEECH_SERVER_URL=https://localhost:65532
REACT_APP_SEARCH_SERVER_URL=https://localhost:65531

REACT_APP_API_URL=https://localhost:8001

REACT_APP_OAUTH_CLIENT_ID=a6b51c87-7565-42ab-a4b0-38a07f3b6c56

Expand Down
11 changes: 0 additions & 11 deletions client/.env.example

This file was deleted.

3 changes: 2 additions & 1 deletion client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
build
.DS_Store
dist
LICENSE
.env.local
.env.*.local
2 changes: 1 addition & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In the project directory, you can run:
### `yarn start`

Runs the app in the development mode.\
Open [http://localhost:3001](http://localhost:3001) to view it in the browser.
Open [https://localhost:3001](https://localhost:3001) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.
Expand Down
21 changes: 21 additions & 0 deletions client/certs/cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDizCCAnOgAwIBAgIULwTo5maP4GdL/ji1pPspiwQ4KjswDQYJKoZIhvcNAQEL
BQAwUzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMRQwEgYDVQQHDAtMb3MgQW5n
ZWxlczEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMB4XDTIwMDcy
OTEwMDE0M1oXDTIyMTEwMTEwMDE0M1owUzELMAkGA1UEBhMCVVMxCzAJBgNVBAgM
AkNBMRQwEgYDVQQHDAtMb3MgQW5nZWxlczEhMB8GA1UECgwYSW50ZXJuZXQgV2lk
Z2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuo9C
zT4SGB7D/c74HbR0kX5L/zwVGxDEBrXjyQrTW1D2KnQLBKW9C737dtBPY7knivd5
zM5LGejE1ko9+uYz4c9w6UBshooQXx4C0t811//mUrbBj/pmRm2+YsrVE0oNs2zC
8cJCM4Hq+MnuXhp+B8MxFhjFJIZ6yb8nn3w2Lf4Z+DrErl8kVd8eyxAksaC3kjAr
V6MCadn6Ln/Fbwdx2en8RPMsqVv2oT3vhANvFLq48tbC1HxGJ0EOyAO2aC3pcUxV
lb8tQG7D4orSjvSW1HErb/HjoScqipGvB52rH/j5fsxEpGgyjiqGVlpZYDSA/s8F
/CWzfgKkjWIOXdUf9wIDAQABo1cwVTAfBgNVHSMEGDAWgBTPYFhcx9rw/BF+DRm0
OS1BusbdrDAJBgNVHRMEAjAAMAsGA1UdDwQEAwIE8DAaBgNVHREEEzARgglsb2Nh
bGhvc3SHBH8AAAEwDQYJKoZIhvcNAQELBQADggEBALbcEhBd3KAgD22zG7bhKowh
krjAji11IhznalWK/30cHRMxT936uu/IMZ2WokKHlSy5XFmZQpGfc5vBEKKlAqmW
3SidSc6h1RULEjciznbh06sVV1lMjqtEObv+kjpAlImeRnx2zybOuCKlL9UDtTsG
ojGO0u8Aevx5vK5VCUZkYn+d5KhBqFKgoMSy8V+3HWvUBr/k0xWX55B3V31r+iD2
tCOBzfMuA1+Mux8H9O+f746vf/PPVIjwlFGHxlZVGiWe63PGUnmq4d9gjOdQEWeZ
MjhGBegZcIc29tMIULmesXG9TZN0dDUguVB97ghuezNgiGq33rZl+e8K2MfPvA4=
-----END CERTIFICATE-----
27 changes: 27 additions & 0 deletions client/certs/key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAuo9CzT4SGB7D/c74HbR0kX5L/zwVGxDEBrXjyQrTW1D2KnQL
BKW9C737dtBPY7knivd5zM5LGejE1ko9+uYz4c9w6UBshooQXx4C0t811//mUrbB
j/pmRm2+YsrVE0oNs2zC8cJCM4Hq+MnuXhp+B8MxFhjFJIZ6yb8nn3w2Lf4Z+DrE
rl8kVd8eyxAksaC3kjArV6MCadn6Ln/Fbwdx2en8RPMsqVv2oT3vhANvFLq48tbC
1HxGJ0EOyAO2aC3pcUxVlb8tQG7D4orSjvSW1HErb/HjoScqipGvB52rH/j5fsxE
pGgyjiqGVlpZYDSA/s8F/CWzfgKkjWIOXdUf9wIDAQABAoIBAEIIhU+aYdMxyJOk
14PEJOJ+vq2X+ax70bbCWN8HOup+jLNYIbJCa9ilJUXX09HrboissesBNen0zv8+
hhOxubl6sG+PQxqX8dWJDNzQ7wEGbeLnFzo8GklhfNsBCkxqkNDqdVIXPVF38dCf
wQSEAgoDV/OHTvhvtTSFuaOk1pSOWlsg5av6hH+czCjmN9kZWXHQ7a1bXMfCOzce
WrsVDIIFpJZyLLd1PkMBkS/kXfcK04VDISirVpLrDJMaY3VCXzxQY/FzjxcwxAPc
tXy4lW720oAWhR76oCFPqW+e86S0cL6//5jr/8e3dsFbYnax8jqZZU3ZExdSXnfS
JfGVOBECgYEA6ainNVp7a2cbZyGspEaDRX+38qgFJy5KjGyD94bMYRtW7OefcLYD
fuIfbr6Y4Xa8qHq7aIJancf7GT0qM1PjeEQ7qhI1b4HsEgFz6pjL2RwuzsQ5KGlQ
3JNGUAz27MRnzidkUo/50KYMq5m0NXNSd8/Re5GHlPYvLt5IMY28iRkCgYEAzGW+
qEUtNItiBN9LgFZxTS1h0CaVUviPplXCWmDgsmXMyDnh4s0P/KvdBlsUQQMsBc64
dJPVc7pg/d9wuEmKel9WevUi28O+PgoXRwf7OjAP7w1VgVF3Hl5qj7BBBc7WEpMi
nTySv8JcLhfWUGYvZgAlqEQTec3gfAFmaQQbQ48CgYBer+fCqT4mkgv6yRyrHaAI
w+8JOKmN7SZsrXT1E/0yxN9+9YYZKMlV29CdEkPl6jYdmE7l1R1fnzDUU4MMdcxS
amQ7UVGyNFY0Hb6ZrP2+p7sYM1BuXe9U06HEwtw1qonecvwmsQ2tTf0IdSsgFfGv
d9oOVzU4WmNYfN+IpUVn0QKBgQDJcnGhCGTQR5s4cBbKiueqB9NCQfSjzKRPbHBb
gOWUDa7xm9KcJDzga0YwMG3a0VR++Mlk5BrYr1VOgPxoNNrNVs816goMDHSgUnO0
pxIcvCfIFB00keTTwnxF15GONtdXgTn5PCzp35XYO9gWb0/BuN1kZIvJXXYk4YBc
ehag0wKBgD+jpySpsAHcxFHloLrfgBr7FpebJh31VijL3qjCqHyeO9m7qsta+hpu
NgWOiNXgpqzHEZm9/j4DjcI7y6l0kOUi1UcYGBk0dngAjUrcxVbaILb7qfNx0BPX
Y9ARanhm32LcIIquiI3DuRDbevJ9PDYZNU6KEia+0ffWvHiCk5kL
-----END RSA PRIVATE KEY-----
36 changes: 29 additions & 7 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@thoth/client",
"name": "@latitudegames/thoth-client",
"version": "0.1.0",
"license": "Apache-2.0",
"author": "Michael Sharpe <[email protected]> (https://www.project89.org)",
Expand All @@ -19,17 +19,30 @@
"test": "echo test",
"install:canary": "yarn add @latitudegames/thoth-core@canary"
},
"resolutions": {
"@types/react": "18.0.0"
},
"dependencies": {
"@callstack/async-storage": "^2.0.3",
"@material-ui/core": "^4.12.1",
"@material-ui/icons": "^4.11.2",
"@emotion/react": "^11.8.2",
"@emotion/styled": "^11.8.1",
"@latitudegames/thoth-core": "^0.0.66",
"@latitudegames/thoth-core": "^0.0.67",
"@monaco-editor/react": "^4.2.1",
"@mui/icons-material": "^5.5.1",
"@mui/material": "^5.5.3",
"@mui/styles": "^5.5.3",
"@rebass/forms": "^4.0.6",
"@reduxjs/toolkit": "^1.6.2",
"@types/deep-equal": "^1.0.1",
"@types/jest": "^26.0.24",
"@types/node": "^16.4.3",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-redux": "^7.1.18",
"axios": "^0.21.4",
"better-react-spinkit": "^2.0.4",
"add": "^2.0.6",
"classnames": "^2.3.1",
"deep-equal": "^2.0.5",
Expand All @@ -42,18 +55,22 @@
"prism-themes": "^1.7.0",
"prismjs": "^1.24.0",
"pubsub-js": "^1.9.3",
"react": "^17.0.2",
"react": "^18.0.0",
"react-console-emulator": "^5.0.1",
"react-csv": "^2.2.2",
"react-custom-scrollbars": "^4.2.1",
"react-custom-scrollbars-2": "^4.4.0",
"react-dom": "^17.0.2",
"react-dom": "^18.0.0",
"react-hook-form": "^7.15.4",
"react-hotkeys-hook": "^3.3.2",
"react-icons": "^4.2.0",
"react-redux": "^7.2.5",
"react-router": "^6.0.0-beta.8",
"react-router-dom": "6",
"react-router": "^6.0.0",
"react-router-dom": "^6.0.0",
"react-scroll-to-bottom": "^4.2.0",
"react-select": "^4.3.1",
"react-simple-code-editor": "^0.11.0",
"react-table": "7.7.0",
"rebass": "^4.0.7",
"reconnecting-websocket": "^4.4.0",
"redux": "^4.1.1",
Expand All @@ -63,6 +80,9 @@
"rete-connection-reroute-plugin": "^0.4.0",
"rete-context-menu-plugin": "^0.6.0-rc.1",
"rete-react-render-plugin": "^0.2.1",
"socket.io-client": "^4.4.1",
"vite-plugin-env-compatible": "^1.1.1",
"vite-plugin-react": "^4.0.1",
"sharedb": "^2.2.5",
"unique-names-generator": "^4.5.0",
"uuid": "^8.3.2",
Expand All @@ -81,8 +101,10 @@
"@types/jest": "^26.0.24",
"@types/node": "^16.4.3",
"@types/react": "^17.0.15",
"@types/react-csv": "^1.1.2",
"@types/react-dom": "^17.0.9",
"@types/react-redux": "^7.1.18",
"@types/react-table": "7.7.9",
"@welldone-software/why-did-you-render": "^6.2.1",
"babel-loader": "^8.2.2",
"babel-plugin-transform-class-properties": "^6.24.1",
Expand All @@ -91,7 +113,7 @@
"crypto-browserify": "^3.12.0",
"css-loader": "^6.3.0",
"css-modules-typescript-loader": "^4.0.1",
"dotenv-webpack": "^7.0.3",
"dotenv-flow-webpack": "^1.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
Expand Down
33 changes: 0 additions & 33 deletions client/scripts/engine.ts

This file was deleted.

Loading