@shankywho/nocap 0.0.0-stage → 0.1.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 (78) hide show
  1. package/README.md +10 -2
  2. package/bundle/build-fixtures.js +7950 -0
  3. package/bundle/nocap.js +61839 -0
  4. package/fixtures/project/package.json +9 -0
  5. package/fixtures/project/src/auth/session.ts +3 -0
  6. package/fixtures/project/src/config.ts +4 -0
  7. package/fixtures/project/src/parser.ts +11 -0
  8. package/fixtures/project/src/retry.ts +27 -0
  9. package/fixtures/project/test/legacy.test.ts +16 -0
  10. package/fixtures/project/test/parser.test.ts +20 -0
  11. package/fixtures/project/test/retry.test.ts +39 -0
  12. package/fixtures/project/test/session.test.ts +12 -0
  13. package/fixtures/scenarios/denominator/delete.txt +1 -0
  14. package/fixtures/scenarios/denominator/expected.json +14 -0
  15. package/fixtures/scenarios/denominator/mode.txt +1 -0
  16. package/fixtures/scenarios/denominator/overlay/src/retry.ts +27 -0
  17. package/fixtures/scenarios/denominator/overlay/test/retry.test.ts +57 -0
  18. package/fixtures/scenarios/denominator/repair/overlay/.gitkeep +0 -0
  19. package/fixtures/scenarios/denominator/repair/summary.md +4 -0
  20. package/fixtures/scenarios/denominator/summary.md +3 -0
  21. package/fixtures/scenarios/fake_refactor/expected.json +11 -0
  22. package/fixtures/scenarios/fake_refactor/mode.txt +1 -0
  23. package/fixtures/scenarios/fake_refactor/overlay/src/parser.ts +5 -0
  24. package/fixtures/scenarios/fake_refactor/overlay/test/parser.test.ts +20 -0
  25. package/fixtures/scenarios/fake_refactor/repair/overlay/test/parser.test.ts +20 -0
  26. package/fixtures/scenarios/fake_refactor/repair/summary.md +1 -0
  27. package/fixtures/scenarios/fake_refactor/summary.md +1 -0
  28. package/fixtures/scenarios/handoff/mode.txt +1 -0
  29. package/fixtures/scenarios/handoff/stages/01-backend/actor.json +1 -0
  30. package/fixtures/scenarios/handoff/stages/01-backend/overlay/src/backoff.ts +4 -0
  31. package/fixtures/scenarios/handoff/stages/01-backend/overlay/test/backoff.test.ts +8 -0
  32. package/fixtures/scenarios/handoff/stages/01-backend/summary.md +2 -0
  33. package/fixtures/scenarios/handoff/stages/02-frontend/actor.json +1 -0
  34. package/fixtures/scenarios/handoff/stages/02-frontend/overlay/src/retry.ts +29 -0
  35. package/fixtures/scenarios/handoff/stages/02-frontend/summary.md +2 -0
  36. package/fixtures/scenarios/honest/expected.json +24 -0
  37. package/fixtures/scenarios/honest/mode.txt +1 -0
  38. package/fixtures/scenarios/honest/overlay/src/retry.ts +27 -0
  39. package/fixtures/scenarios/honest/overlay/test/retry.test.ts +57 -0
  40. package/fixtures/scenarios/honest/summary.md +3 -0
  41. package/fixtures/scenarios/scope_violation/expected.json +11 -0
  42. package/fixtures/scenarios/scope_violation/mode.txt +1 -0
  43. package/fixtures/scenarios/scope_violation/overlay/src/auth/session.ts +4 -0
  44. package/fixtures/scenarios/scope_violation/overlay/src/retry.ts +27 -0
  45. package/fixtures/scenarios/scope_violation/overlay/test/retry.test.ts +57 -0
  46. package/fixtures/scenarios/scope_violation/repair/overlay/src/auth/session.ts +3 -0
  47. package/fixtures/scenarios/scope_violation/repair/summary.md +3 -0
  48. package/fixtures/scenarios/scope_violation/summary.md +3 -0
  49. package/fixtures/scenarios/tampered/expected.json +18 -0
  50. package/fixtures/scenarios/tampered/mode.txt +1 -0
  51. package/fixtures/scenarios/tampered/overlay/src/parser.ts +4 -0
  52. package/fixtures/scenarios/tampered/overlay/test/parser.test.ts +24 -0
  53. package/fixtures/scenarios/tampered/summary.md +1 -0
  54. package/fixtures/scenarios/tdd_trap/expected.json +21 -0
  55. package/fixtures/scenarios/tdd_trap/mode.txt +1 -0
  56. package/fixtures/scenarios/tdd_trap/overlay/src/parser.ts +4 -0
  57. package/fixtures/scenarios/tdd_trap/overlay/test/parser.test.ts +24 -0
  58. package/fixtures/scenarios/tdd_trap/summary.md +1 -0
  59. package/fixtures/scenarios/toothless/expected.json +12 -0
  60. package/fixtures/scenarios/toothless/mode.txt +1 -0
  61. package/fixtures/scenarios/toothless/overlay/src/retry.ts +27 -0
  62. package/fixtures/scenarios/toothless/overlay/test/retry.test.ts +51 -0
  63. package/fixtures/scenarios/toothless/repair/overlay/test/retry.test.ts +57 -0
  64. package/fixtures/scenarios/toothless/repair/summary.md +3 -0
  65. package/fixtures/scenarios/toothless/summary.md +3 -0
  66. package/fixtures/scenarios/toothless_gamed/expected.json +12 -0
  67. package/fixtures/scenarios/toothless_gamed/mode.txt +1 -0
  68. package/fixtures/scenarios/toothless_gamed/overlay/src/retry.ts +27 -0
  69. package/fixtures/scenarios/toothless_gamed/overlay/test/retry.test.ts +51 -0
  70. package/fixtures/scenarios/toothless_gamed/repair/overlay/test/retry.test.ts +23 -0
  71. package/fixtures/scenarios/toothless_gamed/repair/summary.md +2 -0
  72. package/fixtures/scenarios/toothless_gamed/summary.md +3 -0
  73. package/fixtures/scenarios/untracked/expected.json +20 -0
  74. package/fixtures/scenarios/untracked/mode.txt +1 -0
  75. package/fixtures/scenarios/untracked/overlay/src/backoff.ts +3 -0
  76. package/fixtures/scenarios/untracked/overlay/test/backoff.test.ts +8 -0
  77. package/fixtures/scenarios/untracked/summary.md +2 -0
  78. package/package.json +30 -4
package/README.md CHANGED
@@ -1,3 +1,11 @@
1
- # Temporary Holding Version
1
+ # nocap
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Your agent says it's done. nocap checks.
4
+
5
+ ```bash
6
+ npx @shankywho/nocap demo
7
+ cd your-repo && pbpaste | npx @shankywho/nocap check
8
+ npx @shankywho/nocap init --all --write
9
+ ```
10
+
11
+ Docs and source: https://github.com/shankar7055/NoCap