@gurulu/cli 1.0.5 → 1.2.0

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.
Files changed (40) hide show
  1. package/dist/bin.js +1788 -522
  2. package/dist/commands/audit.d.ts +10 -0
  3. package/dist/commands/audit.d.ts.map +1 -0
  4. package/dist/commands/init.d.ts +67 -6
  5. package/dist/commands/init.d.ts.map +1 -1
  6. package/dist/commands/mcp.d.ts +2 -0
  7. package/dist/commands/mcp.d.ts.map +1 -0
  8. package/dist/commands/uninstall.d.ts +11 -0
  9. package/dist/commands/uninstall.d.ts.map +1 -0
  10. package/dist/index.d.ts +47 -2
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +1788 -522
  13. package/dist/lib/api.d.ts +100 -0
  14. package/dist/lib/api.d.ts.map +1 -1
  15. package/dist/lib/detect.d.ts.map +1 -1
  16. package/dist/lib/editor-mcp.d.ts +34 -0
  17. package/dist/lib/editor-mcp.d.ts.map +1 -0
  18. package/dist/lib/env-file.d.ts +42 -0
  19. package/dist/lib/env-file.d.ts.map +1 -0
  20. package/dist/lib/exec-install.d.ts.map +1 -1
  21. package/dist/lib/inject.d.ts +47 -0
  22. package/dist/lib/inject.d.ts.map +1 -0
  23. package/dist/lib/install-plan.js +22 -24
  24. package/dist/wizard/agent.d.ts +22 -0
  25. package/dist/wizard/agent.d.ts.map +1 -0
  26. package/dist/wizard/apply.d.ts +16 -0
  27. package/dist/wizard/apply.d.ts.map +1 -0
  28. package/dist/wizard/auth.d.ts +13 -0
  29. package/dist/wizard/auth.d.ts.map +1 -0
  30. package/dist/wizard/context.d.ts +27 -0
  31. package/dist/wizard/context.d.ts.map +1 -0
  32. package/dist/wizard/guard.d.ts +16 -0
  33. package/dist/wizard/guard.d.ts.map +1 -0
  34. package/dist/wizard/plan.d.ts +18 -0
  35. package/dist/wizard/plan.d.ts.map +1 -0
  36. package/dist/wizard/run.d.ts +16 -0
  37. package/dist/wizard/run.d.ts.map +1 -0
  38. package/dist/wizard/wire.d.ts +32 -0
  39. package/dist/wizard/wire.d.ts.map +1 -0
  40. package/package.json +5 -3
