@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.
Files changed (126) hide show
  1. package/README.md +49 -41
  2. package/dist/agents/autonomous-agent.d.ts +8 -8
  3. package/dist/agents/network.d.ts +86 -86
  4. package/dist/cli/commands/start.js +3 -3
  5. package/dist/cli/commands/start.js.map +1 -1
  6. package/dist/index.d.ts +8 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +8 -0
  9. package/dist/index.js.map +1 -1
  10. package/dist/skills/dynamic/skill-generator.d.ts +4 -4
  11. package/dist/tools/agent-delegation-tools.d.ts +12 -12
  12. package/dist/tools/browser-tools.d.ts +14 -14
  13. package/dist/tools/dynamic/tool-generator.d.ts +16 -16
  14. package/dist/tools/extended-tools.d.ts +20 -20
  15. package/dist/tools/extended-tools.js +2 -2
  16. package/dist/tools/extended-tools.js.map +1 -1
  17. package/dist/tools/library/calendar/index.d.ts +28 -28
  18. package/dist/tools/podman-workspace-mcp.d.ts +12 -12
  19. package/dist/tools/podman-workspace-mcp.js +1 -1
  20. package/dist/tools/podman-workspace-mcp.js.map +1 -1
  21. package/dist/tools/telegram-file-tools.d.ts +2 -2
  22. package/dist/tools/tool-registry.d.ts +54 -54
  23. package/dist/tools/web-tools.d.ts +6 -6
  24. package/dist/tools/web-tools.js +2 -2
  25. package/dist/tools/web-tools.js.map +1 -1
  26. package/dist/tools/whatsapp-autoreply-tools.d.ts +2 -2
  27. package/dist/tools/whatsapp-tools.d.ts +19 -19
  28. package/dist/workflows/planner-workflow.d.ts +6 -6
  29. package/package.json +12 -3
  30. package/.env copy +0 -91
  31. package/.env.example +0 -139
  32. package/BROWSER_CONTROL.md +0 -354
  33. package/CLI_CHAT_FEATURE.md +0 -224
  34. package/CLI_GUIDE.md +0 -359
  35. package/DYNAMIC_SKILLS.md +0 -345
  36. package/DockerFile.sandbox +0 -14
  37. package/PROGRESS.md +0 -249
  38. package/RENAME_LOG.md +0 -62
  39. package/SIMPLIFIED_TELEGRAM_UX.md +0 -273
  40. package/SYBIL_SUMMARY.md +0 -360
  41. package/TASK11_NETWORK.md +0 -202
  42. package/TASK14_CLI.md +0 -432
  43. package/TASK8_SAFETY.md +0 -317
  44. package/TASK9_COMPLETION.md +0 -186
  45. package/TASK9_SUMMARY.md +0 -201
  46. package/TELEGRAM_OTP_AUTH.md +0 -359
  47. package/VECTOR_MEMORY.md +0 -163
  48. package/cypfq_code_search.md +0 -287
  49. package/cypfq_driver_search.md +0 -297
  50. package/cypfq_github_search.md +0 -297
  51. package/cypfq_repo_search.md +0 -370
  52. package/docs/README.md +0 -140
  53. package/docs/api/agents.md +0 -481
  54. package/docs/api/browser-tools.md +0 -469
  55. package/docs/api/memory.md +0 -629
  56. package/docs/architecture/agent-networks.md +0 -586
  57. package/docs/architecture/memory.md +0 -579
  58. package/docs/architecture/overview.md +0 -436
  59. package/docs/architecture/tools.md +0 -637
  60. package/docs/cli-tui.md +0 -367
  61. package/docs/guides/environment-variables.md +0 -502
  62. package/docs/guides/troubleshooting.md +0 -882
  63. package/docs/tutorials/agent-networks.md +0 -432
  64. package/docs/tutorials/dynamic-tools.md +0 -469
  65. package/docs/tutorials/getting-started.md +0 -263
  66. package/docs/tutorials/skills.md +0 -561
  67. package/docs/tutorials/web-browsing.md +0 -329
  68. package/mastra.db-shm +0 -0
  69. package/mastra.db-wal +0 -0
  70. package/plan.md +0 -601
  71. package/skills/code-review/SKILL.md +0 -48
  72. package/skills/task-planning/SKILL.md +0 -55
  73. package/skills/web-research/SKILL.md +0 -79
  74. package/skills/whatsapp-management/SKILL.md +0 -78
  75. package/src/agents/autonomous-agent.ts +0 -626
  76. package/src/agents/network.ts +0 -1307
  77. package/src/cli/commands/backup.ts +0 -78
  78. package/src/cli/commands/config.ts +0 -176
  79. package/src/cli/commands/doctor.ts +0 -111
  80. package/src/cli/commands/init.ts +0 -150
  81. package/src/cli/commands/logs.ts +0 -94
  82. package/src/cli/commands/otp.ts +0 -162
  83. package/src/cli/commands/restore.ts +0 -118
  84. package/src/cli/commands/start.ts +0 -76
  85. package/src/cli/commands/status.ts +0 -81
  86. package/src/cli/commands/stop.ts +0 -68
  87. package/src/cli/commands/update.ts +0 -61
  88. package/src/cli/commands/whatsapp.ts +0 -322
  89. package/src/cli/index.ts +0 -69
  90. package/src/cli.ts +0 -830
  91. package/src/index.ts +0 -124
  92. package/src/mastra/index.ts +0 -49
  93. package/src/mastra/memory.ts +0 -99
  94. package/src/mastra/public/workspace/plan.md +0 -115
  95. package/src/mastra/public/workspace/research/react-tailwind/skill.md +0 -47
  96. package/src/processors/index.ts +0 -170
  97. package/src/processors/semantic-recall.ts +0 -277
  98. package/src/processors/tool-search.ts +0 -46
  99. package/src/skills/dynamic/skill-generator.ts +0 -568
  100. package/src/tools/agent-delegation-tools.ts +0 -301
  101. package/src/tools/browser-tools.ts +0 -792
  102. package/src/tools/dynamic/registry.ts +0 -144
  103. package/src/tools/dynamic/tool-generator.ts +0 -406
  104. package/src/tools/extended-tools.ts +0 -498
  105. package/src/tools/library/calendar/index.ts +0 -172
  106. package/src/tools/podman-workspace-mcp-cli.ts +0 -14
  107. package/src/tools/podman-workspace-mcp.ts +0 -1290
  108. package/src/tools/podman-workspace.ts +0 -858
  109. package/src/tools/telegram-file-tools.ts +0 -320
  110. package/src/tools/tool-registry.ts +0 -233
  111. package/src/tools/web-tools.ts +0 -461
  112. package/src/tools/whatsapp-autoreply-tools.ts +0 -616
  113. package/src/tools/whatsapp-tools.ts +0 -602
  114. package/src/utils/logger.ts +0 -368
  115. package/src/utils/model-config.ts +0 -437
  116. package/src/utils/semantic-memory.ts +0 -230
  117. package/src/utils/system.ts +0 -25
  118. package/src/utils/telegram-auth.ts +0 -201
  119. package/src/utils/telegram.ts +0 -1847
  120. package/src/utils/whatsapp-client.ts +0 -808
  121. package/src/workflows/planner-workflow.ts +0 -178
  122. package/src/workflows/skill-builder-workflow.ts +0 -175
  123. package/src/workspace/index.ts +0 -69
  124. package/tsconfig.json +0 -22
  125. package/view-logs.sh +0 -116
  126. 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
