@fortressllm/sybil 0.0.3 → 0.0.32
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 +40 -40
- package/assets/logo.png +0 -0
- 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 +5 -3
- package/src/cli/commands/start.ts +3 -3
- package/src/index.ts +8 -0
- package/src/tools/extended-tools.ts +2 -2
- package/src/tools/podman-workspace-mcp.ts +1 -1
- package/src/tools/web-tools.ts +2 -2
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ An advanced autonomous AI agent built with [Mastra](https://mastra.ai).
|
|
|
35
35
|
### Interactive Setup (Recommended)
|
|
36
36
|
```bash
|
|
37
37
|
# Complete setup in one command
|
|
38
|
-
|
|
38
|
+
npx sybilcli init
|
|
39
39
|
|
|
40
40
|
# Follow the interactive wizard:
|
|
41
41
|
# 1. Enter Telegram Bot Token
|
|
@@ -79,7 +79,7 @@ PODMAN_WORKSPACE_DIR=/path/to/workspace
|
|
|
79
79
|
```bash
|
|
80
80
|
npm start
|
|
81
81
|
# OR use CLI
|
|
82
|
-
|
|
82
|
+
npx sybilcli start
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
#### 6. Connect to Bot
|
|
@@ -106,7 +106,7 @@ npm start
|
|
|
106
106
|
For secure access control:
|
|
107
107
|
|
|
108
108
|
```bash
|
|
109
|
-
|
|
109
|
+
npx sybilcli otp
|
|
110
110
|
# Generate OTP → Share 6-digit code → User sends code to your bot
|
|
111
111
|
```
|
|
112
112
|
|
|
@@ -114,25 +114,25 @@ sybil otp
|
|
|
114
114
|
|
|
115
115
|
### Interactive Terminal Interface
|
|
116
116
|
```bash
|
|
117
|
-
|
|
117
|
+
npx sybilcli # Launch interactive TUI menu (no arguments)
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
### Available Commands (12 total)
|
|
121
121
|
|
|
122
122
|
| Command | Description |
|
|
123
123
|
|---------|-------------|
|
|
124
|
-
| `
|
|
125
|
-
| `
|
|
126
|
-
| `
|
|
127
|
-
| `
|
|
128
|
-
| `
|
|
129
|
-
| `
|
|
130
|
-
| `
|
|
131
|
-
| `
|
|
132
|
-
| `
|
|
133
|
-
| `
|
|
134
|
-
| `
|
|
135
|
-
| `
|
|
124
|
+
| `npx sybilcli init` | Interactive setup wizard with configuration prompts |
|
|
125
|
+
| `npx sybilcli start` | Start the bot service |
|
|
126
|
+
| `npx sybilcli stop` | Stop the bot service |
|
|
127
|
+
| `npx sybilcli status` | Check bot status and health |
|
|
128
|
+
| `npx sybilcli doctor` | Run system diagnostics and health checks |
|
|
129
|
+
| `npx sybilcli config` | Manage configuration (edit, list, validate) |
|
|
130
|
+
| `npx sybilcli logs` | View and filter bot logs |
|
|
131
|
+
| `npx sybilcli backup` | Create backup of data and configuration |
|
|
132
|
+
| `npx sybilcli restore` | Restore from backup |
|
|
133
|
+
| `npx sybilcli update` | Update Sybil to latest version |
|
|
134
|
+
| `npx sybilcli whatsapp` | Manage WhatsApp connection and sessions |
|
|
135
|
+
| `npx sybilcli otp` | OTP authentication management |
|
|
136
136
|
|
|
137
137
|
### Usage Examples
|
|
138
138
|
```bash
|
|
@@ -140,51 +140,51 @@ sybil # Launch interactive TUI menu (no arguments)
|
|
|
140
140
|
sybil
|
|
141
141
|
|
|
142
142
|
# Setup and configuration
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
npx sybilcli init
|
|
144
|
+
npx sybilcli config --edit
|
|
145
145
|
|
|
146
146
|
# Service management
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
npx sybilcli start
|
|
148
|
+
npx sybilcli status
|
|
149
|
+
npx sybilcli stop
|
|
150
150
|
|
|
151
151
|
# Authentication
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
npx sybilcli otp # Interactive OTP menu
|
|
153
|
+
npx sybilcli otp --generate # Generate new OTP code
|
|
154
154
|
|
|
155
155
|
# Monitoring
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
npx sybilcli logs --follow # Live log streaming
|
|
157
|
+
npx sybilcli doctor # System health check
|
|
158
158
|
|
|
159
159
|
# WhatsApp management
|
|
160
|
-
|
|
160
|
+
npx sybilcli whatsapp # Interactive WhatsApp menu
|
|
161
161
|
|
|
162
162
|
# Backup and maintenance
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
npx sybilcli backup
|
|
164
|
+
npx sybilcli update
|
|
165
165
|
```
|
|
166
166
|
|
|
167
167
|
### Quick Commands
|
|
168
168
|
```bash
|
|
169
169
|
# Setup & Management
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
npx sybilcli init # Interactive setup wizard
|
|
171
|
+
npx sybilcli start # Start bot
|
|
172
|
+
npx sybilcli stop # Stop bot
|
|
173
|
+
npx sybilcli status # Check status
|
|
174
|
+
npx sybilcli doctor # System diagnostics
|
|
175
175
|
|
|
176
176
|
# Authentication
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
npx sybilcli otp --generate # Generate OTP for user
|
|
178
|
+
npx sybilcli otp --list # List pending/authorized users
|
|
179
|
+
npx sybilcli otp --revoke 123 # Revoke user access
|
|
180
180
|
|
|
181
181
|
# Configuration
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
npx sybilcli config --edit # Interactive config
|
|
183
|
+
npx sybilcli config --list # Show all settings
|
|
184
184
|
|
|
185
185
|
# Monitoring
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
npx sybilcli logs --follow # Live logs
|
|
187
|
+
npx sybilcli whatsapp --status # WhatsApp connection
|
|
188
188
|
```
|
|
189
189
|
|
|
190
190
|
## Telegram Commands
|
package/assets/logo.png
CHANGED
|
Binary file
|
|
@@ -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;
|