zubo 0.1.23 → 0.1.26

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 (137) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +27 -8
  3. package/dist/index.js +55183 -0
  4. package/package.json +2 -1
  5. package/src/agent/prompts.ts +1 -0
  6. package/src/channels/dashboard.html.ts +380 -31
  7. package/src/channels/router.ts +348 -32
  8. package/src/channels/webchat.ts +230 -45
  9. package/src/config/schema.ts +33 -7
  10. package/src/eval.ts +127 -0
  11. package/src/index.ts +12 -0
  12. package/src/memory/document-parser.ts +82 -0
  13. package/src/memory/fts-index.ts +22 -16
  14. package/src/memory/hybrid-search.ts +62 -36
  15. package/src/scheduler/visual-workflows.ts +16 -2
  16. package/src/setup.ts +60 -11
  17. package/src/start.ts +2 -0
  18. package/src/tools/builtin/memory-prune.ts +221 -0
  19. package/src/tools/builtin/memory-search.ts +8 -3
  20. package/src/tools/builtin-skills/code-interpreter/SKILL.md +33 -6
  21. package/src/tools/builtin-skills/code-interpreter/handler.ts +219 -48
  22. package/src/tools/builtin-skills/web-search/SKILL.md +13 -1
  23. package/src/tools/builtin-skills/web-search/handler.ts +83 -7
  24. package/src/tools/executor.ts +93 -25
  25. package/src/tools/mcp-registry.ts +36 -6
  26. package/src/tools/permissions.ts +128 -8
  27. package/src/types/optional-deps.d.ts +35 -0
  28. package/src/voice/cli.ts +167 -0
  29. package/src/voice/conversation.ts +357 -0
  30. package/src/voice/local-stt.ts +155 -0
  31. package/src/voice/stt.ts +27 -3
  32. package/.github/workflows/ci.yml +0 -35
  33. package/.github/workflows/pages.yml +0 -31
  34. package/.playwright-mcp/console-2026-02-16T19-06-21-167Z.log +0 -31
  35. package/CONTRIBUTING.md +0 -52
  36. package/Dockerfile +0 -24
  37. package/Dockerfile.registry +0 -17
  38. package/bun.lock +0 -216
  39. package/dashboard-chat.png +0 -0
  40. package/dashboard-followups.png +0 -0
  41. package/dashboard-history.png +0 -0
  42. package/dashboard-integrations.png +0 -0
  43. package/dashboard-knowledge-ok.png +0 -0
  44. package/dashboard-knowledge.png +0 -0
  45. package/dashboard-notes-add.png +0 -0
  46. package/dashboard-notes-improved.png +0 -0
  47. package/dashboard-notes.png +0 -0
  48. package/dashboard-overview.png +0 -0
  49. package/dashboard-preferences.png +0 -0
  50. package/dashboard-settings-fixed.png +0 -0
  51. package/dashboard-settings.png +0 -0
  52. package/dashboard-skills-ok.png +0 -0
  53. package/dashboard-skills.png +0 -0
  54. package/dashboard-todos-add.png +0 -0
  55. package/dashboard-todos-improved.png +0 -0
  56. package/dashboard-todos-item.png +0 -0
  57. package/dashboard-todos-priority-badge.png +0 -0
  58. package/dashboard-todos.png +0 -0
  59. package/dashboard-topics.png +0 -0
  60. package/desktop/README.md +0 -57
  61. package/desktop/package.json +0 -12
  62. package/desktop/src-tauri/Cargo.toml +0 -25
  63. package/desktop/src-tauri/build.rs +0 -3
  64. package/desktop/src-tauri/icons/README.md +0 -17
  65. package/desktop/src-tauri/icons/icon.png +0 -0
  66. package/desktop/src-tauri/src/main.rs +0 -189
  67. package/desktop/src-tauri/tauri.conf.json +0 -68
  68. package/docker-compose.yml +0 -20
  69. package/docs/ROADMAP.md +0 -453
  70. package/site/404.html +0 -156
  71. package/site/CNAME +0 -1
  72. package/site/admin.html +0 -1379
  73. package/site/docs/agents.html +0 -375
  74. package/site/docs/api.html +0 -1336
  75. package/site/docs/channels.html +0 -412
  76. package/site/docs/cli.html +0 -274
  77. package/site/docs/config.html +0 -1360
  78. package/site/docs/conversations.html +0 -296
  79. package/site/docs/index.html +0 -685
  80. package/site/docs/integrations.html +0 -572
  81. package/site/docs/marketplace.html +0 -299
  82. package/site/docs/memory.html +0 -306
  83. package/site/docs/security.html +0 -376
  84. package/site/docs/skills.html +0 -465
  85. package/site/docs/webhooks.html +0 -379
  86. package/site/docs/workflows.html +0 -406
  87. package/site/docs.css +0 -412
  88. package/site/index.html +0 -780
  89. package/site/install.sh +0 -104
  90. package/site/logo.svg +0 -1
  91. package/site/og-image.png +0 -0
  92. package/site/robots.txt +0 -4
  93. package/site/script.js +0 -497
  94. package/site/sitemap.xml +0 -63
  95. package/site/skills.html +0 -1076
  96. package/site/style.css +0 -2599
  97. package/tests/agent/session.test.ts +0 -107
  98. package/tests/agent-loop.test.ts +0 -54
  99. package/tests/auth.test.ts +0 -89
  100. package/tests/channels.test.ts +0 -67
  101. package/tests/code-interpreter.test.ts +0 -229
  102. package/tests/compaction.test.ts +0 -44
  103. package/tests/config-schema.test.ts +0 -557
  104. package/tests/config.test.ts +0 -51
  105. package/tests/costs.test.ts +0 -19
  106. package/tests/cron.test.ts +0 -55
  107. package/tests/digest.test.ts +0 -261
  108. package/tests/email.test.ts +0 -122
  109. package/tests/executor.test.ts +0 -158
  110. package/tests/export.test.ts +0 -137
  111. package/tests/helpers/mock-llm.ts +0 -34
  112. package/tests/helpers/test-db.ts +0 -74
  113. package/tests/history.test.ts +0 -254
  114. package/tests/image-generate.test.ts +0 -156
  115. package/tests/integration/chat-flow.test.ts +0 -48
  116. package/tests/integrations.test.ts +0 -97
  117. package/tests/knowledge-graph.test.ts +0 -553
  118. package/tests/mcp-client.test.ts +0 -428
  119. package/tests/mcp-registry.test.ts +0 -341
  120. package/tests/memory/engine.test.ts +0 -114
  121. package/tests/memory-engine.test.ts +0 -57
  122. package/tests/permissions.test.ts +0 -21
  123. package/tests/personal-features.test.ts +0 -1251
  124. package/tests/rate-limiter.test.ts +0 -70
  125. package/tests/registry.test.ts +0 -67
  126. package/tests/router.test.ts +0 -36
  127. package/tests/skill-loader.test.ts +0 -44
  128. package/tests/skill-registry.test.ts +0 -625
  129. package/tests/tokens.test.ts +0 -30
  130. package/tests/util/auth.test.ts +0 -75
  131. package/tests/util/rate-limiter.test.ts +0 -73
  132. package/tests/visual-workflows.test.ts +0 -575
  133. package/tests/voice.test.ts +0 -60
  134. package/tests/webchat.test.ts +0 -88
  135. package/tests/webhook-manage.test.ts +0 -234
  136. package/tests/webhooks-enhanced.test.ts +0 -340
  137. package/tests/workflow.test.ts +0 -38