@@ -0,0 +1,10 @@
1
+ import { type DoctorReport } from './doctor.ts';
2
+ /** DoctorReport → markdown (pure). */
3
+ export declare function formatAuditMd(report: DoctorReport, when: string): string;
4
+ export declare const auditCmd: import("citty").CommandDef<{
5
+ json: {
6
+ type: "boolean";
7
+ description: string;
8
+ };
9
+ }>;
10
+ //# sourceMappingURL=audit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../src/commands/audit.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,aAAa,CAAC;AAI3D,sCAAsC;AACtC,wBAAgB,aAAa,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAgBxE;AAED,eAAO,MAAM,QAAQ;;;;;EAkBnB,CAAC"}
@@ -1,31 +1,92 @@
1
- export declare const initCmd: import("citty").CommandDef<{
1
+ export declare const wizardArgs: {
2
2
  workspace: {
3
3
  type: "string";
4
4
  description: string;
5
5
  };
6
+ 'write-key': {
7
+ type: "string";
8
+ description: string;
9
+ };
10
+ 'api-key': {
11
+ type: "string";
12
+ description: string;
13
+ };
6
14
  endpoint: {
7
15
  type: "string";
8
16
  description: string;
9
17
  default: string;
10
18
  };
11
- sdk: {
19
+ framework: {
20
+ type: "string";
21
+ description: string;
22
+ };
23
+ install: {
24
+ type: "boolean";
25
+ description: string;
26
+ default: true;
27
+ };
28
+ pull: {
29
+ type: "boolean";
30
+ description: string;
31
+ default: true;
32
+ };
33
+ ai: {
34
+ type: "boolean";
35
+ description: string;
36
+ default: true;
37
+ };
38
+ yes: {
39
+ type: "boolean";
40
+ description: string;
41
+ };
42
+ ci: {
43
+ type: "boolean";
44
+ description: string;
45
+ };
46
+ };
47
+ export declare function runWizardFromArgs(args: Record<string, unknown>): Promise<void>;
48
+ export declare const initCmd: import("citty").CommandDef<{
49
+ workspace: {
12
50
  type: "string";
13
51
  description: string;
14
- default: string;
15
52
  };
16
53
  'write-key': {
17
54
  type: "string";
18
55
  description: string;
19
56
  };
20
- 'no-install': {
57
+ 'api-key': {
58
+ type: "string";
59
+ description: string;
60
+ };
61
+ endpoint: {
62
+ type: "string";
63
+ description: string;
64
+ default: string;
65
+ };
66
+ framework: {
67
+ type: "string";
68
+ description: string;
69
+ };
70
+ install: {
71
+ type: "boolean";
72
+ description: string;
73
+ default: true;
74
+ };
75
+ pull: {
76
+ type: "boolean";
77
+ description: string;
78
+ default: true;
79
+ };
80
+ ai: {
21
81
  type: "boolean";
22
82
  description: string;
83
+ default: true;
23
84
  };
24
- 'no-pull': {
85
+ yes: {
25
86
  type: "boolean";
26
87
  description: string;
27
88
  };
28
- force: {
89
+ ci: {
29
90
  type: "boolean";
30
91
  description: string;
31
92
  };
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4IlB,CAAC"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWJ,CAAC;AAIpB,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAmBpF;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASlB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const mcpCmd: import("citty").CommandDef<import("citty").ArgsDef>;
2
+ //# sourceMappingURL=mcp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/commands/mcp.ts"],"names":[],"mappings":"AAkEA,eAAO,MAAM,MAAM,qDAGjB,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const uninstallCmd: import("citty").CommandDef<{
2
+ yes: {
3
+ type: "boolean";
4
+ description: string;
5
+ };
6
+ 'no-deps': {
7
+ type: "boolean";
8
+ description: string;
9
+ };
10
+ }>;
11
+ //# sourceMappingURL=uninstall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../src/commands/uninstall.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,YAAY;;;;;;;;;EA8DvB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,49 @@
1
- export declare const VERSION = "1.0.4";
2
- declare const mainCmd: import("citty").CommandDef<import("citty").ArgsDef>;
1
+ export declare const VERSION = "1.2.0";
2
+ declare const mainCmd: import("citty").CommandDef<{
3
+ workspace: {
4
+ type: "string";
5
+ description: string;
6
+ };
7
+ 'write-key': {
8
+ type: "string";
9
+ description: string;
10
+ };
11
+ 'api-key': {
12
+ type: "string";
13
+ description: string;
14
+ };
15
+ endpoint: {
16
+ type: "string";
17
+ description: string;
18
+ default: string;
19
+ };
20
+ framework: {
21
+ type: "string";
22
+ description: string;
23
+ };
24
+ install: {
25
+ type: "boolean";
26
+ description: string;
27
+ default: true;
28
+ };
29
+ pull: {
30
+ type: "boolean";
31
+ description: string;
32
+ default: true;
33
+ };
34
+ ai: {
35
+ type: "boolean";
36
+ description: string;
37
+ default: true;
38
+ };
39
+ yes: {
40
+ type: "boolean";
41
+ description: string;
42
+ };
43
+ ci: {
44
+ type: "boolean";
45
+ description: string;
46
+ };
47
+ }>;
3
48
  export default mainCmd;
4
49
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,OAAO,UAAU,CAAC;AA+B/B,QAAA,MAAM,OAAO,qDAiBX,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO,UAAU,CAAC;AAE/B,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BX,CAAC;AAEH,eAAe,OAAO,CAAC"}