@legioncodeinc/honeycomb 0.1.7 → 0.1.8
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/bundle/cli.js +87 -2
- package/daemon/dashboard-app.js +10 -10
- package/daemon/index.js +1139 -52
- package/embeddings/embed-daemon.js +1 -1
- package/harnesses/claude-code/.claude-plugin/plugin.json +1 -1
- package/harnesses/claude-code/bundle/capture.js +56 -3
- package/harnesses/claude-code/bundle/index.js +56 -3
- package/harnesses/claude-code/bundle/pre-tool-use.js +56 -3
- package/harnesses/claude-code/bundle/session-end.js +56 -3
- package/harnesses/claude-code/bundle/session-start.js +56 -3
- package/harnesses/codex/bundle/capture.js +22 -2
- package/harnesses/codex/bundle/index.js +22 -2
- package/harnesses/codex/bundle/pre-tool-use.js +22 -2
- package/harnesses/codex/bundle/session-start.js +22 -2
- package/harnesses/codex/package.json +1 -1
- package/harnesses/cursor/bundle/capture.js +22 -2
- package/harnesses/cursor/bundle/index.js +22 -2
- package/harnesses/cursor/bundle/pre-tool-use.js +22 -2
- package/harnesses/cursor/bundle/session-end.js +22 -2
- package/harnesses/cursor/bundle/session-start.js +22 -2
- package/harnesses/openclaw/dist/index.js +1 -1
- package/harnesses/openclaw/openclaw.plugin.json +1 -1
- package/harnesses/openclaw/package.json +1 -1
- package/mcp/bundle/server.js +1 -1
- package/package.json +1 -1
|
@@ -83,8 +83,28 @@ function nested(raw, key) {
|
|
|
83
83
|
function userMessageData(text) {
|
|
84
84
|
return { kind: "user_message", text };
|
|
85
85
|
}
|
|
86
|
-
function assistantMessageData(text) {
|
|
87
|
-
|
|
86
|
+
function assistantMessageData(text, usage) {
|
|
87
|
+
const normalized = usage !== void 0 ? compactUsage(usage) : void 0;
|
|
88
|
+
return {
|
|
89
|
+
kind: "assistant_message",
|
|
90
|
+
text,
|
|
91
|
+
...normalized !== void 0 ? { usage: normalized } : {}
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
function compactUsage(usage) {
|
|
95
|
+
const out = {};
|
|
96
|
+
if (isCount(usage.input))
|
|
97
|
+
out.input = usage.input;
|
|
98
|
+
if (isCount(usage.output))
|
|
99
|
+
out.output = usage.output;
|
|
100
|
+
if (isCount(usage.cacheRead))
|
|
101
|
+
out.cacheRead = usage.cacheRead;
|
|
102
|
+
if (isCount(usage.cacheCreation))
|
|
103
|
+
out.cacheCreation = usage.cacheCreation;
|
|
104
|
+
return Object.keys(out).length > 0 ? out : void 0;
|
|
105
|
+
}
|
|
106
|
+
function isCount(n) {
|
|
107
|
+
return typeof n === "number" && Number.isInteger(n) && n >= 0;
|
|
88
108
|
}
|
|
89
109
|
function toolCallData(tool, input, response) {
|
|
90
110
|
return { kind: "tool_call", tool, input, response };
|
|
@@ -3,7 +3,7 @@ globalThis.__honeycomb_tuning__ ??= {};
|
|
|
3
3
|
// src/shared/constants.ts
|
|
4
4
|
var DAEMON_PORT = 3850;
|
|
5
5
|
var DAEMON_HOST = "127.0.0.1";
|
|
6
|
-
var HONEYCOMB_VERSION = true ? "0.1.
|
|
6
|
+
var HONEYCOMB_VERSION = true ? "0.1.8" : "0.0.0-dev";
|
|
7
7
|
|
|
8
8
|
// src/daemon-client/index.ts
|
|
9
9
|
function createDaemonClient(endpoint) {
|
package/mcp/bundle/server.js
CHANGED
|
@@ -6892,7 +6892,7 @@ var require_dist = __commonJS({
|
|
|
6892
6892
|
// dist/src/shared/constants.js
|
|
6893
6893
|
var DAEMON_PORT = 3850;
|
|
6894
6894
|
var DAEMON_HOST = "127.0.0.1";
|
|
6895
|
-
var HONEYCOMB_VERSION = true ? "0.1.
|
|
6895
|
+
var HONEYCOMB_VERSION = true ? "0.1.8" : "0.0.0-dev";
|
|
6896
6896
|
|
|
6897
6897
|
// dist/src/daemon-client/index.js
|
|
6898
6898
|
function createDaemonClient(endpoint) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legioncodeinc/honeycomb",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"//go-public": "Go-public switches are flipped: scoped name, public+provenance publishConfig live, `private` removed. CI auth is npm Trusted Publishing (OIDC); there is NO NPM_TOKEN. The go-live procedure is RELEASING.md 'Cut the release': the first publish is a one-time manual 2FA bootstrap that creates the package, after which every CI publish from release.yaml is tokenless OIDC.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|