0xkobold 0.4.3 → 0.4.4
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/HEARTBEAT.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# 🤖 Agent Self-Monitor Heartbeat
|
|
2
2
|
|
|
3
3
|
**Session Active Since:** 2025-01-09 05:42 UTC
|
|
4
|
-
**Current Time:** ~17:
|
|
5
|
-
**Version:** v0.4.
|
|
6
|
-
**Status:** ✅ **
|
|
4
|
+
**Current Time:** ~17:30 UTC
|
|
5
|
+
**Version:** v0.4.3
|
|
6
|
+
**Status:** ✅ **AUTO-UPDATE + CRON + NOTIFICATIONS**
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -11,36 +11,34 @@
|
|
|
11
11
|
|
|
12
12
|
| Metric | Value |
|
|
13
13
|
|--------|-------|
|
|
14
|
-
| **Version** | **0.4.
|
|
14
|
+
| **Version** | **0.4.3** (auto-update feature) |
|
|
15
15
|
| **Tests** | 291 pass / 19 skip / 0 fail |
|
|
16
|
-
| **Features** |
|
|
16
|
+
| **Features** | 15 core features |
|
|
17
|
+
| **Extensions** | 34 (cleaned up from 43) |
|
|
17
18
|
| **Documentation** | 16,000+ lines |
|
|
18
19
|
| **Build** | ✅ Clean |
|
|
19
|
-
| **Commits** |
|
|
20
|
+
| **Commits** | 85+ since start |
|
|
20
21
|
|
|
21
22
|
---
|
|
22
23
|
|
|
23
|
-
## 🎉 COMPLETED TODAY
|
|
24
|
+
## 🎉 COMPLETED TODAY (v0.4.3)
|
|
24
25
|
|
|
25
|
-
### 1. ✅
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
- CLI: `--notify telegram:CHAT_ID` or `--notify discord:CHANNEL_ID`
|
|
31
|
-
- Success/error notification controls
|
|
32
|
-
- Custom prefixes
|
|
26
|
+
### 1. ✅ Auto-Update (NEW)
|
|
27
|
+
- Configurable scheduled update checks
|
|
28
|
+
- Cron integration: `autoUpdate.checkInterval`
|
|
29
|
+
- Auto-install option: `autoUpdate.autoInstall`
|
|
30
|
+
- Manual update: `0xkobold update --install`
|
|
33
31
|
|
|
34
|
-
### 2. ✅
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
32
|
+
### 2. ✅ Extension Cleanup (v0.4.2)
|
|
33
|
+
- Removed 7 redundant extensions
|
|
34
|
+
- Consolidated: session-* → session-manager
|
|
35
|
+
- Merged: memory-* → perennial-memory
|
|
36
|
+
- 43 extensions → 34 extensions (-21%)
|
|
39
37
|
|
|
40
|
-
### 3. ✅
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
38
|
+
### 3. ✅ Cron + Notifications (v0.4.0-v0.4.1)
|
|
39
|
+
- Full OpenClaw-compatible cron system
|
|
40
|
+
- Telegram/Discord/Slack notifications
|
|
41
|
+
- Systemd service for production
|
|
44
42
|
|
|
45
43
|
---
|
|
46
44
|
|
|
@@ -48,21 +46,22 @@
|
|
|
48
46
|
|
|
49
47
|
| Feature | Status | Notes |
|
|
50
48
|
|---------|--------|-------|
|
|
49
|
+
| ✅ **Auto-Update** | **NEW** | Scheduled updates via cron |
|
|
51
50
|
| ✅ **Cron Jobs** | Complete | Full OpenClaw parity |
|
|
52
51
|
| ✅ **Notifications** | Complete | Telegram/Discord/Slack |
|
|
53
52
|
| ✅ **Systemd** | Complete | Production service |
|
|
54
|
-
| ✅ **LLM Integration** | Complete | Real API calls
|
|
53
|
+
| ✅ **LLM Integration** | Complete | Real API calls |
|
|
55
54
|
| ✅ **Heartbeat** | Complete | HEARTBEAT.md system |
|
|
56
|
-
| ✅ WhatsApp | Complete | Baileys
|
|
57
|
-
| ✅ Docker Sandbox | Complete | Safe
|
|
58
|
-
| ✅ Device Auth | Complete | Token-based
|
|
55
|
+
| ✅ WhatsApp | Complete | Baileys |
|
|
56
|
+
| ✅ Docker Sandbox | Complete | Safe execution |
|
|
57
|
+
| ✅ Device Auth | Complete | Token-based |
|
|
59
58
|
| ✅ Vision/Audio | Complete | Media processing |
|
|
60
59
|
| ✅ Telegram | Complete | Bot API |
|
|
61
60
|
| ✅ Slack | Complete | Webhook |
|
|
62
61
|
| ✅ PDF | Complete | Document parsing |
|
|
63
62
|
| ✅ Config Manager | Complete | JSON/YAML/SQLite |
|
|
64
|
-
| ✅ Remote Gateway | Complete | WebSocket
|
|
65
|
-
| ✅ Tailscale | Complete | VPN
|
|
63
|
+
| ✅ Remote Gateway | Complete | WebSocket |
|
|
64
|
+
| ✅ Tailscale | Complete | VPN |
|
|
66
65
|
| ✅ Duplicate Detection | Complete | Semantic search |
|
|
67
66
|
| ✅ OpenClaw Migration | Complete | Import tools |
|
|
68
67
|
| ✅ Persona System | Complete | 5 files |
|
|
@@ -70,40 +69,52 @@
|
|
|
70
69
|
|
|
71
70
|
---
|
|
72
71
|
|
|
73
|
-
## 🚀
|
|
72
|
+
## 🚀 Quick Commands for VPS
|
|
74
73
|
|
|
75
74
|
```bash
|
|
76
|
-
#
|
|
75
|
+
# Install latest
|
|
76
|
+
bun install -g 0xkobold@latest
|
|
77
77
|
|
|
78
|
-
#
|
|
79
|
-
curl -fsSL https://bun.sh/install | bash && \
|
|
80
|
-
export PATH="$HOME/.bun/bin:$PATH" && \
|
|
81
|
-
bun install -g 0xkobold
|
|
82
|
-
|
|
83
|
-
# 2. Initialize
|
|
78
|
+
# Initialize
|
|
84
79
|
0xkobold init --quick
|
|
85
80
|
|
|
86
|
-
#
|
|
87
|
-
|
|
81
|
+
# Enable auto-update
|
|
82
|
+
0xkobold config set autoUpdate.enabled true
|
|
83
|
+
0xkobold config set autoUpdate.checkInterval "0 2 * * *"
|
|
84
|
+
0xkobold config set autoUpdate.autoInstall true
|
|
88
85
|
|
|
89
|
-
#
|
|
86
|
+
# Add Discord notification job
|
|
90
87
|
0xkobold cron add \
|
|
91
|
-
--name "
|
|
92
|
-
--
|
|
93
|
-
--notify discord:
|
|
94
|
-
--
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
# 5. Start scheduler
|
|
88
|
+
--name "Daily Brief" \
|
|
89
|
+
--cron "0 7 * * *" \
|
|
90
|
+
--notify discord:CHANNEL_ID \
|
|
91
|
+
--message "Generate morning briefing"
|
|
92
|
+
|
|
93
|
+
# Start scheduler
|
|
99
94
|
0xkobold cron start
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
---
|
|
100
98
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
## 🔄 Auto-Update Config
|
|
100
|
+
|
|
101
|
+
```jsonc
|
|
102
|
+
{
|
|
103
|
+
"autoUpdate": {
|
|
104
|
+
"enabled": true,
|
|
105
|
+
"checkInterval": "0 2 * * *", // Daily at 2 AM
|
|
106
|
+
"autoInstall": false, // Notify only
|
|
107
|
+
"notifyOnUpdate": true
|
|
108
|
+
}
|
|
109
|
+
}
|
|
104
110
|
```
|
|
105
111
|
|
|
106
|
-
|
|
112
|
+
| Option | Default | Description |
|
|
113
|
+
|--------|---------|-------------|
|
|
114
|
+
| `enabled` | `false` | Enable scheduled checks |
|
|
115
|
+
| `checkInterval` | `"0 2 * * *"` | Cron expression |
|
|
116
|
+
| `autoInstall` | `false` | Auto-install updates |
|
|
117
|
+
| `notifyOnUpdate` | `true` | Notify on update found |
|
|
107
118
|
|
|
108
119
|
---
|
|
109
120
|
|
|
@@ -112,10 +123,12 @@ sudo systemctl enable --now 0xkobold
|
|
|
112
123
|
| Version | Date | Notes |
|
|
113
124
|
|---------|------|-------|
|
|
114
125
|
| 0.3.0 | 2025-01-09 | Initial release |
|
|
115
|
-
| 0.3.1-0.3.3 | 2025-01-09 | Init
|
|
116
|
-
| 0.4.0 | 2025-01-09 |
|
|
117
|
-
|
|
|
126
|
+
| 0.3.1-0.3.3 | 2025-01-09 | Init, persona |
|
|
127
|
+
| 0.4.0 | 2025-01-09 | Cron system |
|
|
128
|
+
| 0.4.1 | 2025-01-09 | Notifications + systemd |
|
|
129
|
+
| 0.4.2 | 2025-01-09 | Extension cleanup |
|
|
130
|
+
| **0.4.3** | **2025-01-09** | **Auto-update feature** |
|
|
118
131
|
|
|
119
132
|
---
|
|
120
133
|
|
|
121
|
-
**HEARTBEAT_OK** ✅ -
|
|
134
|
+
**HEARTBEAT_OK** ✅ - v0.4.3 ready for VPS deployment with auto-updates!
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "0xkobold",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Your digital familiar - a personal AI assistant that learns and evolves (v0.3.0 - Multi-Channel, Security, Media Support)",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migrate Command - v0.3.0
|
|
3
3
|
*
|
|
4
|
-
* Migrate from OpenClaw to 0xKobold
|
|
4
|
+
* Migrate from OpenClaw (koclaw) to 0xKobold
|
|
5
5
|
*/
|
|
6
6
|
import { Command } from "commander";
|
|
7
7
|
import { runMigration } from "../../migration/openclaw.js";
|
|
@@ -9,11 +9,13 @@ export const migrateCommand = new Command("migrate")
|
|
|
9
9
|
.description("Migrate from OpenClaw (koclaw) to 0xKobold")
|
|
10
10
|
.option("-s, --source <path>", "OpenClaw source directory", "~/.openclaw")
|
|
11
11
|
.option("-t, --target <path>", "0xKobold target directory", "~/.0xkobold")
|
|
12
|
-
.option("--dry-run", "Preview changes without applying"
|
|
13
|
-
.option("--live", "Apply changes (
|
|
14
|
-
.option("-f, --force", "Force migration
|
|
12
|
+
.option("--dry-run", "Preview changes without applying")
|
|
13
|
+
.option("--live", "Apply changes (creates backup first)", false)
|
|
14
|
+
.option("-f, --force", "Force migration even if target exists", false)
|
|
15
15
|
.action(async (options) => {
|
|
16
|
+
// If neither --dry-run nor --live specified, default to dry-run
|
|
16
17
|
const dryRun = !options.live && !options.force;
|
|
18
|
+
// runMigration handles its own exit
|
|
17
19
|
await runMigration({
|
|
18
20
|
source: options.source,
|
|
19
21
|
target: options.target,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../../src/cli/commands/migrate.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,OAAO,CAAC,SAAS,CAAC;KACjD,WAAW,CAAC,4CAA4C,CAAC;KACzD,MAAM,CAAC,qBAAqB,EAAE,2BAA2B,EAAE,aAAa,CAAC;KACzE,MAAM,CAAC,qBAAqB,EAAE,2BAA2B,EAAE,aAAa,CAAC;KACzE,MAAM,CAAC,WAAW,EAAE,kCAAkC,
|
|
1
|
+
{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../../src/cli/commands/migrate.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,OAAO,CAAC,SAAS,CAAC;KACjD,WAAW,CAAC,4CAA4C,CAAC;KACzD,MAAM,CAAC,qBAAqB,EAAE,2BAA2B,EAAE,aAAa,CAAC;KACzE,MAAM,CAAC,qBAAqB,EAAE,2BAA2B,EAAE,aAAa,CAAC;KACzE,MAAM,CAAC,WAAW,EAAE,kCAAkC,CAAC;KACvD,MAAM,CAAC,QAAQ,EAAE,sCAAsC,EAAE,KAAK,CAAC;KAC/D,MAAM,CAAC,aAAa,EAAE,uCAAuC,EAAE,KAAK,CAAC;KACrE,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IACxB,gEAAgE;IAChE,MAAM,MAAM,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;IAE/C,oCAAoC;IACpC,MAAM,YAAY,CAAC;QACjB,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,MAAM;QACN,KAAK,EAAE,OAAO,CAAC,KAAK;KACrB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "0xkobold",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Your digital familiar - a personal AI assistant that learns and evolves (v0.3.0 - Multi-Channel, Security, Media Support)",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|