package/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ # Changelog
2
+
3
+ ## 0.1.25 - 2026-02-17
4
+
5
+ - Added `zubo eval` reliability command with deterministic checks for slash commands, memory explainability, and dry-run safety.
6
+ - Added unified slash command write-actions:
7
+ - `/model set <provider/model>`
8
+ - `/permissions set <tool> <auto|confirm|deny>`
9
+ - `/budget pause|resume`
10
+ - Added configurable memory retrieval tuning:
11
+ - `memoryRetrieval.contextTopK`
12
+ - `memoryRetrieval.minConfidence`
13
+ - Added configurable runtime tool policy controls:
14
+ - `toolScopes.allowed`
15
+ - `toolScopes.dryRunByDefault`
16
+ - `toolPermissions.<tool>`
17
+ - Updated dashboard settings UI with memory retrieval and tool safety controls, including preset buttons and inline guidance.
18
+ - Improved memory explainability display in dashboard and memory search outputs (match type, confidence, reasons).
19
+ - Updated front-facing docs (`README`, CLI, config, memory docs) for new commands and settings.
20
+ - Added CI gate for `zubo eval`.
package/README.md CHANGED
@@ -28,16 +28,18 @@
28
28
 
29
29
  - **11+ LLM providers** — Anthropic, OpenAI, Google Gemini, Ollama, Groq, Together, OpenRouter, DeepSeek, xAI, Fireworks, LM Studio, and any OpenAI-compatible endpoint. Smart routing sends simple queries to fast models automatically.