- sybil init
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
- sybil start
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
- sybil otp
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
- sybil # Launch interactive TUI menu (no arguments)
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
- | `sybil init` | Interactive setup wizard with configuration prompts |
125
- | `sybil start` | Start the bot service |
126
- | `sybil stop` | Stop the bot service |
127
- | `sybil status` | Check bot status and health |
128
- | `sybil doctor` | Run system diagnostics and health checks |
129
- | `sybil config` | Manage configuration (edit, list, validate) |
130
- | `sybil logs` | View and filter bot logs |
131
- | `sybil backup` | Create backup of data and configuration |
132
- | `sybil restore` | Restore from backup |
133
- | `sybil update` | Update Sybil to latest version |
134
- | `sybil whatsapp` | Manage WhatsApp connection and sessions |
135
- | `sybil otp` | OTP authentication management |
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
- sybil init
144
- sybil config --edit
151
+ sybilcli init
152
+ sybilcli config --edit
145
153
 
146
154
  # Service management
147
- sybil start
148
- sybil status
149
- sybil stop
155
+ sybilcli start
156
+ sybilcli status
157
+ sybilcli stop
150
158
 
151
159
  # Authentication
152
- sybil otp # Interactive OTP menu
153
- sybil otp --generate # Generate new OTP code
160
+ sybilcli otp # Interactive OTP menu
161
+ sybilcli otp --generate # Generate new OTP code
154
162
 
155
163
  # Monitoring
156
- sybil logs --follow # Live log streaming
157
- sybil doctor # System health check
164
+ sybilcli logs --follow # Live log streaming
165
+ sybilcli doctor # System health check
158
166
 
159
167
  # WhatsApp management
160
- sybil whatsapp # Interactive WhatsApp menu
168
+ sybilcli whatsapp # Interactive WhatsApp menu
161
169
 
162
170
  # Backup and maintenance
163
- sybil backup
164
- sybil update
171
+ sybilcli backup
172
+ sybilcli update
165
173
  ```
166
174
 
167
175
  ### Quick Commands
168
176
  ```bash
169
177
  # Setup & Management
170
- sybil init # Interactive setup wizard
171
- sybil start # Start bot
172
- sybil stop # Stop bot
173
- sybil status # Check status
174
- sybil doctor # System diagnostics
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
- sybil otp --generate # Generate OTP for user
178
- sybil otp --list # List pending/authorized users
179
- sybil otp --revoke 123 # Revoke user access
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
- sybil config --edit # Interactive config
183
- sybil config --list # Show all settings
190
+ sybilcli config --edit # Interactive config
191
+ sybilcli config --list # Show all settings
184
192
 
185
193
  # Monitoring
186
- sybil logs --follow # Live logs
187
- sybil whatsapp --status # WhatsApp connection
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
- duration: string;
31
+ result: any;
33
32
  workflowId: string;
34
- result?: any;
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
- duration: string;
42
+ result: any;
44
43
  workflowId: string;
45
- result?: any;
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;