@uniformdev/mesh-edgehancer-sdk 20.80.1 → 20.80.2

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
@@ -190,6 +190,7 @@ declare const afterAIEditResultSchema: z.ZodObject<{
190
190
  declare const afterAIEditContextSchema: z.ZodObject<{
191
191
  editRequest: z.ZodObject<{
192
192
  edit: z.ZodString;
193
+ exactValue: z.ZodOptional<z.ZodString>;
193
194
  currentValue: z.ZodOptional<z.ZodUnknown>;
194
195
  projectGuidance: z.ZodOptional<z.ZodString>;
195
196
  componentGuidance: z.ZodOptional<z.ZodString>;
@@ -469,6 +470,7 @@ type CreateAIDataResourceEditHookFn = (context: CreateAIDataResourceEditContext)
469
470
  declare const createAIEditContextSchema: z.ZodObject<{
470
471
  editRequest: z.ZodObject<{
471
472
  edit: z.ZodString;
473
+ exactValue: z.ZodOptional<z.ZodString>;
472
474
  currentValue: z.ZodOptional<z.ZodUnknown>;
473
475
  projectGuidance: z.ZodOptional<z.ZodString>;
474
476
  componentGuidance: z.ZodOptional<z.ZodString>;
package/dist/index.d.ts CHANGED
@@ -190,6 +190,7 @@ declare const afterAIEditResultSchema: z.ZodObject<{
190
190
  declare const afterAIEditContextSchema: z.ZodObject<{
191
191
  editRequest: z.ZodObject<{
192
192
  edit: z.ZodString;
193
+ exactValue: z.ZodOptional<z.ZodString>;
193
194
  currentValue: z.ZodOptional<z.ZodUnknown>;
194
195
  projectGuidance: z.ZodOptional<z.ZodString>;
195
196
  componentGuidance: z.ZodOptional<z.ZodString>;
@@ -469,6 +470,7 @@ type CreateAIDataResourceEditHookFn = (context: CreateAIDataResourceEditContext)
469
470
  declare const createAIEditContextSchema: z.ZodObject<{
470
471
  editRequest: z.ZodObject<{
471
472
  edit: z.ZodString;
473
+ exactValue: z.ZodOptional<z.ZodString>;
472
474
  currentValue: z.ZodOptional<z.ZodUnknown>;
473
475
  projectGuidance: z.ZodOptional<z.ZodString>;
474
476
  componentGuidance: z.ZodOptional<z.ZodString>;
package/dist/index.esm.js CHANGED
@@ -108,7 +108,12 @@ var createPropertyEdit = {
108
108
  displayName: "Create property edit",
109
109
  description: "Edits a property on a composition, entry, or pattern with AI. This is a callable tool NOT FOR AGENT USE - agents use applyPropertyEdit to broker client-side application of the edit.",
110
110
  inputSchema: z4.object({
111
- edit: z4.string().describe("Describe the edit to be made to the property"),
111
+ edit: z4.string().describe(
112
+ "Describe the edit to generate. Pass an empty string when supplying exactValue instead (they are mutually exclusive)."
113
+ ),
114
+ exactValue: z4.string().describe(
115
+ "The exact content to store, in its natural form, with minimal reformatting. Mutually exclusive with edit."
116
+ ).optional(),
112
117
  currentValue: z4.unknown().describe("Current value of the property (if any exists)").optional(),
113
118
  projectGuidance: z4.string().describe("Guidance prompt for the project (if any exists)").optional(),
114
119
  componentGuidance: z4.string().describe("Guidance prompt for the parent component").optional(),
package/dist/index.js CHANGED
@@ -168,7 +168,12 @@ var createPropertyEdit = {
168
168
  displayName: "Create property edit",
169
169
  description: "Edits a property on a composition, entry, or pattern with AI. This is a callable tool NOT FOR AGENT USE - agents use applyPropertyEdit to broker client-side application of the edit.",
170
170
  inputSchema: z4.object({
171
- edit: z4.string().describe("Describe the edit to be made to the property"),
171
+ edit: z4.string().describe(
172
+ "Describe the edit to generate. Pass an empty string when supplying exactValue instead (they are mutually exclusive)."
173
+ ),
174
+ exactValue: z4.string().describe(
175
+ "The exact content to store, in its natural form, with minimal reformatting. Mutually exclusive with edit."
176
+ ).optional(),
172
177
  currentValue: z4.unknown().describe("Current value of the property (if any exists)").optional(),
173
178
  projectGuidance: z4.string().describe("Guidance prompt for the project (if any exists)").optional(),
174
179
  componentGuidance: z4.string().describe("Guidance prompt for the parent component").optional(),
package/dist/index.mjs CHANGED
@@ -108,7 +108,12 @@ var createPropertyEdit = {
108
108
  displayName: "Create property edit",
109
109
  description: "Edits a property on a composition, entry, or pattern with AI. This is a callable tool NOT FOR AGENT USE - agents use applyPropertyEdit to broker client-side application of the edit.",
110
110
  inputSchema: z4.object({
111
- edit: z4.string().describe("Describe the edit to be made to the property"),
111
+ edit: z4.string().describe(
112
+ "Describe the edit to generate. Pass an empty string when supplying exactValue instead (they are mutually exclusive)."
113
+ ),
114
+ exactValue: z4.string().describe(
115
+ "The exact content to store, in its natural form, with minimal reformatting. Mutually exclusive with edit."
116
+ ).optional(),
112
117
  currentValue: z4.unknown().describe("Current value of the property (if any exists)").optional(),
113
118
  projectGuidance: z4.string().describe("Guidance prompt for the project (if any exists)").optional(),
114
119
  componentGuidance: z4.string().describe("Guidance prompt for the parent component").optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-edgehancer-sdk",
3
- "version": "20.80.1",
3
+ "version": "20.80.2",
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.80.1",
50
+ "@uniformdev/canvas": "20.80.2",
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": "0a5bcf5305aba6240860bccc568afbdc9790d68c"
63
+ "gitHead": "bca4d65db051ab479d8da8b50286457a23725c75"
64
64
  }