@legioncodeinc/honeycomb 0.1.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 (61) hide show
  1. package/.claude-plugin/marketplace.json +18 -0
  2. package/.claude-plugin/plugin.json +15 -0
  3. package/LICENSE +661 -0
  4. package/README.md +268 -0
  5. package/assets/logos/fonts/Inter-Italic-VariableFont_opsz_wght.ttf +0 -0
  6. package/assets/logos/fonts/Inter-VariableFont_opsz_wght.ttf +0 -0
  7. package/assets/logos/fonts/JetBrainsMono-Bold.woff2 +0 -0
  8. package/assets/logos/fonts/JetBrainsMono-Medium.woff2 +0 -0
  9. package/assets/logos/fonts/JetBrainsMono-Regular.woff2 +0 -0
  10. package/assets/logos/fonts/JetBrainsMono-SemiBold.woff2 +0 -0
  11. package/assets/logos/honeycomb-memory-cluster.svg +17 -0
  12. package/assets/readme.md +117 -0
  13. package/assets/styles.css +11 -0
  14. package/assets/tokens/base.css +76 -0
  15. package/assets/tokens/colors.css +111 -0
  16. package/assets/tokens/fonts.css +32 -0
  17. package/assets/tokens/spacing.css +48 -0
  18. package/assets/tokens/typography.css +38 -0
  19. package/bundle/cli.js +20049 -0
  20. package/daemon/dashboard-app.js +118 -0
  21. package/daemon/index.js +49533 -0
  22. package/daemon/package.json +1 -0
  23. package/embeddings/embed-daemon.js +218 -0
  24. package/harnesses/claude-code/.claude-plugin/plugin.json +14 -0
  25. package/harnesses/claude-code/bundle/capture.js +16459 -0
  26. package/harnesses/claude-code/bundle/index.js +16459 -0
  27. package/harnesses/claude-code/bundle/package.json +1 -0
  28. package/harnesses/claude-code/bundle/pre-tool-use.js +16459 -0
  29. package/harnesses/claude-code/bundle/session-end.js +16459 -0
  30. package/harnesses/claude-code/bundle/session-start.js +16459 -0
  31. package/harnesses/claude-code/hooks/hooks.json +86 -0
  32. package/harnesses/codex/bundle/capture.js +16451 -0
  33. package/harnesses/codex/bundle/index.js +16451 -0
  34. package/harnesses/codex/bundle/package.json +1 -0
  35. package/harnesses/codex/bundle/pre-tool-use.js +16451 -0
  36. package/harnesses/codex/bundle/session-start.js +16451 -0
  37. package/harnesses/codex/package.json +7 -0
  38. package/harnesses/cursor/bundle/capture.js +16459 -0
  39. package/harnesses/cursor/bundle/index.js +16459 -0
  40. package/harnesses/cursor/bundle/package.json +1 -0
  41. package/harnesses/cursor/bundle/pre-tool-use.js +16459 -0
  42. package/harnesses/cursor/bundle/session-end.js +16459 -0
  43. package/harnesses/cursor/bundle/session-start.js +16459 -0
  44. package/harnesses/hermes/bundle/index.js +30 -0
  45. package/harnesses/hermes/bundle/package.json +1 -0
  46. package/harnesses/openclaw/dist/index.js +55 -0
  47. package/harnesses/openclaw/dist/package.json +1 -0
  48. package/harnesses/openclaw/openclaw.plugin.json +47 -0
  49. package/harnesses/openclaw/package.json +22 -0
  50. package/harnesses/pi/bundle/index.js +30 -0
  51. package/harnesses/pi/bundle/package.json +1 -0
  52. package/mcp/bundle/package.json +1 -0
  53. package/mcp/bundle/server.js +24014 -0
  54. package/package.json +137 -0
  55. package/scripts/ensure-embed-deps.mjs +67 -0
  56. package/scripts/ensure-tree-sitter.mjs +89 -0
  57. package/sdk/index.js +312 -0
  58. package/sdk/openai.js +63 -0
  59. package/sdk/package.json +1 -0
  60. package/sdk/react.js +40 -0
  61. package/sdk/vercel.js +43 -0
