@reconcrap/boss-recommend-mcp 1.2.9 → 1.3.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/README.md +82 -1
  2. package/package.json +2 -1
  3. package/skills/boss-chat/README.md +5 -0
  4. package/skills/boss-chat/SKILL.md +69 -0
  5. package/skills/boss-recommend-pipeline/SKILL.md +40 -4
  6. package/src/adapters.js +19 -5
  7. package/src/boss-chat.js +436 -0
  8. package/src/cli.js +294 -129
  9. package/src/index.js +459 -108
  10. package/src/parser.js +4 -5
  11. package/src/pipeline.js +605 -8
  12. package/src/run-state.js +5 -0
  13. package/src/test-adapters-runtime.js +69 -0
  14. package/src/test-boss-chat.js +399 -0
  15. package/src/test-index-async.js +238 -4
  16. package/src/test-parser.js +33 -6
  17. package/src/test-pipeline.js +408 -1
  18. package/vendor/boss-chat-cli/README.md +134 -0
  19. package/vendor/boss-chat-cli/package.json +53 -0
  20. package/vendor/boss-chat-cli/src/app.js +769 -0
  21. package/vendor/boss-chat-cli/src/browser/chat-page.js +2681 -0
  22. package/vendor/boss-chat-cli/src/cli.js +1350 -0
  23. package/vendor/boss-chat-cli/src/mcp/server.js +149 -0
  24. package/vendor/boss-chat-cli/src/mcp/tool-runtime.js +193 -0
  25. package/vendor/boss-chat-cli/src/runtime/async-run-state.js +260 -0
  26. package/vendor/boss-chat-cli/src/runtime/interaction.js +102 -0
  27. package/vendor/boss-chat-cli/src/runtime/run-control.js +102 -0
  28. package/vendor/boss-chat-cli/src/services/chrome-client.js +97 -0
  29. package/vendor/boss-chat-cli/src/services/llm.js +352 -0
  30. package/vendor/boss-chat-cli/src/services/profile-store.js +157 -0
  31. package/vendor/boss-chat-cli/src/services/report-store.js +19 -0
  32. package/vendor/boss-chat-cli/src/services/resume-capture.js +554 -0
  33. package/vendor/boss-chat-cli/src/services/state-store.js +217 -0
  34. package/vendor/boss-chat-cli/src/utils/customer-key.js +82 -0
  35. package/vendor/boss-recommend-screen-cli/boss-recommend-screen-cli.cjs +902 -56
  36. package/vendor/boss-recommend-screen-cli/test-recoverable-resume-failures.cjs +387 -1
package/src/parser.js CHANGED
@@ -497,17 +497,16 @@ function resolveMaxGreetCount({ instruction, confirmation, overrides, postAction
497
497
  const proposed = confirmationValue || overrideValue || instructionValue || null;
498
498
  const resolved = confirmed ? (confirmationValue || overrideValue || null) : null;
499
499
  const suspiciousAutoFill = Boolean(
500
- confirmed
501
- && Number.isInteger(confirmationValue)
502
- && confirmationValue > 0
500
+ !confirmed
501
+ && Number.isInteger(proposed)
502
+ && proposed > 0
503
503
  && !Number.isInteger(instructionValue)
504
504
  && Number.isInteger(targetCountHint)
505
505
  && targetCountHint > 0
506
- && confirmationValue === targetCountHint
506
+ && proposed === targetCountHint
507
507
  );
508
508
  const needsConfirmation = (
509
509
  !(Number.isInteger(resolved) && resolved > 0)
510
- || suspiciousAutoFill
511
510
  );
512
511
 
513
512
  return {