@uniformdev/mesh-edgehancer-sdk 20.81.1-alpha.41.sha-adcf82dedd → 20.81.1-alpha.42.sha-7be2128ed3

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/index.esm.js CHANGED
@@ -5,6 +5,10 @@ import * as z from "zod";
5
5
  var INSIGHTS_DATE_RANGES = ["last-7-days", "last-14-days", "last-30-days", "last-3-months"];
6
6
 
7
7
  // ../../lib/ai-sdk/src/InvocationContexts.ts
8
+ var insightsDebugTraceSchema = z.object({
9
+ tools: z.array(z.string()),
10
+ maxChars: z.number().optional()
11
+ });
8
12
  var invocationContextsSchema = z.enum([
9
13
  "composition",
10
14
  "compositionPattern",
@@ -52,6 +56,12 @@ var invocationContextInfoSchema = z.object({
52
56
  * the user is looking at.
53
57
  */
54
58
  insightsDateRange: z.enum(INSIGHTS_DATE_RANGES).optional(),
59
+ /**
60
+ * Dev-only request, set from a viewer's own localStorage rather than any product UI: capture full
61
+ * input/output for the named insights analyst tool calls and attach them to `queryInsights`'
62
+ * `trace.calls`, instead of the usual tool-name-only trace. Never surfaced to the user.
63
+ */
64
+ insightsDebugTrace: insightsDebugTraceSchema.optional(),
55
65
  /** Agent-readable description of how entity mutations behave in the current context */
56
66
  editBehavior: z.string().optional(),
57
67
  /** Summary of pending changes applied/discarded since the last turn */
package/dist/index.js CHANGED
@@ -65,6 +65,10 @@ var z = __toESM(require("zod"), 1);
65
65
  var INSIGHTS_DATE_RANGES = ["last-7-days", "last-14-days", "last-30-days", "last-3-months"];
66
66
 
67
67
  // ../../lib/ai-sdk/src/InvocationContexts.ts
68
+ var insightsDebugTraceSchema = z.object({
69
+ tools: z.array(z.string()),
70
+ maxChars: z.number().optional()
71
+ });
68
72
  var invocationContextsSchema = z.enum([
69
73
  "composition",
70
74
  "compositionPattern",
@@ -112,6 +116,12 @@ var invocationContextInfoSchema = z.object({
112
116
  * the user is looking at.
113
117
  */
114
118
  insightsDateRange: z.enum(INSIGHTS_DATE_RANGES).optional(),
119
+ /**
120
+ * Dev-only request, set from a viewer's own localStorage rather than any product UI: capture full
121
+ * input/output for the named insights analyst tool calls and attach them to `queryInsights`'
122
+ * `trace.calls`, instead of the usual tool-name-only trace. Never surfaced to the user.
123
+ */
124
+ insightsDebugTrace: insightsDebugTraceSchema.optional(),
115
125
  /** Agent-readable description of how entity mutations behave in the current context */
116
126
  editBehavior: z.string().optional(),
117
127
  /** Summary of pending changes applied/discarded since the last turn */
package/dist/index.mjs CHANGED
@@ -5,6 +5,10 @@ import * as z from "zod";
5
5
  var INSIGHTS_DATE_RANGES = ["last-7-days", "last-14-days", "last-30-days", "last-3-months"];
6
6
 
7
7
  // ../../lib/ai-sdk/src/InvocationContexts.ts
8
+ var insightsDebugTraceSchema = z.object({
9
+ tools: z.array(z.string()),
10
+ maxChars: z.number().optional()
11
+ });
8
12
  var invocationContextsSchema = z.enum([
9
13
  "composition",
10
14
  "compositionPattern",
@@ -52,6 +56,12 @@ var invocationContextInfoSchema = z.object({
52
56
  * the user is looking at.
53
57
  */
54
58
  insightsDateRange: z.enum(INSIGHTS_DATE_RANGES).optional(),
59
+ /**
60
+ * Dev-only request, set from a viewer's own localStorage rather than any product UI: capture full
61
+ * input/output for the named insights analyst tool calls and attach them to `queryInsights`'
62
+ * `trace.calls`, instead of the usual tool-name-only trace. Never surfaced to the user.
63
+ */
64
+ insightsDebugTrace: insightsDebugTraceSchema.optional(),
55
65
  /** Agent-readable description of how entity mutations behave in the current context */
56
66
  editBehavior: z.string().optional(),
57
67
  /** Summary of pending changes applied/discarded since the last turn */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-edgehancer-sdk",
3
- "version": "20.81.1-alpha.41.sha-adcf82dedd",
3
+ "version": "20.81.1-alpha.42.sha-7be2128ed3",
4
4
  "description": "Uniform Mesh Edgehancer SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -47,7 +47,7 @@
47
47
  "/dist"
48
48
  ],
49
49
  "dependencies": {
50
- "@uniformdev/canvas": "20.81.1-alpha.41.sha-adcf82dedd",
50
+ "@uniformdev/canvas": "20.81.1-alpha.42.sha-7be2128ed3",
51
51
  "tsafe": "1.8.12",
52
52
  "zod": "^4.4.3"
53
53
  },
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "adcf82deddecca36bbd9dc93885ef899e928ae12"
63
+ "gitHead": "7be2128ed3448667f0734cb324b1a49467bedbf6"
64
64
  }