@miniaxolotl/grove 1.11.6 → 1.11.13
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/dist/bridge.js +80 -6
- package/dist/bridge.js.map +2 -2
- package/dist/cli.js +82 -8
- package/dist/cli.js.map +2 -2
- package/dist/hook.js +75 -5
- package/dist/hook.js.map +2 -2
- package/dist/index.js +12 -3
- package/dist/index.js.map +2 -2
- package/dist/telemetry-build.json +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -12,11 +12,20 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
12
12
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
13
13
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
14
14
|
});
|
|
15
|
-
var __esm = (fn, res) => function __init() {
|
|
16
|
-
|
|
15
|
+
var __esm = (fn, res, err) => function __init() {
|
|
16
|
+
if (err) throw err[0];
|
|
17
|
+
try {
|
|
18
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
19
|
+
} catch (e) {
|
|
20
|
+
throw err = [e], e;
|
|
21
|
+
}
|
|
17
22
|
};
|
|
18
23
|
var __commonJS = (cb, mod) => function __require2() {
|
|
19
|
-
|
|
24
|
+
try {
|
|
25
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
26
|
+
} catch (e) {
|
|
27
|
+
throw mod = 0, e;
|
|
28
|
+
}
|
|
20
29
|
};
|
|
21
30
|
var __export = (target, all) => {
|
|
22
31
|
for (var name in all)
|
|
@@ -43,7 +52,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
43
52
|
var define_GROVE_TELEMETRY_default;
|
|
44
53
|
var init_define_GROVE_TELEMETRY = __esm({
|
|
45
54
|
"<define:__GROVE_TELEMETRY__>"() {
|
|
46
|
-
define_GROVE_TELEMETRY_default = { enabled: true, revision: "
|
|
55
|
+
define_GROVE_TELEMETRY_default = { enabled: true, revision: "e72bd842c6b37fcb0ece8087b3673fbdb3a59ec5", version: "1.11.13", component: "cli", key: "phc_AqVrjhk7W2X2pFjyngY7uWxcSSRREfJhgr8mBmKbXYEh", cliDsn: "https://3f6d0711b5890dea4ce8e6ccf2a1a7fd@o4511632209346560.ingest.us.sentry.io/4512290791620608", apiDsn: "https://4524e8910e318110277babdfe818999b@o4511632209346560.ingest.us.sentry.io/4512290791489536" };
|
|
47
56
|
}
|
|
48
57
|
});
|
|
49
58
|
|
|
@@ -40140,11 +40149,64 @@ var events = [
|
|
|
40140
40149
|
"memory_created",
|
|
40141
40150
|
"memory_recalled",
|
|
40142
40151
|
"chat_completed",
|
|
40143
|
-
"$ai_generation"
|
|
40152
|
+
"$ai_generation",
|
|
40153
|
+
"ai_cache"
|
|
40144
40154
|
];
|
|
40145
40155
|
function projectProperties(input = {}) {
|
|
40146
40156
|
const output = {};
|
|
40147
40157
|
const enums = {
|
|
40158
|
+
failure_code: [
|
|
40159
|
+
"auth_unavailable",
|
|
40160
|
+
"provider_authentication",
|
|
40161
|
+
"provider_rate_limited",
|
|
40162
|
+
"provider_unavailable",
|
|
40163
|
+
"provider_timeout",
|
|
40164
|
+
"provider_invalid_response",
|
|
40165
|
+
"provider_empty_response",
|
|
40166
|
+
"provider_response_too_large",
|
|
40167
|
+
"inference_budget",
|
|
40168
|
+
"generation_invalid_response",
|
|
40169
|
+
"generation_incomplete",
|
|
40170
|
+
"generation_invalid_citation",
|
|
40171
|
+
"generation_invalid_reference",
|
|
40172
|
+
"generation_invalid_proposal",
|
|
40173
|
+
"generation_invalid_organization",
|
|
40174
|
+
"generation_invalid_lifecycle",
|
|
40175
|
+
"generation_invalid_web_citation",
|
|
40176
|
+
"generation_invalid_cursor",
|
|
40177
|
+
"generation_missing_document_evidence",
|
|
40178
|
+
"embedding_invalid_response",
|
|
40179
|
+
"embedding_profile_mismatch",
|
|
40180
|
+
"invalid_embedding",
|
|
40181
|
+
"decision_invalid_response"
|
|
40182
|
+
],
|
|
40183
|
+
failure_stage: ["response_json", "response_schema"],
|
|
40184
|
+
validation_field: [
|
|
40185
|
+
"message",
|
|
40186
|
+
"statements",
|
|
40187
|
+
"proposals",
|
|
40188
|
+
"organization",
|
|
40189
|
+
"lifecycle",
|
|
40190
|
+
"webStatements",
|
|
40191
|
+
"documentStatements",
|
|
40192
|
+
"title",
|
|
40193
|
+
"tags",
|
|
40194
|
+
"query",
|
|
40195
|
+
"intent",
|
|
40196
|
+
"references",
|
|
40197
|
+
"research",
|
|
40198
|
+
"organizeAfter"
|
|
40199
|
+
],
|
|
40200
|
+
cache_feature: [
|
|
40201
|
+
"query_embedding",
|
|
40202
|
+
"document_embedding",
|
|
40203
|
+
"organization",
|
|
40204
|
+
"classification",
|
|
40205
|
+
"planning",
|
|
40206
|
+
"answer",
|
|
40207
|
+
"research"
|
|
40208
|
+
],
|
|
40209
|
+
cache_status: ["fresh", "cached", "coalesced"],
|
|
40148
40210
|
operation: operations,
|
|
40149
40211
|
outcome: ["success", "unavailable", "error", "cancelled"],
|
|
40150
40212
|
command: [
|
|
@@ -40169,6 +40231,7 @@ function projectProperties(input = {}) {
|
|
|
40169
40231
|
output[key] = input[key];
|
|
40170
40232
|
for (const key of [
|
|
40171
40233
|
"duration_ms",
|
|
40234
|
+
"requests_avoided",
|
|
40172
40235
|
"result_count",
|
|
40173
40236
|
"input_tokens",
|
|
40174
40237
|
"output_tokens"
|
|
@@ -40601,11 +40664,22 @@ var Reporter = class {
|
|
|
40601
40664
|
operation(operation, started, outcome2, properties = {}, cause, identity = this.config.identity) {
|
|
40602
40665
|
if (!operations.includes(operation) || !Number.isFinite(started) || !opaqueIdentity(identity))
|
|
40603
40666
|
return;
|
|
40667
|
+
let diagnostics = {};
|
|
40668
|
+
try {
|
|
40669
|
+
if (cause && typeof cause === "object")
|
|
40670
|
+
diagnostics = projectProperties({
|
|
40671
|
+
failure_code: "code" in cause ? cause.code : void 0,
|
|
40672
|
+
failure_stage: "stage" in cause ? cause.stage : void 0,
|
|
40673
|
+
validation_field: "field" in cause ? cause.field : void 0
|
|
40674
|
+
});
|
|
40675
|
+
} catch {
|
|
40676
|
+
}
|
|
40604
40677
|
const ended = performance2.now();
|
|
40605
40678
|
this.enqueue({
|
|
40606
40679
|
event: "operation_completed",
|
|
40607
40680
|
properties: projectProperties({
|
|
40608
40681
|
...properties,
|
|
40682
|
+
...diagnostics,
|
|
40609
40683
|
operation,
|
|
40610
40684
|
outcome: outcome2,
|
|
40611
40685
|
duration_ms: ended - started
|
|
@@ -40616,7 +40690,7 @@ var Reporter = class {
|
|
|
40616
40690
|
error: outcome2 === "error" ? safeError(
|
|
40617
40691
|
{
|
|
40618
40692
|
type: void 0,
|
|
40619
|
-
tags: { operation, outcome: outcome2 },
|
|
40693
|
+
tags: { ...diagnostics, operation, outcome: outcome2 },
|
|
40620
40694
|
exception: {
|
|
40621
40695
|
values: [
|
|
40622
40696
|
{
|
|
@@ -51112,7 +51186,7 @@ function applyEdits(text, edits) {
|
|
|
51112
51186
|
// packages/grove-claude-plugin/package.json
|
|
51113
51187
|
var package_default = {
|
|
51114
51188
|
name: "@miniaxolotl/grove-claude-plugin",
|
|
51115
|
-
version: "1.11.
|
|
51189
|
+
version: "1.11.13",
|
|
51116
51190
|
type: "module",
|
|
51117
51191
|
description: "Grove private memory tools and skills for Claude Code",
|
|
51118
51192
|
license: "MIT",
|
|
@@ -51139,7 +51213,7 @@ var package_default = {
|
|
|
51139
51213
|
// packages/grove-codex-plugin/package.json
|
|
51140
51214
|
var package_default2 = {
|
|
51141
51215
|
name: "@miniaxolotl/grove-codex-plugin",
|
|
51142
|
-
version: "1.11.
|
|
51216
|
+
version: "1.11.13",
|
|
51143
51217
|
type: "module",
|
|
51144
51218
|
description: "Grove private memory tools and skills for Codex",
|
|
51145
51219
|
license: "MIT",
|