feat: Add Be and tbd skill, also added Roadmap file

This commit is contained in:
2026-05-10 16:32:12 -04:00
parent 3500ade13f
commit 0bb8885802
29587 changed files with 10611695 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# CharacterAI Persistence
## Description
A library for persisting character related state. It currently and temporarily uses a json datastore backend but will eventually connect to a character state persistence service.
## Example usage
```js
import Persistence from '../main/index';
let pers = Persistence.getInstance();
// We could store the persistence keys in an enum object
// for easier access
const Keys = {
DATA1: 'DATA1',
};
// Here we retrieve the data for Keys.DATA1
// Any `get` for a given key within the same application
// will return the same Node object instance
pers.get(Keys.DATA1)
.then( (node) => {
// Node has key:string, data:any, and save();
// Here we can read/modify the data
node.data.name = 'George';
node.data.age = 34;
// This synchronizes the data with the datastore
node.save();
});
```

View File

@@ -0,0 +1,3 @@
module.exports = require("./main");
//# sourceMappingURL=map/index.js.map

View File

@@ -0,0 +1 @@
module.exports = require("./debug");

View File

@@ -0,0 +1,30 @@
{
"name": "jibo-cai-persistence",
"version": "1.0.0",
"description": "A library for persisting character related state",
"main": "lib/index.js",
"typings": "lib/debug/dts/main/Persistence.d.ts",
"scripts": {
"build-clean": "rm -rf node_modules; npm cache clear; npm install; gulp clean; gulp debug",
"test": "gulp debug; gulp test"
},
"dependencies": {
"jibo-cai-singleton": "^3.0.0",
"supersimplestorage": "0.0.2"
},
"devDependencies": {
"chai": "^3.5.0",
"find-root": "^1.0.0",
"gulp": "^3.9.1",
"jibo-gulp": "^1.7.1"
},
"repository": {
"type": "git",
"url": "git@github.jibo.com:CharacterAI/jibo-cai-persistence"
},
"author": "Siggi Orn <siggi@jibo.com>",
"license": "ISC",
"pre-commit": [
"test"
]
}