@fortressllm/sybil 0.0.31 → 0.0.33
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 +49 -41
- package/dist/agents/autonomous-agent.d.ts +8 -8
- package/dist/agents/network.d.ts +86 -86
- package/dist/cli/commands/start.js +3 -3
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/skills/dynamic/skill-generator.d.ts +4 -4
- package/dist/tools/agent-delegation-tools.d.ts +12 -12
- package/dist/tools/browser-tools.d.ts +14 -14
- package/dist/tools/dynamic/tool-generator.d.ts +16 -16
- package/dist/tools/extended-tools.d.ts +20 -20
- package/dist/tools/extended-tools.js +2 -2
- package/dist/tools/extended-tools.js.map +1 -1
- package/dist/tools/library/calendar/index.d.ts +28 -28
- package/dist/tools/podman-workspace-mcp.d.ts +12 -12
- package/dist/tools/podman-workspace-mcp.js +1 -1
- package/dist/tools/podman-workspace-mcp.js.map +1 -1
- package/dist/tools/telegram-file-tools.d.ts +2 -2
- package/dist/tools/tool-registry.d.ts +54 -54
- package/dist/tools/web-tools.d.ts +6 -6
- package/dist/tools/web-tools.js +2 -2
- package/dist/tools/web-tools.js.map +1 -1
- package/dist/tools/whatsapp-autoreply-tools.d.ts +2 -2
- package/dist/tools/whatsapp-tools.d.ts +19 -19
- package/dist/workflows/planner-workflow.d.ts +6 -6
- package/package.json +12 -3
- package/.env copy +0 -91
- package/.env.example +0 -139
- package/BROWSER_CONTROL.md +0 -354
- package/CLI_CHAT_FEATURE.md +0 -224
- package/CLI_GUIDE.md +0 -359
- package/DYNAMIC_SKILLS.md +0 -345
- package/DockerFile.sandbox +0 -14
- package/PROGRESS.md +0 -249
- package/RENAME_LOG.md +0 -62
- package/SIMPLIFIED_TELEGRAM_UX.md +0 -273
- package/SYBIL_SUMMARY.md +0 -360
- package/TASK11_NETWORK.md +0 -202
- package/TASK14_CLI.md +0 -432
- package/TASK8_SAFETY.md +0 -317
- package/TASK9_COMPLETION.md +0 -186
- package/TASK9_SUMMARY.md +0 -201
- package/TELEGRAM_OTP_AUTH.md +0 -359
- package/VECTOR_MEMORY.md +0 -163
- package/cypfq_code_search.md +0 -287
- package/cypfq_driver_search.md +0 -297
- package/cypfq_github_search.md +0 -297
- package/cypfq_repo_search.md +0 -370
- package/docs/README.md +0 -140
- package/docs/api/agents.md +0 -481
- package/docs/api/browser-tools.md +0 -469
- package/docs/api/memory.md +0 -629
- package/docs/architecture/agent-networks.md +0 -586
- package/docs/architecture/memory.md +0 -579
- package/docs/architecture/overview.md +0 -436
- package/docs/architecture/tools.md +0 -637
- package/docs/cli-tui.md +0 -367
- package/docs/guides/environment-variables.md +0 -502
- package/docs/guides/troubleshooting.md +0 -882
- package/docs/tutorials/agent-networks.md +0 -432
- package/docs/tutorials/dynamic-tools.md +0 -469
- package/docs/tutorials/getting-started.md +0 -263
- package/docs/tutorials/skills.md +0 -561
- package/docs/tutorials/web-browsing.md +0 -329
- package/mastra.db-shm +0 -0
- package/mastra.db-wal +0 -0
- package/plan.md +0 -601
- package/skills/code-review/SKILL.md +0 -48
- package/skills/task-planning/SKILL.md +0 -55
- package/skills/web-research/SKILL.md +0 -79
- package/skills/whatsapp-management/SKILL.md +0 -78
- package/src/agents/autonomous-agent.ts +0 -626
- package/src/agents/network.ts +0 -1307
- package/src/cli/commands/backup.ts +0 -78
- package/src/cli/commands/config.ts +0 -176
- package/src/cli/commands/doctor.ts +0 -111
- package/src/cli/commands/init.ts +0 -150
- package/src/cli/commands/logs.ts +0 -94
- package/src/cli/commands/otp.ts +0 -162
- package/src/cli/commands/restore.ts +0 -118
- package/src/cli/commands/start.ts +0 -76
- package/src/cli/commands/status.ts +0 -81
- package/src/cli/commands/stop.ts +0 -68
- package/src/cli/commands/update.ts +0 -61
- package/src/cli/commands/whatsapp.ts +0 -322
- package/src/cli/index.ts +0 -69
- package/src/cli.ts +0 -830
- package/src/index.ts +0 -124
- package/src/mastra/index.ts +0 -49
- package/src/mastra/memory.ts +0 -99
- package/src/mastra/public/workspace/plan.md +0 -115
- package/src/mastra/public/workspace/research/react-tailwind/skill.md +0 -47
- package/src/processors/index.ts +0 -170
- package/src/processors/semantic-recall.ts +0 -277
- package/src/processors/tool-search.ts +0 -46
- package/src/skills/dynamic/skill-generator.ts +0 -568
- package/src/tools/agent-delegation-tools.ts +0 -301
- package/src/tools/browser-tools.ts +0 -792
- package/src/tools/dynamic/registry.ts +0 -144
- package/src/tools/dynamic/tool-generator.ts +0 -406
- package/src/tools/extended-tools.ts +0 -498
- package/src/tools/library/calendar/index.ts +0 -172
- package/src/tools/podman-workspace-mcp-cli.ts +0 -14
- package/src/tools/podman-workspace-mcp.ts +0 -1290
- package/src/tools/podman-workspace.ts +0 -858
- package/src/tools/telegram-file-tools.ts +0 -320
- package/src/tools/tool-registry.ts +0 -233
- package/src/tools/web-tools.ts +0 -461
- package/src/tools/whatsapp-autoreply-tools.ts +0 -616
- package/src/tools/whatsapp-tools.ts +0 -602
- package/src/utils/logger.ts +0 -368
- package/src/utils/model-config.ts +0 -437
- package/src/utils/semantic-memory.ts +0 -230
- package/src/utils/system.ts +0 -25
- package/src/utils/telegram-auth.ts +0 -201
- package/src/utils/telegram.ts +0 -1847
- package/src/utils/whatsapp-client.ts +0 -808
- package/src/workflows/planner-workflow.ts +0 -178
- package/src/workflows/skill-builder-workflow.ts +0 -175
- package/src/workspace/index.ts +0 -69
- package/tsconfig.json +0 -22
- package/view-logs.sh +0 -116
- package/whatsapp-session.sh +0 -197
package/README.md
CHANGED
|
@@ -34,8 +34,13 @@ An advanced autonomous AI agent built with [Mastra](https://mastra.ai).
|
|
|
34
34
|
|
|
35
35
|
### Interactive Setup (Recommended)
|
|
36
36
|
```bash
|
|
37
|
+
#install sybilcli globally
|
|
38
|
+
npm i -g npm i @fortressllm/sybil
|
|
39
|
+
# create a directory where all your secrets and workspace will reside
|
|
40
|
+
mkdir sybil
|
|
41
|
+
cd sybil
|
|
37
42
|
# Complete setup in one command
|
|
38
|
-
|
|
43
|
+
sybilcli init
|
|
39
44
|
|
|
40
45
|
# Follow the interactive wizard:
|
|
41
46
|
# 1. Enter Telegram Bot Token
|
|
@@ -46,8 +51,11 @@ sybil init
|
|
|
46
51
|
|
|
47
52
|
### Manual Setup
|
|
48
53
|
|
|
49
|
-
#### 1. Install Dependencies
|
|
54
|
+
#### 1. Clone the repo and Install Dependencies
|
|
50
55
|
```bash
|
|
56
|
+
git clone https://github.com/fortressllm/sybil.git
|
|
57
|
+
|
|
58
|
+
|
|
51
59
|
npm install
|
|
52
60
|
```
|
|
53
61
|
|
|
@@ -79,7 +87,7 @@ PODMAN_WORKSPACE_DIR=/path/to/workspace
|
|
|
79
87
|
```bash
|
|
80
88
|
npm start
|
|
81
89
|
# OR use CLI
|
|
82
|
-
|
|
90
|
+
sybilcli start
|
|
83
91
|
```
|
|
84
92
|
|
|
85
93
|
#### 6. Connect to Bot
|
|
@@ -106,7 +114,7 @@ npm start
|
|
|
106
114
|
For secure access control:
|
|
107
115
|
|
|
108
116
|
```bash
|
|
109
|
-
|
|
117
|
+
sybilcli otp
|
|
110
118
|
# Generate OTP → Share 6-digit code → User sends code to your bot
|
|
111
119
|
```
|
|
112
120
|
|
|
@@ -114,25 +122,25 @@ sybil otp
|
|
|
114
122
|
|
|
115
123
|
### Interactive Terminal Interface
|
|
116
124
|
```bash
|
|
117
|
-
|
|
125
|
+
sybilcli # Launch interactive TUI menu (no arguments)
|
|
118
126
|
```
|
|
119
127
|
|
|
120
128
|
### Available Commands (12 total)
|
|
121
129
|
|
|
122
130
|
| Command | Description |
|
|
123
131
|
|---------|-------------|
|
|
124
|
-
| `
|
|
125
|
-
| `
|
|
126
|
-
| `
|
|
127
|
-
| `
|
|
128
|
-
| `
|
|
129
|
-
| `
|
|
130
|
-
| `
|
|
131
|
-
| `
|
|
132
|
-
| `
|
|
133
|
-
| `
|
|
134
|
-
| `
|
|
135
|
-
| `
|
|
132
|
+
| `sybilcli init` | Interactive setup wizard with configuration prompts |
|
|
133
|
+
| `sybilcli start` | Start the bot service |
|
|
134
|
+
| `sybilcli stop` | Stop the bot service |
|
|
135
|
+
| `sybilcli status` | Check bot status and health |
|
|
136
|
+
| `sybilcli doctor` | Run system diagnostics and health checks |
|
|
137
|
+
| `sybilcli config` | Manage configuration (edit, list, validate) |
|
|
138
|
+
| `sybilcli logs` | View and filter bot logs |
|
|
139
|
+
| `sybilcli backup` | Create backup of data and configuration |
|
|
140
|
+
| `sybilcli restore` | Restore from backup |
|
|
141
|
+
| `sybilcli update` | Update Sybil to latest version |
|
|
142
|
+
| `sybilcli whatsapp` | Manage WhatsApp connection and sessions |
|
|
143
|
+
| `sybilcli otp` | OTP authentication management |
|
|
136
144
|
|
|
137
145
|
### Usage Examples
|
|
138
146
|
```bash
|
|
@@ -140,51 +148,51 @@ sybil # Launch interactive TUI menu (no arguments)
|
|
|
140
148
|
sybil
|
|
141
149
|
|
|
142
150
|
# Setup and configuration
|
|
143
|
-
|
|
144
|
-
|
|
151
|
+
sybilcli init
|
|
152
|
+
sybilcli config --edit
|
|
145
153
|
|
|
146
154
|
# Service management
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
155
|
+
sybilcli start
|
|
156
|
+
sybilcli status
|
|
157
|
+
sybilcli stop
|
|
150
158
|
|
|
151
159
|
# Authentication
|
|
152
|
-
|
|
153
|
-
|
|
160
|
+
sybilcli otp # Interactive OTP menu
|
|
161
|
+
sybilcli otp --generate # Generate new OTP code
|
|
154
162
|
|
|
155
163
|
# Monitoring
|
|
156
|
-
|
|
157
|
-
|
|
164
|
+
sybilcli logs --follow # Live log streaming
|
|
165
|
+
sybilcli doctor # System health check
|
|
158
166
|
|
|
159
167
|
# WhatsApp management
|
|
160
|
-
|
|
168
|
+
sybilcli whatsapp # Interactive WhatsApp menu
|
|
161
169
|
|
|
162
170
|
# Backup and maintenance
|
|
163
|
-
|
|
164
|
-
|
|
171
|
+
sybilcli backup
|
|
172
|
+
sybilcli update
|
|
165
173
|
```
|
|
166
174
|
|
|
167
175
|
### Quick Commands
|
|
168
176
|
```bash
|
|
169
177
|
# Setup & Management
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
178
|
+
sybilcli init # Interactive setup wizard
|
|
179
|
+
sybilcli start # Start bot
|
|
180
|
+
sybilcli stop # Stop bot
|
|
181
|
+
sybilcli status # Check status
|
|
182
|
+
sybilcli doctor # System diagnostics
|
|
175
183
|
|
|
176
184
|
# Authentication
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
185
|
+
sybilcli otp --generate # Generate OTP for user
|
|
186
|
+
sybilcli otp --list # List pending/authorized users
|
|
187
|
+
sybilcli otp --revoke 123 # Revoke user access
|
|
180
188
|
|
|
181
189
|
# Configuration
|
|
182
|
-
|
|
183
|
-
|
|
190
|
+
sybilcli config --edit # Interactive config
|
|
191
|
+
sybilcli config --list # Show all settings
|
|
184
192
|
|
|
185
193
|
# Monitoring
|
|
186
|
-
|
|
187
|
-
|
|
194
|
+
sybilcli logs --follow # Live logs
|
|
195
|
+
sybilcli whatsapp --status # WhatsApp connection
|
|
188
196
|
```
|
|
189
197
|
|
|
190
198
|
## Telegram Commands
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Agent } from "@mastra/core/agent";
|
|
2
2
|
export declare const learnFromInteractionTool: import("@mastra/core/tools").Tool<{
|
|
3
|
-
context: string;
|
|
4
3
|
userMessage: string;
|
|
4
|
+
context: string;
|
|
5
5
|
insights: string[];
|
|
6
6
|
}, {
|
|
7
7
|
success: boolean;
|
|
@@ -10,8 +10,8 @@ export declare const learnFromInteractionTool: import("@mastra/core/tools").Tool
|
|
|
10
10
|
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "learn-from-interaction", unknown>;
|
|
11
11
|
export declare const planAutonomousTaskTool: import("@mastra/core/tools").Tool<{
|
|
12
12
|
goal: string;
|
|
13
|
-
priority: "medium" | "low" | "high" | "critical";
|
|
14
13
|
timeframe: "immediate" | "short-term" | "long-term";
|
|
14
|
+
priority: "medium" | "low" | "high" | "critical";
|
|
15
15
|
}, {
|
|
16
16
|
planId: string;
|
|
17
17
|
steps: {
|
|
@@ -27,22 +27,22 @@ export declare const executePlannerWorkflowTool: import("@mastra/core/tools").To
|
|
|
27
27
|
goal: string;
|
|
28
28
|
userContext?: string | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
steps: string[];
|
|
31
30
|
success: boolean;
|
|
32
|
-
|
|
31
|
+
result: any;
|
|
33
32
|
workflowId: string;
|
|
34
|
-
|
|
33
|
+
steps: string[];
|
|
34
|
+
duration: string;
|
|
35
35
|
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "execute-planner-workflow", unknown>;
|
|
36
36
|
export declare const executeSkillBuilderWorkflowTool: import("@mastra/core/tools").Tool<{
|
|
37
37
|
recentTasks: string[];
|
|
38
38
|
userGoals: string[];
|
|
39
39
|
currentSkills: string[];
|
|
40
40
|
}, {
|
|
41
|
-
steps: string[];
|
|
42
41
|
success: boolean;
|
|
43
|
-
|
|
42
|
+
result: any;
|
|
44
43
|
workflowId: string;
|
|
45
|
-
|
|
44
|
+
steps: string[];
|
|
45
|
+
duration: string;
|
|
46
46
|
}, unknown, unknown, import("@mastra/core/tools").ToolExecutionContext<unknown, unknown, unknown>, "execute-skill-builder-workflow", unknown>;
|
|
47
47
|
export declare const selfReflectTool: import("@mastra/core/tools").Tool<{
|
|
48
48
|
recentInteractions: number;
|