@@ -0,0 +1,30 @@
1
+ // dist/src/shared/constants.js
2
+ var DAEMON_PORT = 3850;
3
+ var DAEMON_HOST = "127.0.0.1";
4
+
5
+ // dist/src/daemon-client/index.js
6
+ function createDaemonClient(endpoint) {
7
+ const resolved = {
8
+ host: endpoint?.host ?? DAEMON_HOST,
9
+ port: endpoint?.port ?? DAEMON_PORT
10
+ };
11
+ return {
12
+ endpoint: resolved,
13
+ async ping() {
14
+ return false;
15
+ }
16
+ };
17
+ }
18
+
19
+ // dist/src/daemon-client/harness.js
20
+ function bootHarness(harness) {
21
+ return { harness, client: createDaemonClient() };
22
+ }
23
+
24
+ // dist/harnesses/hermes/src/index.js
25
+ function activate() {
26
+ return bootHarness("hermes");
27
+ }
28
+ export {
29
+ activate
30
+ };
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,55 @@
1
+ globalThis.__honeycomb_tuning__ ??= {};
2
+
3
+ // src/shared/constants.ts
4
+ var DAEMON_PORT = 3850;
5
+ var DAEMON_HOST = "127.0.0.1";
6
+ var HONEYCOMB_VERSION = true ? "0.1.0" : "0.0.0-dev";
7
+
8
+ // src/daemon-client/index.ts
9
+ function createDaemonClient(endpoint) {
10
+ const resolved = {
11
+ host: endpoint?.host ?? DAEMON_HOST,
12
+ port: endpoint?.port ?? DAEMON_PORT
13
+ };
14
+ return {
15
+ endpoint: resolved,
16
+ async ping() {
17
+ return false;
18
+ }
19
+ };
20
+ }
21
+
22
+ // src/daemon-client/harness.ts
23
+ function bootHarness(harness) {
24
+ return { harness, client: createDaemonClient() };
25
+ }
26
+
27
+ // harnesses/openclaw/src/index.ts
28
+ var honeycombVersion = HONEYCOMB_VERSION;
29
+ var FORBIDDEN_TUNING_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
30
+ function applyOpenclawTuning(config) {
31
+ const tuning = config?.tuning;
32
+ if (!tuning) return;
33
+ const target = globalThis.__honeycomb_tuning__ ??= {};
34
+ for (const [key, value] of Object.entries(tuning)) {
35
+ if (FORBIDDEN_TUNING_KEYS.has(key)) continue;
36
+ target[key] = value;
37
+ }
38
+ }
39
+ function register(pluginApi) {
40
+ applyOpenclawTuning(pluginApi.pluginConfig);
41
+ return bootHarness("openclaw");
42
+ }
43
+ function readDebugKnob() {
44
+ return globalThis.__honeycomb_tuning__.HONEYCOMB_DEBUG;
45
+ }
46
+ function activate() {
47
+ return bootHarness("openclaw");
48
+ }
49
+ export {
50
+ activate,
51
+ applyOpenclawTuning,
52
+ honeycombVersion,
53
+ readDebugKnob,
54
+ register
55
+ };
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,47 @@
1
+ {
2
+ "id": "honeycomb",
3
+ "name": "Honeycomb",
4
+ "description": "Honeycomb — persistent shared memory for AI agents via the local Honeycomb daemon",
5
+ "skills": [
6
+ "./skills"
7
+ ],
8
+ "contracts": {
9
+ "tools": [
10
+ "honeycomb_search",
11
+ "honeycomb_read",
12
+ "honeycomb_index"
13
+ ],
14
+ "commands": [
15
+ "honeycomb_login",
16
+ "honeycomb_capture",
17
+ "honeycomb_whoami",
18
+ "honeycomb_version"
19
+ ],
20
+ "memoryCorpusSupplements": true
21
+ },
22
+ "uiHints": {
23
+ "autoCapture": {
24
+ "label": "Auto-Capture"
25
+ },
26
+ "autoRecall": {
27
+ "label": "Auto-Recall"
28
+ }
29
+ },
30
+ "configSchema": {
31
+ "type": "object",
32
+ "additionalProperties": false,
33
+ "properties": {
34
+ "autoCapture": {
35
+ "type": "boolean"
36
+ },
37
+ "autoRecall": {
38
+ "type": "boolean"
39
+ },
40
+ "tuning": {
41
+ "type": "object",
42
+ "additionalProperties": true
43
+ }
44
+ }
45
+ },
46
+ "version": "0.1.0"
47
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "honeycomb-openclaw",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "Honeycomb — persistent shared memory for AI agents, OpenClaw harness",
6
+ "license": "MIT",
7
+ "openclaw": {
8
+ "extensions": [
9
+ "./dist/index.js"
10
+ ],
11
+ "install": {
12
+ "npmSpec": "honeycomb"
13
+ },
14
+ "compat": {
15
+ "pluginApi": ">=1.0.0"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "openclaw.plugin.json"
21
+ ]
22
+ }
@@ -0,0 +1,30 @@
1
+ // dist/src/shared/constants.js
2
+ var DAEMON_PORT = 3850;
3
+ var DAEMON_HOST = "127.0.0.1";
4
+
5
+ // dist/src/daemon-client/index.js
6
+ function createDaemonClient(endpoint) {
7
+ const resolved = {
8
+ host: endpoint?.host ?? DAEMON_HOST,
9
+ port: endpoint?.port ?? DAEMON_PORT
10
+ };
11
+ return {
12
+ endpoint: resolved,
13
+ async ping() {
14
+ return false;
15
+ }
16
+ };
17
+ }
18
+
19
+ // dist/src/daemon-client/harness.js
20
+ function bootHarness(harness) {
21
+ return { harness, client: createDaemonClient() };
22
+ }
23
+
24
+ // dist/harnesses/pi/src/index.js
25
+ function activate() {
26
+ return bootHarness("pi");
27
+ }
28
+ export {
29
+ activate
30
+ };
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1 @@
1
+ {"type":"module"}