@synchronized-studio/cmsassets-agent 0.3.4 → 0.3.6

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.ts CHANGED
@@ -8,7 +8,7 @@ declare const PackageManager: z.ZodEnum<["npm", "yarn", "pnpm", "bun"]>;
8
8
  type PackageManager = z.infer<typeof PackageManager>;
9
9
  declare const Confidence: z.ZodEnum<["high", "medium", "low"]>;
10
10
  type Confidence = z.infer<typeof Confidence>;
11
- declare const InjectionType: z.ZodEnum<["return", "res.json", "assignment", "useFetch-transform", "useAsyncData-transform", "loader-return", "getServerSideProps-return", "getStaticProps-return", "load-return", "frontmatter-assignment", "asyncData-return", "vuex-action-return"]>;
11
+ declare const InjectionType: z.ZodEnum<["return", "res.json", "assignment", "useFetch-transform", "useAsyncData-transform", "loader-return", "getServerSideProps-return", "getStaticProps-return", "load-return", "frontmatter-assignment", "asyncData-return", "vuex-action-return", "vuex-commit"]>;
12
12
  type InjectionType = z.infer<typeof InjectionType>;
13
13
  declare const VerifyProfile: z.ZodEnum<["quick", "full"]>;
14
14
  type VerifyProfile = z.infer<typeof VerifyProfile>;
