blun-king-cli 4.1.1 → 5.0.0

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 (51) hide show
  1. package/api.js +965 -0
  2. package/blun-cli.js +763 -0
  3. package/blunking-api.js +7 -0
  4. package/bot.js +188 -0
  5. package/browser-controller.js +76 -0
  6. package/chat-memory.js +103 -0
  7. package/file-helper.js +63 -0
  8. package/fuzzy-match.js +78 -0
  9. package/identities.js +106 -0
  10. package/installer.js +160 -0
  11. package/job-manager.js +146 -0
  12. package/local-data.js +71 -0
  13. package/message-builder.js +28 -0
  14. package/noisy-evals.js +38 -0
  15. package/package.json +17 -4
  16. package/palace-memory.js +246 -0
  17. package/reference-inspector.js +228 -0
  18. package/runtime.js +555 -0
  19. package/task-executor.js +104 -0
  20. package/tests/browser-controller.test.js +42 -0
  21. package/tests/cli.test.js +93 -0
  22. package/tests/file-helper.test.js +18 -0
  23. package/tests/installer.test.js +39 -0
  24. package/tests/job-manager.test.js +99 -0
  25. package/tests/merge-compat.test.js +77 -0
  26. package/tests/messages.test.js +23 -0
  27. package/tests/noisy-evals.test.js +12 -0
  28. package/tests/noisy-intent-corpus.test.js +45 -0
  29. package/tests/reference-inspector.test.js +36 -0
  30. package/tests/runtime.test.js +119 -0
  31. package/tests/task-executor.test.js +40 -0
  32. package/tests/tools.test.js +23 -0
  33. package/tests/user-profile.test.js +66 -0
  34. package/tests/website-builder.test.js +66 -0
  35. package/tmp-build-smoke/nicrazy-landing/index.html +53 -0
  36. package/tmp-build-smoke/nicrazy-landing/style.css +110 -0
  37. package/tmp-shot-smoke/website-shot-1776006760424.png +0 -0
  38. package/tmp-shot-smoke/website-shot-1776007850007.png +0 -0
  39. package/tmp-shot-smoke/website-shot-1776007886209.png +0 -0
  40. package/tmp-shot-smoke/website-shot-1776007903766.png +0 -0
  41. package/tmp-shot-smoke/website-shot-1776008737117.png +0 -0
  42. package/tmp-shot-smoke/website-shot-1776008988859.png +0 -0
  43. package/tmp-smoke/nicrazy-landing/index.html +66 -0
  44. package/tmp-smoke/nicrazy-landing/style.css +104 -0
  45. package/tools.js +177 -0
  46. package/user-profile.js +395 -0
  47. package/website-builder.js +394 -0
  48. package/website-shot-1776010648230.png +0 -0
  49. package/website_builder.txt +38 -0
  50. package/bin/blun.js +0 -3196
  51. package/setup.js +0 -30
package/setup.js DELETED
@@ -1,30 +0,0 @@
1
- // Quick setup script for BLUN King CLI
2
- var fs = require("fs");
3
- var path = require("path");
4
- var os = require("os");
5
-
6
- var home = os.homedir().replace(/[\/\\]\.claude-telegram-profile$/, "");
7
- var dir = path.join(home, ".blun");
8
- var configFile = path.join(dir, "config.json");
9
-
10
- console.log("Home:", home);
11
- console.log("Config:", configFile);
12
-
13
- // Create dirs
14
- [dir, path.join(dir, "memory"), path.join(dir, "skills")].forEach(function(d) {
15
- if (!fs.existsSync(d)) fs.mkdirSync(d, { recursive: true });
16
- });
17
-
18
- var config = {
19
- auth: { type: "api_key", api_key: "blun_cdab41afb0913b367bdf05e4271864aed964b67862a7802d", oauth_token: "", oauth_expires: null },
20
- api: { base_url: "http://176.9.158.30:3200", timeout: 60000 },
21
- telegram: { enabled: false, bot_token: "", chat_id: "" },
22
- model: "blun-king-v100",
23
- workdir: home,
24
- theme: "dark",
25
- verbose: false,
26
- watchdog: { enabled: false, interval: 600 }
27
- };
28
-
29
- fs.writeFileSync(configFile, JSON.stringify(config, null, 2));
30
- console.log("Config saved!");