@principal-ai/principal-view-cli 0.3.1 → 0.3.3

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/dist/index.cjs +6414 -340
  2. package/dist/index.cjs.map +4 -4
  3. package/package.json +2 -2
  4. package/dist/commands/coverage.d.ts +0 -9
  5. package/dist/commands/coverage.d.ts.map +0 -1
  6. package/dist/commands/coverage.js +0 -158
  7. package/dist/commands/create.d.ts +0 -6
  8. package/dist/commands/create.d.ts.map +0 -1
  9. package/dist/commands/create.js +0 -50
  10. package/dist/commands/doctor.d.ts +0 -10
  11. package/dist/commands/doctor.d.ts.map +0 -1
  12. package/dist/commands/doctor.js +0 -274
  13. package/dist/commands/formats.d.ts +0 -6
  14. package/dist/commands/formats.d.ts.map +0 -1
  15. package/dist/commands/formats.js +0 -475
  16. package/dist/commands/hooks.d.ts +0 -9
  17. package/dist/commands/hooks.d.ts.map +0 -1
  18. package/dist/commands/hooks.js +0 -295
  19. package/dist/commands/init.d.ts +0 -6
  20. package/dist/commands/init.d.ts.map +0 -1
  21. package/dist/commands/init.js +0 -271
  22. package/dist/commands/lint.d.ts +0 -6
  23. package/dist/commands/lint.d.ts.map +0 -1
  24. package/dist/commands/lint.js +0 -506
  25. package/dist/commands/list.d.ts +0 -6
  26. package/dist/commands/list.d.ts.map +0 -1
  27. package/dist/commands/list.js +0 -80
  28. package/dist/commands/narrative/eval.d.ts +0 -3
  29. package/dist/commands/narrative/eval.d.ts.map +0 -1
  30. package/dist/commands/narrative/eval.js +0 -76
  31. package/dist/commands/narrative/index.d.ts +0 -3
  32. package/dist/commands/narrative/index.d.ts.map +0 -1
  33. package/dist/commands/narrative/index.js +0 -19
  34. package/dist/commands/narrative/inspect.d.ts +0 -3
  35. package/dist/commands/narrative/inspect.d.ts.map +0 -1
  36. package/dist/commands/narrative/inspect.js +0 -109
  37. package/dist/commands/narrative/list.d.ts +0 -3
  38. package/dist/commands/narrative/list.d.ts.map +0 -1
  39. package/dist/commands/narrative/list.js +0 -101
  40. package/dist/commands/narrative/render.d.ts +0 -3
  41. package/dist/commands/narrative/render.d.ts.map +0 -1
  42. package/dist/commands/narrative/render.js +0 -99
  43. package/dist/commands/narrative/test.d.ts +0 -3
  44. package/dist/commands/narrative/test.d.ts.map +0 -1
  45. package/dist/commands/narrative/test.js +0 -150
  46. package/dist/commands/narrative/utils.d.ts +0 -69
  47. package/dist/commands/narrative/utils.d.ts.map +0 -1
  48. package/dist/commands/narrative/utils.js +0 -158
  49. package/dist/commands/narrative/validate.d.ts +0 -3
  50. package/dist/commands/narrative/validate.d.ts.map +0 -1
  51. package/dist/commands/narrative/validate.js +0 -149
  52. package/dist/commands/schema.d.ts +0 -6
  53. package/dist/commands/schema.d.ts.map +0 -1
  54. package/dist/commands/schema.js +0 -336
  55. package/dist/commands/validate-execution.d.ts +0 -11
  56. package/dist/commands/validate-execution.d.ts.map +0 -1
  57. package/dist/commands/validate-execution.js +0 -223
  58. package/dist/commands/validate.d.ts +0 -6
  59. package/dist/commands/validate.d.ts.map +0 -1
  60. package/dist/commands/validate.js +0 -1065
  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
- }