@@ -43,14 +43,14 @@ type CmsInfo = z.infer<typeof CmsInfo>;
43
43
  declare const InjectionCandidate: z.ZodObject<{
44
44
  filePath: z.ZodString;
45
45
  line: z.ZodNumber;
46
- type: z.ZodEnum<["return", "res.json", "assignment", "useFetch-transform", "useAsyncData-transform", "loader-return", "getServerSideProps-return", "getStaticProps-return", "load-return", "frontmatter-assignment", "asyncData-return", "vuex-action-return"]>;
46
+ type: z.ZodEnum<["return", "res.json", "assignment", "useFetch-transform", "useAsyncData-transform", "loader-return", "getServerSideProps-return", "getStaticProps-return", "load-return", "frontmatter-assignment", "asyncData-return", "vuex-action-return", "vuex-commit"]>;
47
47
  score: z.ZodNumber;
48
48
  confidence: z.ZodEnum<["high", "medium", "low"]>;
49
49
  targetCode: z.ZodString;
50
50
  context: z.ZodString;
51
51
  reasons: z.ZodArray<z.ZodString, "many">;
52
52
  }, "strip", z.ZodTypeAny, {
53
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
53
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
54
54
  filePath: string;
55
55
  line: number;
56
56
  score: number;
@@ -59,7 +59,7 @@ declare const InjectionCandidate: z.ZodObject<{
59
59
  context: string;
60
60
  reasons: string[];
61
61
  }, {
62
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
62
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
63
63
  filePath: string;
64
64
  line: number;
65
65
  score: number;
@@ -99,14 +99,14 @@ declare const ScanResult: z.ZodObject<{
99
99
  injectionPoints: z.ZodArray<z.ZodObject<{
100
100
  filePath: z.ZodString;
101
101
  line: z.ZodNumber;
102
- type: z.ZodEnum<["return", "res.json", "assignment", "useFetch-transform", "useAsyncData-transform", "loader-return", "getServerSideProps-return", "getStaticProps-return", "load-return", "frontmatter-assignment", "asyncData-return", "vuex-action-return"]>;
102
+ type: z.ZodEnum<["return", "res.json", "assignment", "useFetch-transform", "useAsyncData-transform", "loader-return", "getServerSideProps-return", "getStaticProps-return", "load-return", "frontmatter-assignment", "asyncData-return", "vuex-action-return", "vuex-commit"]>;
103
103
  score: z.ZodNumber;
104
104
  confidence: z.ZodEnum<["high", "medium", "low"]>;
105
105
  targetCode: z.ZodString;
106
106
  context: z.ZodString;
107
107
  reasons: z.ZodArray<z.ZodString, "many">;
108
108
  }, "strip", z.ZodTypeAny, {
109
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
109
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
110
110
  filePath: string;
111
111
  line: number;
112
112
  score: number;
@@ -115,7 +115,7 @@ declare const ScanResult: z.ZodObject<{
115
115
  context: string;
116
116
  reasons: string[];
117
117
  }, {
118
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
118
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
119
119
  filePath: string;
120
120
  line: number;
121
121
  score: number;
@@ -138,7 +138,7 @@ declare const ScanResult: z.ZodObject<{
138
138
  configFile: string | null;
139
139
  };
140
140
  injectionPoints: {
141
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
141
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
142
142
  filePath: string;
143
143
  line: number;
144
144
  score: number;
@@ -161,7 +161,7 @@ declare const ScanResult: z.ZodObject<{
161
161
  configFile: string | null;
162
162
  };
163
163
  injectionPoints: {
164
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
164
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
165
165
  filePath: string;
166
166
  line: number;
167
167
  score: number;
@@ -249,14 +249,14 @@ declare const PatchPlan: z.ZodObject<{
249
249
  injectionPoints: z.ZodArray<z.ZodObject<{
250
250
  filePath: z.ZodString;
251
251
  line: z.ZodNumber;
252
- type: z.ZodEnum<["return", "res.json", "assignment", "useFetch-transform", "useAsyncData-transform", "loader-return", "getServerSideProps-return", "getStaticProps-return", "load-return", "frontmatter-assignment", "asyncData-return", "vuex-action-return"]>;
252
+ type: z.ZodEnum<["return", "res.json", "assignment", "useFetch-transform", "useAsyncData-transform", "loader-return", "getServerSideProps-return", "getStaticProps-return", "load-return", "frontmatter-assignment", "asyncData-return", "vuex-action-return", "vuex-commit"]>;
253
253
  score: z.ZodNumber;
254
254
  confidence: z.ZodEnum<["high", "medium", "low"]>;
255
255
  targetCode: z.ZodString;
256
256
  context: z.ZodString;
257
257
  reasons: z.ZodArray<z.ZodString, "many">;
258
258
  }, "strip", z.ZodTypeAny, {
259
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
259
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
260
260
  filePath: string;
261
261
  line: number;
262
262
  score: number;
@@ -265,7 +265,7 @@ declare const PatchPlan: z.ZodObject<{
265
265
  context: string;
266
266
  reasons: string[];
267
267
  }, {
268
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
268
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
269
269
  filePath: string;
270
270
  line: number;
271
271
  score: number;
@@ -288,7 +288,7 @@ declare const PatchPlan: z.ZodObject<{
288
288
  configFile: string | null;
289
289
  };
290
290
  injectionPoints: {
291
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
291
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
292
292
  filePath: string;
293
293
  line: number;
294
294
  score: number;
@@ -311,7 +311,7 @@ declare const PatchPlan: z.ZodObject<{
311
311
  configFile: string | null;
312
312
  };
313
313
  injectionPoints: {
314
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
314
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
315
315
  filePath: string;
316
316
  line: number;
317
317
  score: number;
@@ -422,7 +422,7 @@ declare const PatchPlan: z.ZodObject<{
422
422
  configFile: string | null;
423
423
  };
424
424
  injectionPoints: {
425
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
425
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
426
426
  filePath: string;
427
427
  line: number;
428
428
  score: number;
@@ -476,7 +476,7 @@ declare const PatchPlan: z.ZodObject<{
476
476
  configFile: string | null;
477
477
  };
478
478
  injectionPoints: {
479
- type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return";
479
+ type: "return" | "res.json" | "assignment" | "useFetch-transform" | "useAsyncData-transform" | "loader-return" | "getServerSideProps-return" | "getStaticProps-return" | "load-return" | "frontmatter-assignment" | "asyncData-return" | "vuex-action-return" | "vuex-commit";
480
480
  filePath: string;
481
481
  line: number;
482
482
  score: number;
package/dist/index.js CHANGED
@@ -26,11 +26,11 @@ import {
26
26
  saveReport,
27
27
  scan,
28
28
  verify
29
- } from "./chunk-MLVJQZAM.js";
29
+ } from "./chunk-N3DHLGCN.js";
30
30
  import {
31
31
  aiReviewAll
32
- } from "./chunk-TNI77W4G.js";
33
- import "./chunk-FMHDWOQ2.js";
32
+ } from "./chunk-UOLEBOWJ.js";
33
+ import "./chunk-KYRW5D2O.js";
34
34
  import "./chunk-E74TGIFQ.js";
35
35
  import "./chunk-QGM4M3NI.js";
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synchronized-studio/cmsassets-agent",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "CLI agent that auto-integrates @synchronized-studio/response-transformer into any JS/TS project.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",