@principal-ai/principal-view-cli 0.3.0 → 0.3.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.
Files changed (63) hide show
  1. package/package.json +2 -2
  2. package/dist/commands/coverage.d.ts +0 -9
  3. package/dist/commands/coverage.d.ts.map +0 -1
  4. package/dist/commands/coverage.js +0 -158
  5. package/dist/commands/create.d.ts +0 -6
  6. package/dist/commands/create.d.ts.map +0 -1
  7. package/dist/commands/create.js +0 -50
  8. package/dist/commands/doctor.d.ts +0 -10
  9. package/dist/commands/doctor.d.ts.map +0 -1
  10. package/dist/commands/doctor.js +0 -274
  11. package/dist/commands/formats.d.ts +0 -6
  12. package/dist/commands/formats.d.ts.map +0 -1
  13. package/dist/commands/formats.js +0 -475
  14. package/dist/commands/hooks.d.ts +0 -9
  15. package/dist/commands/hooks.d.ts.map +0 -1
  16. package/dist/commands/hooks.js +0 -295
  17. package/dist/commands/init.d.ts +0 -6
  18. package/dist/commands/init.d.ts.map +0 -1
  19. package/dist/commands/init.js +0 -271
  20. package/dist/commands/lint.d.ts +0 -6
  21. package/dist/commands/lint.d.ts.map +0 -1
  22. package/dist/commands/lint.js +0 -506
  23. package/dist/commands/list.d.ts +0 -6
  24. package/dist/commands/list.d.ts.map +0 -1
  25. package/dist/commands/list.js +0 -80
  26. package/dist/commands/narrative/eval.d.ts +0 -3
  27. package/dist/commands/narrative/eval.d.ts.map +0 -1
  28. package/dist/commands/narrative/eval.js +0 -76
  29. package/dist/commands/narrative/index.d.ts +0 -3
  30. package/dist/commands/narrative/index.d.ts.map +0 -1
  31. package/dist/commands/narrative/index.js +0 -19
  32. package/dist/commands/narrative/inspect.d.ts +0 -3
  33. package/dist/commands/narrative/inspect.d.ts.map +0 -1
  34. package/dist/commands/narrative/inspect.js +0 -109
  35. package/dist/commands/narrative/list.d.ts +0 -3
  36. package/dist/commands/narrative/list.d.ts.map +0 -1
  37. package/dist/commands/narrative/list.js +0 -101
  38. package/dist/commands/narrative/render.d.ts +0 -3
  39. package/dist/commands/narrative/render.d.ts.map +0 -1
  40. package/dist/commands/narrative/render.js +0 -99
  41. package/dist/commands/narrative/test.d.ts +0 -3
  42. package/dist/commands/narrative/test.d.ts.map +0 -1
  43. package/dist/commands/narrative/test.js +0 -150
  44. package/dist/commands/narrative/utils.d.ts +0 -69
  45. package/dist/commands/narrative/utils.d.ts.map +0 -1
  46. package/dist/commands/narrative/utils.js +0 -158
  47. package/dist/commands/narrative/validate.d.ts +0 -3
  48. package/dist/commands/narrative/validate.d.ts.map +0 -1
  49. package/dist/commands/narrative/validate.js +0 -149
  50. package/dist/commands/schema.d.ts +0 -6
  51. package/dist/commands/schema.d.ts.map +0 -1
  52. package/dist/commands/schema.js +0 -336
  53. package/dist/commands/validate-execution.d.ts +0 -11
  54. package/dist/commands/validate-execution.d.ts.map +0 -1
  55. package/dist/commands/validate-execution.js +0 -223
  56. package/dist/commands/validate.d.ts +0 -6
  57. package/dist/commands/validate.d.ts.map +0 -1
  58. package/dist/commands/validate.js +0 -1065
  59. package/dist/index.cjs +0 -243779
  60. package/dist/index.cjs.map +0 -7
  61. package/dist/index.d.ts +0 -8
  62. package/dist/index.d.ts.map +0 -1
  63. package/dist/index.js +0 -45
package/dist/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * Principal View CLI - Main entry point
3
- *
4
- * This CLI provides tools to validate and manage .canvas configuration files
5
- * for the Principal View Framework.
6
- */
7
- export {};
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
package/dist/index.js DELETED
@@ -1,45 +0,0 @@
1
- /**
2
- * Principal View CLI - Main entry point
3
- *
4
- * This CLI provides tools to validate and manage .canvas configuration files
5
- * for the Principal View Framework.
6
- */
7
- import { Command } from 'commander';
8
- import { createValidateCommand } from './commands/validate.js';
9
- import { createValidateExecutionCommand } from './commands/validate-execution.js';
10
- import { createInitCommand } from './commands/init.js';
11
- import { createListCommand } from './commands/list.js';
12
- import { createSchemaCommand } from './commands/schema.js';
13
- import { createFormatsCommand } from './commands/formats.js';
14
- import { createDoctorCommand } from './commands/doctor.js';
15
- import { createHooksCommand } from './commands/hooks.js';
16
- import { createCreateCommand } from './commands/create.js';
17
- import { createLintCommand } from './commands/lint.js';
18
- import { createCoverageCommand } from './commands/coverage.js';
19
- import { createNarrativeCommand } from './commands/narrative/index.js';
20
- // Version is injected at build time via package.json
21
- const VERSION = '0.2.3';
22
- const program = new Command();
23
- program
24
- .name('privu')
25
- .description('Principal View CLI - Validate and manage .canvas configuration files')
26
- .version(VERSION);
27
- // Add commands
28
- program.addCommand(createInitCommand());
29
- program.addCommand(createCreateCommand());
30
- program.addCommand(createValidateCommand());
31
- program.addCommand(createValidateExecutionCommand());
32
- program.addCommand(createLintCommand());
33
- program.addCommand(createListCommand());
34
- program.addCommand(createSchemaCommand());
35
- program.addCommand(createFormatsCommand());
36
- program.addCommand(createDoctorCommand());
37
- program.addCommand(createHooksCommand());
38
- program.addCommand(createCoverageCommand());
39
- program.addCommand(createNarrativeCommand());
40
- // Parse command line arguments
41
- program.parse(process.argv);
42
- // Show help if no command provided
43
- if (!process.argv.slice(2).length) {
44
- program.outputHelp();
45
- }