30
30
  - **7 channels** — Telegram, Discord, Slack, WhatsApp, Signal, Email, Web Chat
31
- - **Persistent memory** — Vector + full-text hybrid search with ONNX embeddings and FTS5. Remembers every conversation, preference, and fact — forever.
32
- - **25+ built-in tools** — Web search, file ops, code execution, APIs, sub-agent delegation, knowledge graph, reminders, and automatic failover between providers.
31
+ - **Persistent memory** — Vector + full-text hybrid search with ONNX embeddings and FTS5. Remembers every conversation, preference, and fact — forever.
32
+ - **Memory explainability** — Memory matches include confidence and why they were selected (keyword, semantic, or hybrid match).
33
+ - **25+ built-in tools** — Web search (Brave + DuckDuckGo), file ops, code execution, APIs, sub-agent delegation, knowledge graph, memory pruning, reminders, and automatic failover between providers.
33
34
  - **Extensible skills** — Build custom skills in TypeScript. Share them on the registry. Install community skills with one command.
34
35
  - **9 integrations** — GitHub, Google (Gmail, Calendar, Docs, Drive, Sheets), Notion, Linear, Jira, Slack, Twitter + Claude Code and MCP
35
36
  - **Workflows** — Multi-agent pipelines with delegation
36
37
  - **Natural language scheduling** — "Every weekday at 9am" just works. Cron jobs, heartbeat, proactive tasks.
37
- - **Voice** — Speech-to-text (Whisper) and text-to-speech (OpenAI, ElevenLabs)
38
+ - **Voice** — Speech-to-text (Whisper, local whisper.cpp), text-to-speech (OpenAI, ElevenLabs), and continuous voice conversation mode
38
39
  - **Personal tools** — Todos, notes, preferences, topics, and follow-ups — all manageable from the dashboard or via chat
39
- - **Dashboard** — Built-in web UI with analytics, memory management, personal tools, and settings
40
- - **Document ingestion** — Upload PDF, DOCX, TXT, CSV, JSON, and more
40
+ - **Dashboard** — Built-in web UI with analytics, memory management, Ollama model manager, personal tools, and settings
41
+ - **Safety controls** — Tool scope allowlists and dry-run-by-default mode for risky tools, configurable in the dashboard
42
+ - **Document ingestion** — Upload PDF, DOCX, XLSX, PPTX, TXT, CSV, JSON, and more
41
43
  - **Budget controls** — Daily/monthly spending limits with per-model cost tracking
42
44
  - **100% local** — SQLite database, local vector store. Your data never leaves your machine.
43
45
 
@@ -128,11 +130,28 @@ zubo model [provider/model] Show or switch LLM
128
130
  zubo skills Manage skills
129
131
  zubo install <name> Install from registry
130
132
  zubo search <query> Search the registry
131
- zubo auth create-key Create an API key
132
- zubo export / import Backup and restore
133
+ zubo voice Continuous voice conversation mode
134
+ zubo eval Run reliability + safety checks
135
+ zubo auth create-key Create an API key
136
+ zubo export / import Backup and restore
133
137
  ```
134
138
 
135
- Full reference at [zubo.bot/docs/cli.html](https://zubo.bot/docs/cli.html).
139
+ Full reference at [zubo.bot/docs/cli.html](https://zubo.bot/docs/cli.html).
140
+
141
+ ## Unified Slash Commands
142
+
143
+ Across WebChat, Telegram, Discord, Slack, and other channels:
144
+
145
+ - `/help` — list available commands
146
+ - `/status` — runtime status
147
+ - `/memory <query>` — search saved memory with confidence metadata
148
+ - `/model` — show current provider/model
149
+ - `/model set <provider/model>` — switch active model at runtime
150
+ - `/tools [filter]` — list available tools
151
+ - `/permissions <tool>` — view tool permission + scopes
152
+ - `/permissions set <tool> <auto|confirm|deny>` — override tool permission
153
+ - `/budget` — view budget usage and limits
154
+ - `/budget pause|resume` — pause/resume budget enforcement
136
155
 
137
156
  ## Contributing
138
157