ralph-cli-sandboxed 0.6.6 → 0.7.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 (36) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +1 -1
  3. package/dist/commands/ask.d.ts +6 -0
  4. package/dist/commands/ask.js +140 -0
  5. package/dist/commands/branch.js +8 -4
  6. package/dist/commands/chat.js +11 -8
  7. package/dist/commands/docker.js +19 -4
  8. package/dist/commands/fix-config.js +0 -41
  9. package/dist/commands/help.js +10 -0
  10. package/dist/commands/run.js +9 -9
  11. package/dist/index.js +2 -0
  12. package/dist/providers/telegram.js +1 -1
  13. package/dist/responders/claude-code-responder.js +1 -0
  14. package/dist/responders/cli-responder.js +1 -0
  15. package/dist/responders/llm-responder.js +1 -1
  16. package/dist/templates/macos-scripts.js +18 -18
  17. package/dist/tui/components/JsonSnippetEditor.js +7 -7
  18. package/dist/tui/components/KeyValueEditor.js +5 -1
  19. package/dist/tui/components/LLMProvidersEditor.js +7 -9
  20. package/dist/tui/components/Preview.js +1 -1
  21. package/dist/tui/components/SectionNav.js +18 -2
  22. package/dist/utils/chat-client.js +1 -0
  23. package/dist/utils/config.d.ts +1 -0
  24. package/dist/utils/config.js +3 -1
  25. package/dist/utils/config.test.d.ts +1 -0
  26. package/dist/utils/config.test.js +424 -0
  27. package/dist/utils/notification.js +1 -1
  28. package/dist/utils/prd-validator.js +16 -4
  29. package/dist/utils/prd-validator.test.d.ts +1 -0
  30. package/dist/utils/prd-validator.test.js +1095 -0
  31. package/dist/utils/responder.js +4 -1
  32. package/dist/utils/stream-json.test.d.ts +1 -0
  33. package/dist/utils/stream-json.test.js +1007 -0
  34. package/docs/DOCKER.md +14 -0
  35. package/docs/PRD-GENERATOR.md +15 -0
  36. package/package.json +16 -13
@@ -109,7 +109,10 @@ export class ResponderMatcher {
109
109
  // Extract args: everything after the trigger
110
110
  const triggerIndex = match.index + match[0].indexOf(match[1]);
111
111
  const afterTrigger = message.slice(triggerIndex + match[1].length);
112
- const args = afterTrigger.replace(/^[:]\s*/, "").replace(/^\s+/, "").trim();
112
+ const args = afterTrigger
113
+ .replace(/^[:]\s*/, "")
114
+ .replace(/^\s+/, "")
115
+ .trim();
113
116
  return { name: responderName, responder, args };
114
117
  }
115
118
  }
@@ -0,0 +1 @@
1
+ export {};