@legioncodeinc/honeycomb 0.1.8 → 0.1.10
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/README.md +18 -2
- package/bundle/cli.js +513 -75
- package/daemon/dashboard-app.js +23 -23
- package/daemon/index.js +1741 -794
- package/daemon/restart-helper.js +41 -0
- package/embeddings/embed-daemon.js +1 -1
- package/harnesses/claude-code/.claude-plugin/plugin.json +1 -1
- package/harnesses/claude-code/bundle/capture.js +177 -53
- package/harnesses/claude-code/bundle/index.js +177 -53
- package/harnesses/claude-code/bundle/pre-tool-use.js +177 -53
- package/harnesses/claude-code/bundle/session-end.js +177 -53
- package/harnesses/claude-code/bundle/session-start.js +177 -53
- package/harnesses/codex/bundle/capture.js +49 -33
- package/harnesses/codex/bundle/index.js +49 -33
- package/harnesses/codex/bundle/pre-tool-use.js +49 -33
- package/harnesses/codex/bundle/session-start.js +49 -33
- package/harnesses/codex/package.json +1 -1
- package/harnesses/cursor/bundle/capture.js +49 -33
- package/harnesses/cursor/bundle/index.js +49 -33
- package/harnesses/cursor/bundle/pre-tool-use.js +49 -33
- package/harnesses/cursor/bundle/session-end.js +49 -33
- package/harnesses/cursor/bundle/session-start.js +49 -33
- 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,12 +83,14 @@ function nested(raw, key) {
|
|
|
83
83
|
function userMessageData(text) {
|
|
84
84
|
return { kind: "user_message", text };
|
|
85
85
|
}
|
|
86
|
-
function assistantMessageData(text, usage) {
|
|
86
|
+
function assistantMessageData(text, usage, model) {
|
|
87
87
|
const normalized = usage !== void 0 ? compactUsage(usage) : void 0;
|
|
88
|
+
const trimmedModel = typeof model === "string" ? model.trim() : "";
|
|
88
89
|
return {
|
|
89
90
|
kind: "assistant_message",
|
|
90
91
|
text,
|
|
91
|
-
...normalized !== void 0 ? { usage: normalized } : {}
|
|
92
|
+
...normalized !== void 0 ? { usage: normalized } : {},
|
|
93
|
+
...trimmedModel !== "" ? { model: trimmedModel } : {}
|
|
92
94
|
};
|
|
93
95
|
}
|
|
94
96
|
function compactUsage(usage) {
|
|
@@ -970,38 +972,52 @@ var SKILL_ROW_DEFAULTS = Object.freeze({
|
|
|
970
972
|
});
|
|
971
973
|
|
|
972
974
|
// dist/src/commands/contracts.js
|
|
975
|
+
var VERB_GROUPS = Object.freeze([
|
|
976
|
+
{ key: "memory", label: "Memory & recall" },
|
|
977
|
+
{ key: "knowledge", label: "Knowledge & skills" },
|
|
978
|
+
{ key: "agents", label: "Agents, routing & config" },
|
|
979
|
+
{ key: "account", label: "Account & workspaces" },
|
|
980
|
+
{ key: "system", label: "Setup & system" }
|
|
981
|
+
]);
|
|
973
982
|
var VERB_TABLE = Object.freeze([
|
|
974
|
-
|
|
975
|
-
{ verb: "
|
|
976
|
-
{ verb: "
|
|
977
|
-
{ verb: "
|
|
978
|
-
{ verb: "
|
|
979
|
-
{ verb: "
|
|
980
|
-
{ verb: "
|
|
981
|
-
|
|
982
|
-
{ verb: "
|
|
983
|
-
{ verb: "
|
|
984
|
-
{ verb: "
|
|
985
|
-
{ verb: "
|
|
986
|
-
{ verb: "
|
|
987
|
-
{ verb: "
|
|
988
|
-
{ verb: "
|
|
989
|
-
|
|
990
|
-
{ verb: "
|
|
991
|
-
{ verb: "
|
|
992
|
-
{ verb: "
|
|
993
|
-
{ verb: "
|
|
994
|
-
|
|
995
|
-
{ verb: "
|
|
996
|
-
{ verb: "
|
|
997
|
-
{ verb: "whoami", cls: "auth", summary: "show the authenticated user, org, and workspace (GET /me)" },
|
|
998
|
-
{ verb: "org", cls: "auth", summary: "list/switch org (passthrough to the auth dispatcher)" },
|
|
999
|
-
{ verb: "workspace", cls: "auth", summary: "list/switch/use workspace (passthrough to the auth dispatcher)" },
|
|
1000
|
-
{ verb: "workspaces", cls: "auth", summary: "list workspaces in the active org (alias of `workspace list`)" },
|
|
1001
|
-
{ verb: "project", cls: "auth", summary: "list/bind/use projects + show the resolved per-folder scope (049d)" },
|
|
1002
|
-
|
|
1003
|
-
{ verb: "
|
|
1004
|
-
{ verb: "
|
|
983
|
+
// Memory & recall — the product's core write/read/lifecycle surface.
|
|
984
|
+
{ verb: "remember", cls: "storage", group: "memory", summary: "write a memory through the daemon (--type fact|convention|preference|decision|gotcha|reference)" },
|
|
985
|
+
{ verb: "recall", cls: "storage", group: "memory", summary: "recall memories through the daemon" },
|
|
986
|
+
{ verb: "memory", cls: "storage", group: "memory", summary: "lifecycle: conflicts (list/resolve), stale-refs (list), inspect <id> --lifecycle (058d)" },
|
|
987
|
+
{ verb: "sessions", cls: "storage", group: "memory", summary: "list/prune captured sessions through the daemon" },
|
|
988
|
+
{ verb: "pollinate", cls: "storage", group: "memory", summary: "trigger a pollinating consolidation pass on the daemon (009/026)" },
|
|
989
|
+
{ verb: "maintenance", cls: "storage", group: "memory", summary: "run version-history compaction over version-bumped tables (030)" },
|
|
990
|
+
// Knowledge & skills — skills, assets, ontology, the codebase graph, and goals.
|
|
991
|
+
{ verb: "skill", cls: "storage", group: "knowledge", summary: "skillify scope/pull/unpull/force/promote through the daemon (promote = cross-project, 049c)" },
|
|
992
|
+
{ verb: "skillify", cls: "storage", group: "knowledge", summary: "pull team skills from the daemon (016c)" },
|
|
993
|
+
{ verb: "asset", cls: "storage", group: "knowledge", summary: "register/promote/demote/style skills+agents through the tier\xD7style lattice (033)" },
|
|
994
|
+
{ verb: "ontology", cls: "storage", group: "knowledge", summary: "inspect/propose ontology changes through the daemon" },
|
|
995
|
+
{ verb: "graph", cls: "storage", group: "knowledge", summary: "build/query the codebase graph through the daemon" },
|
|
996
|
+
{ verb: "sources", cls: "storage", group: "knowledge", summary: "connect/index/purge sources through the daemon" },
|
|
997
|
+
{ verb: "goal", cls: "storage", group: "knowledge", summary: "manage goals/KPIs through the daemon" },
|
|
998
|
+
// Agents, routing & config — agent turns, inference routes, secrets, and vault settings.
|
|
999
|
+
{ verb: "agent", cls: "storage", group: "agents", summary: "run an agent turn through the daemon" },
|
|
1000
|
+
{ verb: "route", cls: "storage", group: "agents", summary: "manage inference routes through the daemon" },
|
|
1001
|
+
{ verb: "secret", cls: "storage", group: "agents", summary: "manage named secrets through the daemon" },
|
|
1002
|
+
{ verb: "settings", cls: "storage", group: "agents", summary: "get/set/list vault settings + provider\u2192model selector through the daemon" },
|
|
1003
|
+
// Account & workspaces — auth, identity, and the org/workspace/project scope surface.
|
|
1004
|
+
{ verb: "login", cls: "auth", group: "account", summary: "authenticate via device flow, or --token <key> for headless (023)" },
|
|
1005
|
+
{ verb: "logout", cls: "auth", group: "account", summary: "remove the shared credentials and sign out (023)" },
|
|
1006
|
+
{ verb: "whoami", cls: "auth", group: "account", summary: "show the authenticated user, org, and workspace (GET /me)" },
|
|
1007
|
+
{ verb: "org", cls: "auth", group: "account", summary: "list/switch org (passthrough to the auth dispatcher)" },
|
|
1008
|
+
{ verb: "workspace", cls: "auth", group: "account", summary: "list/switch/use workspace (passthrough to the auth dispatcher)" },
|
|
1009
|
+
{ verb: "workspaces", cls: "auth", group: "account", summary: "list workspaces in the active org (alias of `workspace list`)" },
|
|
1010
|
+
{ verb: "project", cls: "auth", group: "account", summary: "list/bind/use projects + show the resolved per-folder scope (049d)" },
|
|
1011
|
+
// Setup & system — install/onboard, daemon lifecycle, dashboard, hooks, telemetry, update.
|
|
1012
|
+
{ verb: "setup", cls: "local", group: "system", summary: "detect assistants, wire hooks, bring up the daemon" },
|
|
1013
|
+
{ verb: "install", cls: "local", group: "system", summary: "bring up the daemon (health-gated) + open the dashboard (PRD-050a)" },
|
|
1014
|
+
{ verb: "status", cls: "local", group: "system", summary: "daemon connectivity + login + D1\u2013D5 environment health" },
|
|
1015
|
+
{ verb: "daemon", cls: "local", group: "system", summary: "start | stop | status the loopback daemon (3850)" },
|
|
1016
|
+
{ verb: "dashboard", cls: "local", group: "system", summary: "launch the daemon-served dashboard (020b)" },
|
|
1017
|
+
{ verb: "hook", cls: "local", group: "system", summary: "inspect/wire harness hooks" },
|
|
1018
|
+
{ verb: "telemetry", cls: "local", group: "system", summary: "show exactly what adoption telemetry has been / would be sent (--show, PRD-050e)" },
|
|
1019
|
+
{ verb: "update", cls: "local", group: "system", summary: "self-update the CLI, daemon, and bundles" },
|
|
1020
|
+
{ verb: "uninstall", cls: "local", group: "system", summary: "reverse only Honeycomb's changes" }
|
|
1005
1021
|
]);
|
|
1006
1022
|
var DEFAULT_GLOBAL_FLAGS = Object.freeze({
|
|
1007
1023
|
help: false,
|
|
@@ -83,12 +83,14 @@ function nested(raw, key) {
|
|
|
83
83
|
function userMessageData(text) {
|
|
84
84
|
return { kind: "user_message", text };
|
|
85
85
|
}
|
|
86
|
-
function assistantMessageData(text, usage) {
|
|
86
|
+
function assistantMessageData(text, usage, model) {
|
|
87
87
|
const normalized = usage !== void 0 ? compactUsage(usage) : void 0;
|
|
88
|
+
const trimmedModel = typeof model === "string" ? model.trim() : "";
|
|
88
89
|
return {
|
|
89
90
|
kind: "assistant_message",
|
|
90
91
|
text,
|
|
91
|
-
...normalized !== void 0 ? { usage: normalized } : {}
|
|
92
|
+
...normalized !== void 0 ? { usage: normalized } : {},
|
|
93
|
+
...trimmedModel !== "" ? { model: trimmedModel } : {}
|
|
92
94
|
};
|
|
93
95
|
}
|
|
94
96
|
function compactUsage(usage) {
|
|
@@ -970,38 +972,52 @@ var SKILL_ROW_DEFAULTS = Object.freeze({
|
|
|
970
972
|
});
|
|
971
973
|
|
|
972
974
|
// dist/src/commands/contracts.js
|
|
975
|
+
var VERB_GROUPS = Object.freeze([
|
|
976
|
+
{ key: "memory", label: "Memory & recall" },
|
|
977
|
+
{ key: "knowledge", label: "Knowledge & skills" },
|
|
978
|
+
{ key: "agents", label: "Agents, routing & config" },
|
|
979
|
+
{ key: "account", label: "Account & workspaces" },
|
|
980
|
+
{ key: "system", label: "Setup & system" }
|
|
981
|
+
]);
|
|
973
982
|
var VERB_TABLE = Object.freeze([
|
|
974
|
-
|
|
975
|
-
{ verb: "
|
|
976
|
-
{ verb: "
|
|
977
|
-
{ verb: "
|
|
978
|
-
{ verb: "
|
|
979
|
-
{ verb: "
|
|
980
|
-
{ verb: "
|
|
981
|
-
|
|
982
|
-
{ verb: "
|
|
983
|
-
{ verb: "
|
|
984
|
-
{ verb: "
|
|
985
|
-
{ verb: "
|
|
986
|
-
{ verb: "
|
|
987
|
-
{ verb: "
|
|
988
|
-
{ verb: "
|
|
989
|
-
|
|
990
|
-
{ verb: "
|
|
991
|
-
{ verb: "
|
|
992
|
-
{ verb: "
|
|
993
|
-
{ verb: "
|
|
994
|
-
|
|
995
|
-
{ verb: "
|
|
996
|
-
{ verb: "
|
|
997
|
-
{ verb: "whoami", cls: "auth", summary: "show the authenticated user, org, and workspace (GET /me)" },
|
|
998
|
-
{ verb: "org", cls: "auth", summary: "list/switch org (passthrough to the auth dispatcher)" },
|
|
999
|
-
{ verb: "workspace", cls: "auth", summary: "list/switch/use workspace (passthrough to the auth dispatcher)" },
|
|
1000
|
-
{ verb: "workspaces", cls: "auth", summary: "list workspaces in the active org (alias of `workspace list`)" },
|
|
1001
|
-
{ verb: "project", cls: "auth", summary: "list/bind/use projects + show the resolved per-folder scope (049d)" },
|
|
1002
|
-
|
|
1003
|
-
{ verb: "
|
|
1004
|
-
{ verb: "
|
|
983
|
+
// Memory & recall — the product's core write/read/lifecycle surface.
|
|
984
|
+
{ verb: "remember", cls: "storage", group: "memory", summary: "write a memory through the daemon (--type fact|convention|preference|decision|gotcha|reference)" },
|
|
985
|
+
{ verb: "recall", cls: "storage", group: "memory", summary: "recall memories through the daemon" },
|
|
986
|
+
{ verb: "memory", cls: "storage", group: "memory", summary: "lifecycle: conflicts (list/resolve), stale-refs (list), inspect <id> --lifecycle (058d)" },
|
|
987
|
+
{ verb: "sessions", cls: "storage", group: "memory", summary: "list/prune captured sessions through the daemon" },
|
|
988
|
+
{ verb: "pollinate", cls: "storage", group: "memory", summary: "trigger a pollinating consolidation pass on the daemon (009/026)" },
|
|
989
|
+
{ verb: "maintenance", cls: "storage", group: "memory", summary: "run version-history compaction over version-bumped tables (030)" },
|
|
990
|
+
// Knowledge & skills — skills, assets, ontology, the codebase graph, and goals.
|
|
991
|
+
{ verb: "skill", cls: "storage", group: "knowledge", summary: "skillify scope/pull/unpull/force/promote through the daemon (promote = cross-project, 049c)" },
|
|
992
|
+
{ verb: "skillify", cls: "storage", group: "knowledge", summary: "pull team skills from the daemon (016c)" },
|
|
993
|
+
{ verb: "asset", cls: "storage", group: "knowledge", summary: "register/promote/demote/style skills+agents through the tier\xD7style lattice (033)" },
|
|
994
|
+
{ verb: "ontology", cls: "storage", group: "knowledge", summary: "inspect/propose ontology changes through the daemon" },
|
|
995
|
+
{ verb: "graph", cls: "storage", group: "knowledge", summary: "build/query the codebase graph through the daemon" },
|
|
996
|
+
{ verb: "sources", cls: "storage", group: "knowledge", summary: "connect/index/purge sources through the daemon" },
|
|
997
|
+
{ verb: "goal", cls: "storage", group: "knowledge", summary: "manage goals/KPIs through the daemon" },
|
|
998
|
+
// Agents, routing & config — agent turns, inference routes, secrets, and vault settings.
|
|
999
|
+
{ verb: "agent", cls: "storage", group: "agents", summary: "run an agent turn through the daemon" },
|
|
1000
|
+
{ verb: "route", cls: "storage", group: "agents", summary: "manage inference routes through the daemon" },
|
|
1001
|
+
{ verb: "secret", cls: "storage", group: "agents", summary: "manage named secrets through the daemon" },
|
|
1002
|
+
{ verb: "settings", cls: "storage", group: "agents", summary: "get/set/list vault settings + provider\u2192model selector through the daemon" },
|
|
1003
|
+
// Account & workspaces — auth, identity, and the org/workspace/project scope surface.
|
|
1004
|
+
{ verb: "login", cls: "auth", group: "account", summary: "authenticate via device flow, or --token <key> for headless (023)" },
|
|
1005
|
+
{ verb: "logout", cls: "auth", group: "account", summary: "remove the shared credentials and sign out (023)" },
|
|
1006
|
+
{ verb: "whoami", cls: "auth", group: "account", summary: "show the authenticated user, org, and workspace (GET /me)" },
|
|
1007
|
+
{ verb: "org", cls: "auth", group: "account", summary: "list/switch org (passthrough to the auth dispatcher)" },
|
|
1008
|
+
{ verb: "workspace", cls: "auth", group: "account", summary: "list/switch/use workspace (passthrough to the auth dispatcher)" },
|
|
1009
|
+
{ verb: "workspaces", cls: "auth", group: "account", summary: "list workspaces in the active org (alias of `workspace list`)" },
|
|
1010
|
+
{ verb: "project", cls: "auth", group: "account", summary: "list/bind/use projects + show the resolved per-folder scope (049d)" },
|
|
1011
|
+
// Setup & system — install/onboard, daemon lifecycle, dashboard, hooks, telemetry, update.
|
|
1012
|
+
{ verb: "setup", cls: "local", group: "system", summary: "detect assistants, wire hooks, bring up the daemon" },
|
|
1013
|
+
{ verb: "install", cls: "local", group: "system", summary: "bring up the daemon (health-gated) + open the dashboard (PRD-050a)" },
|
|
1014
|
+
{ verb: "status", cls: "local", group: "system", summary: "daemon connectivity + login + D1\u2013D5 environment health" },
|
|
1015
|
+
{ verb: "daemon", cls: "local", group: "system", summary: "start | stop | status the loopback daemon (3850)" },
|
|
1016
|
+
{ verb: "dashboard", cls: "local", group: "system", summary: "launch the daemon-served dashboard (020b)" },
|
|
1017
|
+
{ verb: "hook", cls: "local", group: "system", summary: "inspect/wire harness hooks" },
|
|
1018
|
+
{ verb: "telemetry", cls: "local", group: "system", summary: "show exactly what adoption telemetry has been / would be sent (--show, PRD-050e)" },
|
|
1019
|
+
{ verb: "update", cls: "local", group: "system", summary: "self-update the CLI, daemon, and bundles" },
|
|
1020
|
+
{ verb: "uninstall", cls: "local", group: "system", summary: "reverse only Honeycomb's changes" }
|
|
1005
1021
|
]);
|
|
1006
1022
|
var DEFAULT_GLOBAL_FLAGS = Object.freeze({
|
|
1007
1023
|
help: false,
|
|
@@ -83,12 +83,14 @@ function nested(raw, key) {
|
|
|
83
83
|
function userMessageData(text) {
|
|
84
84
|
return { kind: "user_message", text };
|
|
85
85
|
}
|
|
86
|
-
function assistantMessageData(text, usage) {
|
|
86
|
+
function assistantMessageData(text, usage, model) {
|
|
87
87
|
const normalized = usage !== void 0 ? compactUsage(usage) : void 0;
|
|
88
|
+
const trimmedModel = typeof model === "string" ? model.trim() : "";
|
|
88
89
|
return {
|
|
89
90
|
kind: "assistant_message",
|
|
90
91
|
text,
|
|
91
|
-
...normalized !== void 0 ? { usage: normalized } : {}
|
|
92
|
+
...normalized !== void 0 ? { usage: normalized } : {},
|
|
93
|
+
...trimmedModel !== "" ? { model: trimmedModel } : {}
|
|
92
94
|
};
|
|
93
95
|
}
|
|
94
96
|
function compactUsage(usage) {
|
|
@@ -978,38 +980,52 @@ var SKILL_ROW_DEFAULTS = Object.freeze({
|
|
|
978
980
|
});
|
|
979
981
|
|
|
980
982
|
// dist/src/commands/contracts.js
|
|
983
|
+
var VERB_GROUPS = Object.freeze([
|
|
984
|
+
{ key: "memory", label: "Memory & recall" },
|
|
985
|
+
{ key: "knowledge", label: "Knowledge & skills" },
|
|
986
|
+
{ key: "agents", label: "Agents, routing & config" },
|
|
987
|
+
{ key: "account", label: "Account & workspaces" },
|
|
988
|
+
{ key: "system", label: "Setup & system" }
|
|
989
|
+
]);
|
|
981
990
|
var VERB_TABLE = Object.freeze([
|
|
982
|
-
|
|
983
|
-
{ verb: "
|
|
984
|
-
{ verb: "
|
|
985
|
-
{ verb: "
|
|
986
|
-
{ verb: "
|
|
987
|
-
{ verb: "
|
|
988
|
-
{ verb: "
|
|
989
|
-
|
|
990
|
-
{ verb: "
|
|
991
|
-
{ verb: "
|
|
992
|
-
{ verb: "
|
|
993
|
-
{ verb: "
|
|
994
|
-
{ verb: "
|
|
995
|
-
{ verb: "
|
|
996
|
-
{ verb: "
|
|
997
|
-
|
|
998
|
-
{ verb: "
|
|
999
|
-
{ verb: "
|
|
1000
|
-
{ verb: "
|
|
1001
|
-
{ verb: "
|
|
1002
|
-
|
|
1003
|
-
{ verb: "
|
|
1004
|
-
{ verb: "
|
|
1005
|
-
{ verb: "whoami", cls: "auth", summary: "show the authenticated user, org, and workspace (GET /me)" },
|
|
1006
|
-
{ verb: "org", cls: "auth", summary: "list/switch org (passthrough to the auth dispatcher)" },
|
|
1007
|
-
{ verb: "workspace", cls: "auth", summary: "list/switch/use workspace (passthrough to the auth dispatcher)" },
|
|
1008
|
-
{ verb: "workspaces", cls: "auth", summary: "list workspaces in the active org (alias of `workspace list`)" },
|
|
1009
|
-
{ verb: "project", cls: "auth", summary: "list/bind/use projects + show the resolved per-folder scope (049d)" },
|
|
1010
|
-
|
|
1011
|
-
{ verb: "
|
|
1012
|
-
{ verb: "
|
|
991
|
+
// Memory & recall — the product's core write/read/lifecycle surface.
|
|
992
|
+
{ verb: "remember", cls: "storage", group: "memory", summary: "write a memory through the daemon (--type fact|convention|preference|decision|gotcha|reference)" },
|
|
993
|
+
{ verb: "recall", cls: "storage", group: "memory", summary: "recall memories through the daemon" },
|
|
994
|
+
{ verb: "memory", cls: "storage", group: "memory", summary: "lifecycle: conflicts (list/resolve), stale-refs (list), inspect <id> --lifecycle (058d)" },
|
|
995
|
+
{ verb: "sessions", cls: "storage", group: "memory", summary: "list/prune captured sessions through the daemon" },
|
|
996
|
+
{ verb: "pollinate", cls: "storage", group: "memory", summary: "trigger a pollinating consolidation pass on the daemon (009/026)" },
|
|
997
|
+
{ verb: "maintenance", cls: "storage", group: "memory", summary: "run version-history compaction over version-bumped tables (030)" },
|
|
998
|
+
// Knowledge & skills — skills, assets, ontology, the codebase graph, and goals.
|
|
999
|
+
{ verb: "skill", cls: "storage", group: "knowledge", summary: "skillify scope/pull/unpull/force/promote through the daemon (promote = cross-project, 049c)" },
|
|
1000
|
+
{ verb: "skillify", cls: "storage", group: "knowledge", summary: "pull team skills from the daemon (016c)" },
|
|
1001
|
+
{ verb: "asset", cls: "storage", group: "knowledge", summary: "register/promote/demote/style skills+agents through the tier\xD7style lattice (033)" },
|
|
1002
|
+
{ verb: "ontology", cls: "storage", group: "knowledge", summary: "inspect/propose ontology changes through the daemon" },
|
|
1003
|
+
{ verb: "graph", cls: "storage", group: "knowledge", summary: "build/query the codebase graph through the daemon" },
|
|
1004
|
+
{ verb: "sources", cls: "storage", group: "knowledge", summary: "connect/index/purge sources through the daemon" },
|
|
1005
|
+
{ verb: "goal", cls: "storage", group: "knowledge", summary: "manage goals/KPIs through the daemon" },
|
|
1006
|
+
// Agents, routing & config — agent turns, inference routes, secrets, and vault settings.
|
|
1007
|
+
{ verb: "agent", cls: "storage", group: "agents", summary: "run an agent turn through the daemon" },
|
|
1008
|
+
{ verb: "route", cls: "storage", group: "agents", summary: "manage inference routes through the daemon" },
|
|
1009
|
+
{ verb: "secret", cls: "storage", group: "agents", summary: "manage named secrets through the daemon" },
|
|
1010
|
+
{ verb: "settings", cls: "storage", group: "agents", summary: "get/set/list vault settings + provider\u2192model selector through the daemon" },
|
|
1011
|
+
// Account & workspaces — auth, identity, and the org/workspace/project scope surface.
|
|
1012
|
+
{ verb: "login", cls: "auth", group: "account", summary: "authenticate via device flow, or --token <key> for headless (023)" },
|
|
1013
|
+
{ verb: "logout", cls: "auth", group: "account", summary: "remove the shared credentials and sign out (023)" },
|
|
1014
|
+
{ verb: "whoami", cls: "auth", group: "account", summary: "show the authenticated user, org, and workspace (GET /me)" },
|
|
1015
|
+
{ verb: "org", cls: "auth", group: "account", summary: "list/switch org (passthrough to the auth dispatcher)" },
|
|
1016
|
+
{ verb: "workspace", cls: "auth", group: "account", summary: "list/switch/use workspace (passthrough to the auth dispatcher)" },
|
|
1017
|
+
{ verb: "workspaces", cls: "auth", group: "account", summary: "list workspaces in the active org (alias of `workspace list`)" },
|
|
1018
|
+
{ verb: "project", cls: "auth", group: "account", summary: "list/bind/use projects + show the resolved per-folder scope (049d)" },
|
|
1019
|
+
// Setup & system — install/onboard, daemon lifecycle, dashboard, hooks, telemetry, update.
|
|
1020
|
+
{ verb: "setup", cls: "local", group: "system", summary: "detect assistants, wire hooks, bring up the daemon" },
|
|
1021
|
+
{ verb: "install", cls: "local", group: "system", summary: "bring up the daemon (health-gated) + open the dashboard (PRD-050a)" },
|
|
1022
|
+
{ verb: "status", cls: "local", group: "system", summary: "daemon connectivity + login + D1\u2013D5 environment health" },
|
|
1023
|
+
{ verb: "daemon", cls: "local", group: "system", summary: "start | stop | status the loopback daemon (3850)" },
|
|
1024
|
+
{ verb: "dashboard", cls: "local", group: "system", summary: "launch the daemon-served dashboard (020b)" },
|
|
1025
|
+
{ verb: "hook", cls: "local", group: "system", summary: "inspect/wire harness hooks" },
|
|
1026
|
+
{ verb: "telemetry", cls: "local", group: "system", summary: "show exactly what adoption telemetry has been / would be sent (--show, PRD-050e)" },
|
|
1027
|
+
{ verb: "update", cls: "local", group: "system", summary: "self-update the CLI, daemon, and bundles" },
|
|
1028
|
+
{ verb: "uninstall", cls: "local", group: "system", summary: "reverse only Honeycomb's changes" }
|
|
1013
1029
|
]);
|
|
1014
1030
|
var DEFAULT_GLOBAL_FLAGS = Object.freeze({
|
|
1015
1031
|
help: false,
|
|
@@ -83,12 +83,14 @@ function nested(raw, key) {
|
|
|
83
83
|
function userMessageData(text) {
|
|
84
84
|
return { kind: "user_message", text };
|
|
85
85
|
}
|
|
86
|
-
function assistantMessageData(text, usage) {
|
|
86
|
+
function assistantMessageData(text, usage, model) {
|
|
87
87
|
const normalized = usage !== void 0 ? compactUsage(usage) : void 0;
|
|
88
|
+
const trimmedModel = typeof model === "string" ? model.trim() : "";
|
|
88
89
|
return {
|
|
89
90
|
kind: "assistant_message",
|
|
90
91
|
text,
|
|
91
|
-
...normalized !== void 0 ? { usage: normalized } : {}
|
|
92
|
+
...normalized !== void 0 ? { usage: normalized } : {},
|
|
93
|
+
...trimmedModel !== "" ? { model: trimmedModel } : {}
|
|
92
94
|
};
|
|
93
95
|
}
|
|
94
96
|
function compactUsage(usage) {
|
|
@@ -978,38 +980,52 @@ var SKILL_ROW_DEFAULTS = Object.freeze({
|
|
|
978
980
|
});
|
|
979
981
|
|
|
980
982
|
// dist/src/commands/contracts.js
|
|
983
|
+
var VERB_GROUPS = Object.freeze([
|
|
984
|
+
{ key: "memory", label: "Memory & recall" },
|
|
985
|
+
{ key: "knowledge", label: "Knowledge & skills" },
|
|
986
|
+
{ key: "agents", label: "Agents, routing & config" },
|
|
987
|
+
{ key: "account", label: "Account & workspaces" },
|
|
988
|
+
{ key: "system", label: "Setup & system" }
|
|
989
|
+
]);
|
|
981
990
|
var VERB_TABLE = Object.freeze([
|
|
982
|
-
|
|
983
|
-
{ verb: "
|
|
984
|
-
{ verb: "
|
|
985
|
-
{ verb: "
|
|
986
|
-
{ verb: "
|
|
987
|
-
{ verb: "
|
|
988
|
-
{ verb: "
|
|
989
|
-
|
|
990
|
-
{ verb: "
|
|
991
|
-
{ verb: "
|
|
992
|
-
{ verb: "
|
|
993
|
-
{ verb: "
|
|
994
|
-
{ verb: "
|
|
995
|
-
{ verb: "
|
|
996
|
-
{ verb: "
|
|
997
|
-
|
|
998
|
-
{ verb: "
|
|
999
|
-
{ verb: "
|
|
1000
|
-
{ verb: "
|
|
1001
|
-
{ verb: "
|
|
1002
|
-
|
|
1003
|
-
{ verb: "
|
|
1004
|
-
{ verb: "
|
|
1005
|
-
{ verb: "whoami", cls: "auth", summary: "show the authenticated user, org, and workspace (GET /me)" },
|
|
1006
|
-
{ verb: "org", cls: "auth", summary: "list/switch org (passthrough to the auth dispatcher)" },
|
|
1007
|
-
{ verb: "workspace", cls: "auth", summary: "list/switch/use workspace (passthrough to the auth dispatcher)" },
|
|
1008
|
-
{ verb: "workspaces", cls: "auth", summary: "list workspaces in the active org (alias of `workspace list`)" },
|
|
1009
|
-
{ verb: "project", cls: "auth", summary: "list/bind/use projects + show the resolved per-folder scope (049d)" },
|
|
1010
|
-
|
|
1011
|
-
{ verb: "
|
|
1012
|
-
{ verb: "
|
|
991
|
+
// Memory & recall — the product's core write/read/lifecycle surface.
|
|
992
|
+
{ verb: "remember", cls: "storage", group: "memory", summary: "write a memory through the daemon (--type fact|convention|preference|decision|gotcha|reference)" },
|
|
993
|
+
{ verb: "recall", cls: "storage", group: "memory", summary: "recall memories through the daemon" },
|
|
994
|
+
{ verb: "memory", cls: "storage", group: "memory", summary: "lifecycle: conflicts (list/resolve), stale-refs (list), inspect <id> --lifecycle (058d)" },
|
|
995
|
+
{ verb: "sessions", cls: "storage", group: "memory", summary: "list/prune captured sessions through the daemon" },
|
|
996
|
+
{ verb: "pollinate", cls: "storage", group: "memory", summary: "trigger a pollinating consolidation pass on the daemon (009/026)" },
|
|
997
|
+
{ verb: "maintenance", cls: "storage", group: "memory", summary: "run version-history compaction over version-bumped tables (030)" },
|
|
998
|
+
// Knowledge & skills — skills, assets, ontology, the codebase graph, and goals.
|
|
999
|
+
{ verb: "skill", cls: "storage", group: "knowledge", summary: "skillify scope/pull/unpull/force/promote through the daemon (promote = cross-project, 049c)" },
|
|
1000
|
+
{ verb: "skillify", cls: "storage", group: "knowledge", summary: "pull team skills from the daemon (016c)" },
|
|
1001
|
+
{ verb: "asset", cls: "storage", group: "knowledge", summary: "register/promote/demote/style skills+agents through the tier\xD7style lattice (033)" },
|
|
1002
|
+
{ verb: "ontology", cls: "storage", group: "knowledge", summary: "inspect/propose ontology changes through the daemon" },
|
|
1003
|
+
{ verb: "graph", cls: "storage", group: "knowledge", summary: "build/query the codebase graph through the daemon" },
|
|
1004
|
+
{ verb: "sources", cls: "storage", group: "knowledge", summary: "connect/index/purge sources through the daemon" },
|
|
1005
|
+
{ verb: "goal", cls: "storage", group: "knowledge", summary: "manage goals/KPIs through the daemon" },
|
|
1006
|
+
// Agents, routing & config — agent turns, inference routes, secrets, and vault settings.
|
|
1007
|
+
{ verb: "agent", cls: "storage", group: "agents", summary: "run an agent turn through the daemon" },
|
|
1008
|
+
{ verb: "route", cls: "storage", group: "agents", summary: "manage inference routes through the daemon" },
|
|
1009
|
+
{ verb: "secret", cls: "storage", group: "agents", summary: "manage named secrets through the daemon" },
|
|
1010
|
+
{ verb: "settings", cls: "storage", group: "agents", summary: "get/set/list vault settings + provider\u2192model selector through the daemon" },
|
|
1011
|
+
// Account & workspaces — auth, identity, and the org/workspace/project scope surface.
|
|
1012
|
+
{ verb: "login", cls: "auth", group: "account", summary: "authenticate via device flow, or --token <key> for headless (023)" },
|
|
1013
|
+
{ verb: "logout", cls: "auth", group: "account", summary: "remove the shared credentials and sign out (023)" },
|
|
1014
|
+
{ verb: "whoami", cls: "auth", group: "account", summary: "show the authenticated user, org, and workspace (GET /me)" },
|
|
1015
|
+
{ verb: "org", cls: "auth", group: "account", summary: "list/switch org (passthrough to the auth dispatcher)" },
|
|
1016
|
+
{ verb: "workspace", cls: "auth", group: "account", summary: "list/switch/use workspace (passthrough to the auth dispatcher)" },
|
|
1017
|
+
{ verb: "workspaces", cls: "auth", group: "account", summary: "list workspaces in the active org (alias of `workspace list`)" },
|
|
1018
|
+
{ verb: "project", cls: "auth", group: "account", summary: "list/bind/use projects + show the resolved per-folder scope (049d)" },
|
|
1019
|
+
// Setup & system — install/onboard, daemon lifecycle, dashboard, hooks, telemetry, update.
|
|
1020
|
+
{ verb: "setup", cls: "local", group: "system", summary: "detect assistants, wire hooks, bring up the daemon" },
|
|
1021
|
+
{ verb: "install", cls: "local", group: "system", summary: "bring up the daemon (health-gated) + open the dashboard (PRD-050a)" },
|
|
1022
|
+
{ verb: "status", cls: "local", group: "system", summary: "daemon connectivity + login + D1\u2013D5 environment health" },
|
|
1023
|
+
{ verb: "daemon", cls: "local", group: "system", summary: "start | stop | status the loopback daemon (3850)" },
|
|
1024
|
+
{ verb: "dashboard", cls: "local", group: "system", summary: "launch the daemon-served dashboard (020b)" },
|
|
1025
|
+
{ verb: "hook", cls: "local", group: "system", summary: "inspect/wire harness hooks" },
|
|
1026
|
+
{ verb: "telemetry", cls: "local", group: "system", summary: "show exactly what adoption telemetry has been / would be sent (--show, PRD-050e)" },
|
|
1027
|
+
{ verb: "update", cls: "local", group: "system", summary: "self-update the CLI, daemon, and bundles" },
|
|
1028
|
+
{ verb: "uninstall", cls: "local", group: "system", summary: "reverse only Honeycomb's changes" }
|
|
1013
1029
|
]);
|
|
1014
1030
|
var DEFAULT_GLOBAL_FLAGS = Object.freeze({
|
|
1015
1031
|
help: false,
|