@arcforge/cognet 2.0.163 → 2.0.165
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 +31 -0
- package/package.json +24 -5
- package/src/ecs/types.ts +1 -1
- package/src/index.ts +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @arcforge/cognet
|
|
2
|
+
|
|
3
|
+
The cognet authoring surface for the [Axon](https://axon.arclabs.it) agent runtime.
|
|
4
|
+
|
|
5
|
+
A cognet is an agent's brain — the loop that decides what happens on every wake. It is
|
|
6
|
+
compiled, versioned and swappable: change the cognet and the agent thinks differently
|
|
7
|
+
without a line of its own code changing.
|
|
8
|
+
|
|
9
|
+
A cognet declares exactly one `loop()`, reaches the world through the `kernel` syscall
|
|
10
|
+
table, and names engines by **role** rather than by model. Which model fills a role is
|
|
11
|
+
decided at boot against whatever providers the user declared.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install @arcforge/cognet
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Most people never install this directly. It arrives as a dependency of the Axon
|
|
18
|
+
framework when you scaffold an agent with `axon init`.
|
|
19
|
+
|
|
20
|
+
## Documentation
|
|
21
|
+
|
|
22
|
+
Full documentation is at **[axon.arclabs.it/docs/v2](https://axon.arclabs.it/docs/v2)**.
|
|
23
|
+
|
|
24
|
+
- [loop](https://axon.arclabs.it/docs/v2/cognets/api/loop)
|
|
25
|
+
- [kernel](https://axon.arclabs.it/docs/v2/cognets/api/kernel)
|
|
26
|
+
- [kernel.engine](https://axon.arclabs.it/docs/v2/cognets/api/engine)
|
|
27
|
+
- [kernel.store](https://axon.arclabs.it/docs/v2/cognets/api/store)
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
Proprietary. © ArcLabs
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcforge/cognet",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.165",
|
|
4
|
+
"description": "The cognet authoring surface for Axon — an agent's brain, compiled, versioned and swappable.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"main": "./src/index.ts",
|
|
@@ -17,12 +17,31 @@
|
|
|
17
17
|
"deploy": "echo \"This package is published ONLY by apps/tui/scripts/release.ts, which pins workspace:* deps to concrete versions first. Publishing it directly ships an unresolvable dependency.\" && exit 1"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@arcforge/err": "2.0.
|
|
21
|
-
"@arcforge/types": "2.0.
|
|
20
|
+
"@arcforge/err": "2.0.165",
|
|
21
|
+
"@arcforge/types": "2.0.165",
|
|
22
22
|
"hookable": "^5.5.3"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/bun": "latest",
|
|
26
26
|
"typescript": "^5"
|
|
27
|
-
}
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://axon.arclabs.it/docs/v2/cognets/api/loop",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/artificial-cognition-laboratories/axon.git",
|
|
32
|
+
"directory": "libs/axon/cognet"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/artificial-cognition-laboratories/axon/issues"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"axon",
|
|
39
|
+
"ai",
|
|
40
|
+
"agent",
|
|
41
|
+
"agents",
|
|
42
|
+
"llm",
|
|
43
|
+
"ai-agent",
|
|
44
|
+
"agent-runtime",
|
|
45
|
+
"typescript"
|
|
46
|
+
]
|
|
28
47
|
}
|
package/src/ecs/types.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @arcforge/cognet — the cognet runtime.
|
|
2
2
|
//
|
|
3
3
|
// Everything that executes INSIDE a compiled brain. The kernel that loads the
|
|
4
|
-
// brain lives in @
|
|
4
|
+
// brain lives in @arcforge/core and is private; this is the public half, and it is
|
|
5
5
|
// what the generated entry imports.
|
|
6
6
|
//
|
|
7
7
|
// Root export is deliberately minimal: a cognet cannot exist without the host,
|