blun-king-cli 9.0.0 → 9.0.1

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 (55) hide show
  1. package/LIESMICH.txt +1 -7
  2. package/README.md +4 -16
  3. package/bin/blun.js +248 -160
  4. package/bin/core-bootstrap.js +47 -0
  5. package/bin/king.js +277 -1
  6. package/bin/launcher-mode.js +2 -1
  7. package/bin/launcher-runtime.js +221 -0
  8. package/bin/plugin-bootstrap.js +0 -0
  9. package/bin/private-paths.js +0 -0
  10. package/bin/update-lease.js +399 -0
  11. package/bin/update-notice.js +1094 -0
  12. package/blun.mjs +4060 -6667
  13. package/package.json +3 -10
  14. package/skills/screenshot-lesen/SKILL.md +0 -1
  15. package/skills/web-lesen/SKILL.md +0 -1
  16. package/telegram-plugin/dist/bridge.mjs +1 -21
  17. package/mnemo/access_routes.js +0 -692
  18. package/mnemo/agent_governance.js +0 -4242
  19. package/mnemo/agent_mail.js +0 -901
  20. package/mnemo/bootstrap_auto.js +0 -137
  21. package/mnemo/brief_coordination.js +0 -226
  22. package/mnemo/code_read_tools.js +0 -375
  23. package/mnemo/context_preview_tools.js +0 -603
  24. package/mnemo/embeddings.js +0 -66
  25. package/mnemo/external_repo_ops.js +0 -575
  26. package/mnemo/facts/example-project-rules.json +0 -90
  27. package/mnemo/facts/example.json +0 -34
  28. package/mnemo/identity_schema.sql +0 -139
  29. package/mnemo/journal_schema.js +0 -561
  30. package/mnemo/loop_doctor_tools.js +0 -661
  31. package/mnemo/mail_secret_refs.js +0 -150
  32. package/mnemo/mcp.js +0 -9309
  33. package/mnemo/memory_consolidation.js +0 -1914
  34. package/mnemo/memory_health_tools.js +0 -165
  35. package/mnemo/package.json +0 -79
  36. package/mnemo/protected_scope_gate.js +0 -627
  37. package/mnemo/resource_access_control.js +0 -684
  38. package/mnemo/runtime_governance.js +0 -1256
  39. package/mnemo/runtime_turn_gate.js +0 -862
  40. package/mnemo/sandbox.js +0 -143
  41. package/mnemo/schema.sql +0 -389
  42. package/mnemo/shared_utils.js +0 -763
  43. package/mnemo/skills/agent-auto-resume/SKILL.md +0 -56
  44. package/mnemo/skills/agent_hand/SKILL.md +0 -43
  45. package/mnemo/skills/agent_hand/run.js +0 -63
  46. package/mnemo/skills/book_flight/SKILL.md +0 -34
  47. package/mnemo/skills/external_repo_review/SKILL.md +0 -43
  48. package/mnemo/skills/external_repo_review/run.js +0 -73
  49. package/mnemo/skills/pay_invoice/SKILL.md +0 -34
  50. package/mnemo/team_quality_ops.js +0 -944
  51. package/mnemo/timeline_report_tools.js +0 -810
  52. package/mnemo/write_gate_risk.js +0 -80
  53. package/mnemo/writer_health.js +0 -152
  54. package/skills/doku-ingestion/SKILL.md +0 -48
  55. package/skills/doku-ingestion/ingest_docs.py +0 -133
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.0.0",
4
- "description": "BLUN CLI - your own AI agent with persistent memory and Telegram channel. Get it done. With BLUN.",
3
+ "version": "9.0.1",
4
+ "description": "BLUN CLI - your own AI agent with a Telegram channel. Get it done. With BLUN.",
5
5
  "license": "MIT",
6
6
  "bin": {
7
7
  "blun": "bin/blun.js",
@@ -17,13 +17,7 @@
17
17
  "os": [
18
18
  "darwin"
19
19
  ],
20
- "dependencies": {
21
- "@xenova/transformers": "^2.17.2",
22
- "better-sqlite3": "^12.9.0",
23
- "imapflow": "^1.3.3",
24
- "mailparser": "^3.9.8",
25
- "sqlite-vec": "^0.1.9"
26
- },
20
+ "dependencies": {},
27
21
  "optionalDependencies": {
28
22
  "@mariozechner/clipboard": "^0.3.9",
29
23
  "node-pty": "^1.1.0"
@@ -32,7 +26,6 @@
32
26
  "bin/",
33
27
  "blun.mjs",
34
28
  "dist-web/",
35
- "mnemo/",
36
29
  "native/",
37
30
  "scripts/fix-node-pty-perms.js",
38
31
  "telegram-plugin/",
@@ -50,4 +50,3 @@ betrifft, sonst reicht Weg 1.
50
50
  dazusagen, dass es OCR ist und Unsicherheit moeglich ist.
51
51
  - Niemals Secrets aus Bildern im Klartext wiedergeben — Fundort und Art
52
52
  nennen, Werte maskieren.
53
- - Merke dir neue Erkenntnisse zum Rezept (z.B. bessere Parameter) in Mnemo.
@@ -56,4 +56,3 @@ den, wenn er verfuegbar ist; sonst Crawl4AI auf die offizielle Doku-URL.
56
56
  fremden geschuetzten Bereiche, keine Logins ohne Auftrag.
57
57
  - Immer sagen, DASS und WIE du die Seite geladen hast (per web-lesen/Crawl4AI).
58
58
  - Grosse Seiten: nur die relevanten Abschnitte zitieren, nicht alles dumpen.
59
- - Ergebnisse/Fakten bei Bedarf in Mnemo capturen.
@@ -67485,14 +67485,7 @@ function resolvePluginNodeLaunch(entry, pluginRoot, options = {}) {
67485
67485
  env: []
67486
67486
  };
67487
67487
  }
67488
- /**
67489
- * MCP servers explicitly attached by the bridge. A bundled native launch gets
67490
- * Telegram from the enabled plugin; the mnemo hub is added when
67491
- * `BLUN_MNEMO_MCP` points at its mcp.js.
67492
- * (King's own mnemo lane — full mem_* tool access, same durable memory as the
67493
- * rest of the team). Other launches keep the direct Telegram server, and mnemo
67494
- * remains optional.
67495
- */
67488
+ /** MCP servers explicitly attached by the bridge. */
67496
67489
  function buildMcpServers(options = {}) {
67497
67490
  const env = options.env ?? process.env;
67498
67491
  const here = options.moduleDir ?? dirname(fileURLToPath(import.meta.url));
@@ -67516,19 +67509,6 @@ function buildMcpServers(options = {}) {
67516
67509
  }]
67517
67510
  });
67518
67511
  }
67519
- const mnemoEntry = env["BLUN_MNEMO_MCP"]?.trim();
67520
- if (mnemoEntry !== void 0 && mnemoEntry.length > 0) {
67521
- const mnemoNode = env["BLUN_MNEMO_NODE"]?.trim();
67522
- servers.push({
67523
- name: "mnemo",
67524
- command: mnemoNode !== void 0 && mnemoNode.length > 0 ? mnemoNode : options.execPath ?? process.execPath,
67525
- args: [mnemoEntry],
67526
- env: [{
67527
- name: "MNEMO_AGENT",
67528
- value: env["BLUN_MNEMO_AGENT"]?.trim() ?? "king"
67529
- }]
67530
- });
67531
- }
67532
67512
  return servers;
67533
67513
  }
67534
67514
  /** Cheap outbox growth marker: byte size (append-only file). */