bare-agent 0.18.0 → 0.19.0
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 +3 -3
- package/bareagent.context.md +2 -2
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
<img src="https://img.shields.io/badge/license-Apache%202.0-2a4f8c" alt="license: Apache 2.0">
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
|
-
**Lightweight agent orchestration.
|
|
20
|
+
**Lightweight agent orchestration. Zero required deps — optional [bareguard](https://npmjs.com/package/bareguard) peer for single-gate governance.**
|
|
21
21
|
|
|
22
|
-
Lightweight enough to understand completely. Complete enough to not reinvent wheels. Not a framework, not 50,000 lines of opinions — just composable building blocks for agents.
|
|
22
|
+
Lightweight enough to understand completely. Complete enough to not reinvent wheels. Not a framework, not 50,000 lines of opinions — just composable building blocks for agents. The core imports nothing; when you want governance, wire bareguard and every tool call traverses one policy hook, one audit log, one budget cap.
|
|
23
23
|
|
|
24
24
|
## Quick start
|
|
25
25
|
|
|
@@ -99,7 +99,7 @@ Every piece works alone — take what you need, ignore the rest. Two axes: **Act
|
|
|
99
99
|
|
|
100
100
|
**Cross-language:** Run as a subprocess; talk JSONL over stdin/stdout from Python, Go, Rust, Ruby, or Java. Wrappers in [`contrib/`](contrib/README.md).
|
|
101
101
|
|
|
102
|
-
**Deps:**
|
|
102
|
+
**Deps:** none required — the core imports nothing. Optional peers: `bareguard ^0.9.0` (governance), `better-sqlite3` (SQLite store); optional: `cron-parser`, `barebrowse`, `baremobile`, `wearehere`.
|
|
103
103
|
|
|
104
104
|
This table is the map, not the manual — per-component wiring and API detail live in the [Integration Guide](bareagent.context.md) and [Usage Guide](docs/02-features/usage-guide.md).
|
|
105
105
|
|
package/bareagent.context.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# bareagent — Integration Guide
|
|
2
2
|
|
|
3
3
|
> For AI assistants and developers wiring bareagent into a project.
|
|
4
|
-
> v0.
|
|
4
|
+
> v0.19.0 | Node.js >= 18 | zero required deps (`bareguard ^0.9.0` optional peer for governance) | Apache 2.0
|
|
5
5
|
>
|
|
6
6
|
> Full human guide with composition examples, design philosophy, and recipes: [Usage Guide](docs/02-features/usage-guide.md)
|
|
7
7
|
|
|
8
8
|
## What this is
|
|
9
9
|
|
|
10
|
-
bareagent is a lightweight agent orchestration library (
|
|
10
|
+
bareagent is a lightweight agent orchestration library (small core, zero required runtime deps — `bareguard` is an optional peer for governance). It provides composable components for LLM tool-calling loops, goal planning, state tracking, scheduled actions, human approval gates, persistent memory, circuit breaking, provider fallback, single-gate governance via [bareguard](https://npmjs.com/package/bareguard), cross-platform shell tools, and an MCP bridge. All components are independent — use one, use all, or bring your own.
|
|
11
11
|
|
|
12
12
|
```
|
|
13
13
|
npm install bare-agent
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bare-agent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"index.js",
|
|
6
6
|
"index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"LICENSE",
|
|
14
14
|
"NOTICE"
|
|
15
15
|
],
|
|
16
|
-
"description": "Lightweight, composable agent orchestration for autonomous agents. Multi-agent primitives (spawn, defer, MCP meta-tools), single-gate governance via bareguard, cross-platform shell tools, MCP bridge.
|
|
16
|
+
"description": "Lightweight, composable agent orchestration for autonomous agents. Multi-agent primitives (spawn, defer, MCP meta-tools), single-gate governance via an optional bareguard peer, cross-platform shell tools, MCP bridge. Zero required runtime deps.",
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"author": "hamr0",
|
|
19
19
|
"repository": {
|
|
@@ -74,18 +74,19 @@
|
|
|
74
74
|
"bareguard",
|
|
75
75
|
"governance"
|
|
76
76
|
],
|
|
77
|
-
"dependencies": {
|
|
78
|
-
"bareguard": "^0.9.0"
|
|
79
|
-
},
|
|
80
77
|
"optionalDependencies": {
|
|
81
78
|
"barebrowse": "^0.5.0",
|
|
82
79
|
"baremobile": "^0.7.0",
|
|
83
80
|
"cron-parser": "^4.9.0"
|
|
84
81
|
},
|
|
85
82
|
"peerDependencies": {
|
|
83
|
+
"bareguard": "^0.9.0",
|
|
86
84
|
"better-sqlite3": ">=9.0.0"
|
|
87
85
|
},
|
|
88
86
|
"peerDependenciesMeta": {
|
|
87
|
+
"bareguard": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
89
90
|
"better-sqlite3": {
|
|
90
91
|
"optional": true
|
|
91
92
|
}
|
|
@@ -100,6 +101,7 @@
|
|
|
100
101
|
},
|
|
101
102
|
"devDependencies": {
|
|
102
103
|
"@types/node": "^22.19.19",
|
|
104
|
+
"bareguard": "^0.9.0",
|
|
103
105
|
"litectx": "^0.16.0",
|
|
104
106
|
"typescript": "^5.7.0"
|
|
105
107
|
}
|