forbocai 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -4
- package/dist/cli.js +2 -2
- package/dist/cli.mjs +2 -2
- package/package.json +2 -2
- package/postinstall.js +1 -1
package/README.md
CHANGED
|
@@ -23,9 +23,9 @@ Autonomous AI for game NPCs.
|
|
|
23
23
|
|
|
24
24
|
`Córe_Módules // SDK_Init`
|
|
25
25
|
|
|
26
|
-
The **ForbocAI SDK** is
|
|
26
|
+
The **ForbocAI SDK** is an **Engine-Agnostic** toolkit for creating autonomous AI-powered NPCs in any game or application. It runs anywhere (Node, Browser, Python, Rust).
|
|
27
27
|
|
|
28
|
-
- **Local
|
|
28
|
+
- **Local SLM Cortex** — Run quantized Small Language Models in your environment
|
|
29
29
|
- **Autonomous NPCs** — Create agents with persona, memory, and validated actions
|
|
30
30
|
- **Persistent Memory** — RAG pipeline for semantic recall across sessions
|
|
31
31
|
- **Portable Souls** — Export agent state to IPFS for cross-application use
|
|
@@ -87,15 +87,42 @@ console.log(response.dialogue);
|
|
|
87
87
|
|
|
88
88
|
| Module | Description |
|
|
89
89
|
|--------|-------------|
|
|
90
|
-
| **Cortex** | Local SLM inference engine |
|
|
90
|
+
| **Cortex** | Local SLM inference engine (Engine Agnostic) |
|
|
91
91
|
| **Agent** | Autonomous entities with persona, state, memory |
|
|
92
92
|
| **Memory** | RAG pipeline for persistent semantic recall |
|
|
93
93
|
| **Bridge** | Neuro-symbolic action validation |
|
|
94
|
-
| **Soul** | Portable agent state (
|
|
94
|
+
| **Soul** | Portable agent state on Solana (Metaplex Core) |
|
|
95
95
|
| **Ghost** | Headless QA testing at scale |
|
|
96
96
|
|
|
97
97
|
---
|
|
98
98
|
|
|
99
|
+
## The Neural Grid
|
|
100
|
+
|
|
101
|
+
`Systém_Architécture // Cónnection`
|
|
102
|
+
|
|
103
|
+
The **ForbocAI Protocol** enables agents to understand the world they inhabit.
|
|
104
|
+
|
|
105
|
+
1. **Synthetic Intuition**: Agents "feel" the state of the world through standardized Observations.
|
|
106
|
+
2. **Valid Action**: Agents express their intent through validated Actions, ensuring they never break the rules of physics.
|
|
107
|
+
3. **Engine Agnostic**: Whether in a text adventure or a 3D simulation, the Agent's soul remains consistent.
|
|
108
|
+
|
|
109
|
+
This ensures that NPCs are **smart** (thanks to LLMs) but **reliable** (thanks to the Grid).
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Digital Souls (Solana/Metaplex)
|
|
114
|
+
|
|
115
|
+
`Assét_Cláss // The_Sóul`
|
|
116
|
+
|
|
117
|
+
In the ForbocAI ecosystem, an NFT is not just a receipt—it is an **Encapsulated Soul**.
|
|
118
|
+
|
|
119
|
+
* **The Container**: A standardized bundle containing the Agent's Personality, Memories, and State.
|
|
120
|
+
* **The Chain**: The NFT is the *Deed of Ownership* pointing to this digital life.
|
|
121
|
+
* **Portability**: Take your trained NPC from *Forboc* to a sequel or entirely different world. Uses IPFS for decentralized persistence.
|
|
122
|
+
* **Economy**: Train a specialist NPC and sell it on the open market. The value is in the *Experience*, not just the skin.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
99
126
|
## Documentation
|
|
100
127
|
|
|
101
128
|
`Dócs_Máp // Référence`
|
|
@@ -119,6 +146,19 @@ console.log(response.dialogue);
|
|
|
119
146
|
---
|
|
120
147
|
|
|
121
148
|
**ᚠ ᛫ ᛟ ᛫ ᚱ ᛫ ᛒ ᛫ ᛟ ᛫ ᚲ**
|
|
149
|
+
|
|
150
|
+
## Developers
|
|
151
|
+
|
|
152
|
+
`Dev_Ops // Releáse_Cycles`
|
|
153
|
+
|
|
154
|
+
To redeploy the SDK to NPM:
|
|
155
|
+
|
|
156
|
+
1. **Bump Version**: Update `version` in `package.json`.
|
|
157
|
+
2. **Build**: `npm run build` (Generates `dist/`).
|
|
158
|
+
3. **Publish**: `npm publish --access public`.
|
|
159
|
+
|
|
160
|
+
> **Note**: You must be authenticated with `npm adduser` or have an `.npmrc` with a valid token.
|
|
161
|
+
|
|
122
162
|
|
|
123
163
|
## License
|
|
124
164
|
|
package/dist/cli.js
CHANGED
|
@@ -25,12 +25,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
|
|
26
26
|
// src/cli.ts
|
|
27
27
|
var import_https = __toESM(require("https"));
|
|
28
|
-
var API_URL = "https://api
|
|
28
|
+
var API_URL = "https://forbocai-api.onrender.com/status";
|
|
29
29
|
var args = process.argv.slice(2);
|
|
30
30
|
var command = args[0];
|
|
31
31
|
var subcommand = args[1];
|
|
32
32
|
if (command === "api" && subcommand === "status") {
|
|
33
|
-
console.log(`> Checking API Status (
|
|
33
|
+
console.log(`> Checking API Status (https://forbocai-api.onrender.com)...`);
|
|
34
34
|
import_https.default.get(API_URL, (res) => {
|
|
35
35
|
let data = "";
|
|
36
36
|
res.on("data", (chunk) => data += chunk);
|
package/dist/cli.mjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
// src/cli.ts
|
|
4
4
|
import https from "https";
|
|
5
|
-
var API_URL = "https://api
|
|
5
|
+
var API_URL = "https://forbocai-api.onrender.com/status";
|
|
6
6
|
var args = process.argv.slice(2);
|
|
7
7
|
var command = args[0];
|
|
8
8
|
var subcommand = args[1];
|
|
9
9
|
if (command === "api" && subcommand === "status") {
|
|
10
|
-
console.log(`> Checking API Status (
|
|
10
|
+
console.log(`> Checking API Status (https://forbocai-api.onrender.com)...`);
|
|
11
11
|
https.get(API_URL, (res) => {
|
|
12
12
|
let data = "";
|
|
13
13
|
res.on("data", (chunk) => data += chunk);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forbocai",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "The Infrastructure Layer for Autonomous AI Characters",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
"package.json",
|
|
25
25
|
"postinstall.js"
|
|
26
26
|
]
|
|
27
|
-
}
|
|
27
|
+
}
|
package/postinstall.js
CHANGED