@uniformdev/mesh-edgehancer-sdk 20.78.0 → 20.79.1

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
@@ -1,5 +1,10 @@
1
1
  // ../../lib/ai-sdk/src/InvocationContexts.ts
2
2
  import * as z from "zod";
3
+
4
+ // ../../lib/ai-sdk/src/utils/insightsDateRange.ts
5
+ var INSIGHTS_DATE_RANGES = ["last-7-days", "last-14-days", "last-30-days", "last-3-months"];
6
+
7
+ // ../../lib/ai-sdk/src/InvocationContexts.ts
3
8
  var invocationContextsSchema = z.enum([
4
9
  "composition",
5
10
  "compositionPattern",
@@ -41,6 +46,12 @@ var invocationContextInfoSchema = z.object({
41
46
  currentDate: z.string().optional(),
42
47
  /** Current date in user's locale format with timezone */
43
48
  currentLocaleDate: z.string().optional(),
49
+ /**
50
+ * The period selected in the insights date filter, if the user has one. Scout answers an
51
+ * analytics question that names no period over this window, so its numbers match the dashboard
52
+ * the user is looking at.
53
+ */
54
+ insightsDateRange: z.enum(INSIGHTS_DATE_RANGES).optional(),
44
55
  /** Agent-readable description of how entity mutations behave in the current context */
45
56
  editBehavior: z.string().optional(),
46
57
  /** Summary of pending changes applied/discarded since the last turn */
package/dist/index.js CHANGED
@@ -60,6 +60,11 @@ module.exports = __toCommonJS(index_exports);
60
60
 
61
61
  // ../../lib/ai-sdk/src/InvocationContexts.ts
62
62
  var z = __toESM(require("zod"), 1);
63
+
64
+ // ../../lib/ai-sdk/src/utils/insightsDateRange.ts
65
+ var INSIGHTS_DATE_RANGES = ["last-7-days", "last-14-days", "last-30-days", "last-3-months"];
66
+
67
+ // ../../lib/ai-sdk/src/InvocationContexts.ts
63
68
  var invocationContextsSchema = z.enum([
64
69
  "composition",
65
70
  "compositionPattern",
@@ -101,6 +106,12 @@ var invocationContextInfoSchema = z.object({
101
106
  currentDate: z.string().optional(),
102
107
  /** Current date in user's locale format with timezone */
103
108
  currentLocaleDate: z.string().optional(),
109
+ /**
110
+ * The period selected in the insights date filter, if the user has one. Scout answers an
111
+ * analytics question that names no period over this window, so its numbers match the dashboard
112
+ * the user is looking at.
113
+ */
114
+ insightsDateRange: z.enum(INSIGHTS_DATE_RANGES).optional(),
104
115
  /** Agent-readable description of how entity mutations behave in the current context */
105
116
  editBehavior: z.string().optional(),
106
117
  /** Summary of pending changes applied/discarded since the last turn */
package/dist/index.mjs CHANGED
@@ -1,5 +1,10 @@
1
1
  // ../../lib/ai-sdk/src/InvocationContexts.ts
2
2
  import * as z from "zod";
3
+
4
+ // ../../lib/ai-sdk/src/utils/insightsDateRange.ts
5
+ var INSIGHTS_DATE_RANGES = ["last-7-days", "last-14-days", "last-30-days", "last-3-months"];
6
+
7
+ // ../../lib/ai-sdk/src/InvocationContexts.ts
3
8
  var invocationContextsSchema = z.enum([
4
9
  "composition",
5
10
  "compositionPattern",
@@ -41,6 +46,12 @@ var invocationContextInfoSchema = z.object({
41
46
  currentDate: z.string().optional(),
42
47
  /** Current date in user's locale format with timezone */
43
48
  currentLocaleDate: z.string().optional(),
49
+ /**
50
+ * The period selected in the insights date filter, if the user has one. Scout answers an
51
+ * analytics question that names no period over this window, so its numbers match the dashboard
52
+ * the user is looking at.
53
+ */
54
+ insightsDateRange: z.enum(INSIGHTS_DATE_RANGES).optional(),
44
55
  /** Agent-readable description of how entity mutations behave in the current context */
45
56
  editBehavior: z.string().optional(),
46
57
  /** 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.78.0",
3
+ "version": "20.79.1",
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.78.0",
50
+ "@uniformdev/canvas": "20.79.1",
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": "22d94ee916bde5e32c96995da69cfe479f87a9c9"
63
+ "gitHead": "a9709918bf00f79101fcc46bda36105626931933"
64
64
  }