feat: [Bounty Candidate ] #1221 Eliza Dev Code Assistant default characterfile #1509
+2,564
−64,047
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relates to:
[Bounty] #1221 feat: Eliza Dev Code Assistant default characterfile
Risks
Low: mostly self contained (high modularity, low coupling), does require minor update to
core/src/knowledge.ts
to enable feature of bypassing knowledge search (used when searching online first, then adding that to knowledge).Background
The feature request was to develop a default characterfile with associated functionality (actions, etc) to serve as the monitor for a new devs channel, that will:
What does this PR do?
shaiw.character.json
and associatedplugin-code-assistant
What kind of change is this?
Features (non-breaking change which adds functionality)
Documentation changes needed?
Yes, I provided a README.md file in the packages/plugin-code-assistant folder (where most changes are)
I suggested a minor update to the existing documentation, pointing to that README.md (done)
Testing
pnpm test (most test from other plugins failed, not sure what to do about that)
pnpm lint (new files have all necessary fixes made, there were issues with other plugins)
Where should a reviewer start?
packages/plugin-code-assistant
folder, but also notice the newshaiw.character.json
in thecharacters
folder.packages/core/src/knowlede.ts
to add functionality to bypass the knowledge search. This was required as the core files were searching the knowledge in parallel to my new plugin checking and both were responding. So, I toggled that default knowledge search on and off with a newskipKnowledge
message.Detailed testing steps
Screenshots
Shaiw Talks like Shaw
Casual Conversation
More
Deploy Notes
Caution: the docs site is crawled and inserted into vectordb on launch, each time you load the agent, this will happen. During testing, I suggest using cleanstart startup script, to wipe the database. In production, this will need to be managed through db, if new pages are loaded. This may need fixed in future to make this easier to manage.
Database changes
Need to change from sqlite, to the database you use in test/production.
Discord username
aah8098 (Allen)