@uniformdev/mesh-edgehancer-sdk 20.70.0 → 20.70.1-alpha.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/dist/index.d.mts CHANGED
@@ -139,20 +139,12 @@ declare const afterAIDataResourceEditResultSchema: z.ZodObject<{
139
139
  summary: z.ZodOptional<z.ZodString>;
140
140
  }, z.core.$strict>;
141
141
  declare const afterAIDataResourceEditContextSchema: z.ZodObject<{
142
- /**
143
- * The the data type of the data resource being edited (merged with its data source)
144
- * NOTE: this can contain secrets, API keys, etc. Do not directly expose it to the AI agent!
145
- * NOTE: this does not include the current value's variables, if any
146
- */
147
142
  mergedDataType: z.ZodCustom<MergedDataType, MergedDataType>;
148
- /** Which data source variant is currently active (undefined = published data) */
149
143
  dataSourceVariant: z.ZodOptional<z.ZodCustom<"unpublished", "unpublished">>;
150
- /** The edit request details */
151
144
  editRequest: z.ZodObject<{
152
145
  edit: z.ZodString;
153
146
  currentValue: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
154
147
  }, z.core.$strip>;
155
- /** AI invocation context */
156
148
  invocationContext: z.ZodEnum<{
157
149
  composition: "composition";
158
150
  compositionPattern: "compositionPattern";
@@ -161,13 +153,9 @@ declare const afterAIDataResourceEditContextSchema: z.ZodObject<{
161
153
  entryPattern: "entryPattern";
162
154
  general: "general";
163
155
  }>;
164
- /** User ID making the edit */
165
156
  userId: z.ZodString;
166
- /** Project ID */
167
157
  projectId: z.ZodString;
168
- /** The new value generated by AI */
169
158
  newValue: z.ZodRecord<z.ZodString, z.ZodString>;
170
- /** The result from the AI editing process */
171
159
  result: z.ZodObject<{
172
160
  success: z.ZodBoolean;
173
161
  summary: z.ZodOptional<z.ZodString>;
@@ -399,20 +387,12 @@ declare const COLLECTION_MAX_LIMIT = 50;
399
387
  declare const COLLECTION_DEFAULT_OFFSET = 0;
400
388
 
401
389
  declare const createAIDataResourceEditContextSchema: z.ZodObject<{
402
- /**
403
- * The the data type of the data resource being edited (merged with its data source)
404
- * NOTE: this can contain secrets, API keys, etc. Do not directly expose it to the AI agent!
405
- * NOTE: this does not include the current value's variables, if any
406
- */
407
390
  mergedDataType: z.ZodCustom<MergedDataType, MergedDataType>;
408
- /** Which data source variant is currently active (undefined = published data) */
409
391
  dataSourceVariant: z.ZodOptional<z.ZodCustom<"unpublished", "unpublished">>;
410
- /** The edit request details */
411
392
  editRequest: z.ZodObject<{
412
393
  edit: z.ZodString;
413
394
  currentValue: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
414
395
  }, z.core.$strip>;
415
- /** AI invocation context */
416
396
  invocationContext: z.ZodEnum<{
417
397
  composition: "composition";
418
398
  compositionPattern: "compositionPattern";
@@ -421,9 +401,7 @@ declare const createAIDataResourceEditContextSchema: z.ZodObject<{
421
401
  entryPattern: "entryPattern";
422
402
  general: "general";
423
403
  }>;
424
- /** User ID making the edit */
425
404
  userId: z.ZodString;
426
- /** Project ID */
427
405
  projectId: z.ZodString;
428
406
  }, z.core.$strict>;
429
407
  type CreateAIDataResourceEditContext = z.infer<typeof createAIDataResourceEditContextSchema>;
package/dist/index.d.ts CHANGED
@@ -139,20 +139,12 @@ declare const afterAIDataResourceEditResultSchema: z.ZodObject<{
139
139
  summary: z.ZodOptional<z.ZodString>;
140
140
  }, z.core.$strict>;
141
141
  declare const afterAIDataResourceEditContextSchema: z.ZodObject<{
142
- /**
143
- * The the data type of the data resource being edited (merged with its data source)
144
- * NOTE: this can contain secrets, API keys, etc. Do not directly expose it to the AI agent!
145
- * NOTE: this does not include the current value's variables, if any
146
- */
147
142
  mergedDataType: z.ZodCustom<MergedDataType, MergedDataType>;
148
- /** Which data source variant is currently active (undefined = published data) */
149
143
  dataSourceVariant: z.ZodOptional<z.ZodCustom<"unpublished", "unpublished">>;
150
- /** The edit request details */
151
144
  editRequest: z.ZodObject<{
152
145
  edit: z.ZodString;
153
146
  currentValue: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
154
147
  }, z.core.$strip>;
155
- /** AI invocation context */
156
148
  invocationContext: z.ZodEnum<{
157
149
  composition: "composition";
158
150
  compositionPattern: "compositionPattern";
@@ -161,13 +153,9 @@ declare const afterAIDataResourceEditContextSchema: z.ZodObject<{
161
153
  entryPattern: "entryPattern";
162
154
  general: "general";
163
155
  }>;
164
- /** User ID making the edit */
165
156
  userId: z.ZodString;
166
- /** Project ID */
167
157
  projectId: z.ZodString;
168
- /** The new value generated by AI */
169
158
  newValue: z.ZodRecord<z.ZodString, z.ZodString>;
170
- /** The result from the AI editing process */
171
159
  result: z.ZodObject<{
172
160
  success: z.ZodBoolean;
173
161
  summary: z.ZodOptional<z.ZodString>;
@@ -399,20 +387,12 @@ declare const COLLECTION_MAX_LIMIT = 50;
399
387
  declare const COLLECTION_DEFAULT_OFFSET = 0;
400
388
 
401
389
  declare const createAIDataResourceEditContextSchema: z.ZodObject<{
402
- /**
403
- * The the data type of the data resource being edited (merged with its data source)
404
- * NOTE: this can contain secrets, API keys, etc. Do not directly expose it to the AI agent!
405
- * NOTE: this does not include the current value's variables, if any
406
- */
407
390
  mergedDataType: z.ZodCustom<MergedDataType, MergedDataType>;
408
- /** Which data source variant is currently active (undefined = published data) */
409
391
  dataSourceVariant: z.ZodOptional<z.ZodCustom<"unpublished", "unpublished">>;
410
- /** The edit request details */
411
392
  editRequest: z.ZodObject<{
412
393
  edit: z.ZodString;
413
394
  currentValue: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
414
395
  }, z.core.$strip>;
415
- /** AI invocation context */
416
396
  invocationContext: z.ZodEnum<{
417
397
  composition: "composition";
418
398
  compositionPattern: "compositionPattern";
@@ -421,9 +401,7 @@ declare const createAIDataResourceEditContextSchema: z.ZodObject<{
421
401
  entryPattern: "entryPattern";
422
402
  general: "general";
423
403
  }>;
424
- /** User ID making the edit */
425
404
  userId: z.ZodString;
426
- /** Project ID */
427
405
  projectId: z.ZodString;
428
406
  }, z.core.$strict>;
429
407
  type CreateAIDataResourceEditContext = z.infer<typeof createAIDataResourceEditContextSchema>;
package/dist/index.js CHANGED
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/index.ts
31
- var src_exports = {};
32
- __export(src_exports, {
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
33
  COLLECTION_DEFAULT_LIMIT: () => COLLECTION_DEFAULT_LIMIT,
34
34
  COLLECTION_DEFAULT_OFFSET: () => COLLECTION_DEFAULT_OFFSET,
35
35
  COLLECTION_MAX_LIMIT: () => COLLECTION_MAX_LIMIT,
@@ -56,7 +56,7 @@ __export(src_exports, {
56
56
  resolveBatchFetchIds: () => resolveBatchFetchIds,
57
57
  resolvingIssueSchema: () => resolvingIssueSchema
58
58
  });
59
- module.exports = __toCommonJS(src_exports);
59
+ module.exports = __toCommonJS(index_exports);
60
60
 
61
61
  // ../../lib/ai-sdk/src/InvocationContexts.ts
62
62
  var z = __toESM(require("zod"), 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-edgehancer-sdk",
3
- "version": "20.70.0",
3
+ "version": "20.70.1-alpha.10+6e0ecaf156",
4
4
  "description": "Uniform Mesh Edgehancer SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -47,12 +47,12 @@
47
47
  "/dist"
48
48
  ],
49
49
  "dependencies": {
50
- "@uniformdev/canvas": "20.70.0",
51
- "tsafe": "1.6.6",
52
- "zod": "4.3.6"
50
+ "@uniformdev/canvas": "20.70.1-alpha.10+6e0ecaf156",
51
+ "tsafe": "1.8.12",
52
+ "zod": "^4.4.3"
53
53
  },
54
54
  "devDependencies": {
55
- "next": "16.2.3"
55
+ "next": "16.2.9"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "next": ">13"
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "3f8f572b37fc7ea5d2f37b1425451973556f3392"
63
+ "gitHead": "6e0ecaf15691da45ddab84cc3ca11c4d048bbbdd"
64
64
  }