@routinecrew/routinecode 2.31.87 → 2.31.90

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 (65) hide show
  1. package/bin/cli.sh +10 -0
  2. package/bin/prompt-vault.dat +1 -1
  3. package/bin/rc-login.js +5 -4
  4. package/bin/rc-savings.js +808 -0
  5. package/bin/rc-suggestions.js +100 -0
  6. package/bin/rc-team.js +1 -1
  7. package/bin/setup.js +1 -1
  8. package/hooks/hooks-config.json +9 -0
  9. package/hooks/lib/agent_budget.py +2 -0
  10. package/hooks/lib/calibration.json +89 -0
  11. package/hooks/lib/card_gate.py +735 -0
  12. package/hooks/lib/cc-surface.json +1 -1
  13. package/hooks/lib/codemode_guard.py +30 -0
  14. package/hooks/lib/command_fix.py +209 -0
  15. package/hooks/lib/delegate_nudge.py +179 -0
  16. package/hooks/lib/deploy_suggest.py +312 -0
  17. package/hooks/lib/emit_raw.py +4 -0
  18. package/hooks/lib/knowledge_items.py +281 -22
  19. package/hooks/lib/knowledge_stock.py +708 -0
  20. package/hooks/lib/known_solution.py +1 -1
  21. package/hooks/lib/ops_guard.py +549 -0
  22. package/hooks/lib/prices.json +8 -0
  23. package/hooks/lib/route_ledger.py +622 -0
  24. package/hooks/lib/route_rules.json +88 -0
  25. package/hooks/lib/savings_emit.py +93 -0
  26. package/hooks/lib/secret_filter.py +11 -0
  27. package/hooks/lib/sync_manager.py +4 -1
  28. package/hooks/post-bash-verify.sh +14 -0
  29. package/hooks/post-edit-track.sh +9 -0
  30. package/hooks/pre-agent-spawn.mjs +1 -1
  31. package/hooks/pre-agent-spawn.sh +22 -2
  32. package/hooks/pre-bash-guard.sh +31 -0
  33. package/hooks/pre-bash-knowledge.sh +12 -2
  34. package/hooks/pre-edit-delegate.sh +15 -0
  35. package/hooks/pre-edit-guard.sh +10 -0
  36. package/hooks/pre-read-guard.sh +10 -0
  37. package/hooks/session-start.sh +6 -0
  38. package/hooks/stop-usage-metrics.sh +6 -0
  39. package/hooks/subagent-stop-usage.sh +36 -4
  40. package/mcp-intelligence/dist/knowledge-handlers.js +1 -1
  41. package/mcp-intelligence/dist/knowledge-record.js +1 -1
  42. package/mcp-routinecode/dist/index.js +1 -1
  43. package/package.json +1 -1
  44. package/plugin/.claude-plugin/plugin.json +1 -1
  45. package/plugin/agents/analyzer.md.sealed +1 -1
  46. package/plugin/agents/architect.md.sealed +1 -1
  47. package/plugin/agents/crawler.md.sealed +1 -1
  48. package/plugin/agents/explorer.md.sealed +1 -1
  49. package/plugin/agents/implementor-lite.md.sealed +1 -0
  50. package/plugin/agents/implementor.md.sealed +1 -1
  51. package/plugin/agents/looker.md.sealed +1 -1
  52. package/plugin/agents/ops-lite.md.sealed +1 -0
  53. package/plugin/agents/planner.md.sealed +1 -1
  54. package/plugin/agents/recorder.md.sealed +1 -1
  55. package/plugin/agents/reviewer.md.sealed +1 -1
  56. package/plugin/agents/runner-lite.md.sealed +1 -0
  57. package/plugin/agents/verifier.md.sealed +1 -1
  58. package/plugin/commands/analyze.md.sealed +1 -1
  59. package/plugin/commands/plan.md.sealed +1 -1
  60. package/plugin/commands/rc.md.sealed +1 -1
  61. package/plugin/commands/receipt.md.sealed +1 -1
  62. package/plugin/commands/recharge.md.sealed +1 -1
  63. package/plugin/commands/routines.md.sealed +1 -1
  64. package/plugin/commands/share.md.sealed +1 -1
  65. package/plugin/routinecode-prompt.md.sealed +1 -1
package/bin/cli.sh CHANGED
@@ -58,11 +58,21 @@ case "${1:-}" in
58
58
  shift
59
59
  exec node "$SCRIPT_DIR/rc-privacy.js" "$@"
60
60
  ;;
61
+ suggestions)
62
+ # 배포 후 AI 노출 진단 안내(설계 35c W5): `suggestions [status]`, `suggestions on|off`. 기본 켜짐.
63
+ shift
64
+ exec node "$SCRIPT_DIR/rc-suggestions.js" "$@"
65
+ ;;
61
66
  map)
62
67
  # 로컬 문제 리포트(설계 15 §4.6): 감사 결과를 HTML 로 만들어 브라우저로 연다. 서버로 보내지 않는다.
63
68
  shift
64
69
  exec node "$SCRIPT_DIR/rc-map.js" "$@"
65
70
  ;;
71
+ savings)
72
+ # 순정 Opus 대비 절감 계산기(설계 35 A10): 이 PC 의 대화 기록·카드 원장을 결정적으로 계산(LLM·네트워크 0). `savings [--json] [--no-update]`.
73
+ shift
74
+ exec node "$SCRIPT_DIR/rc-savings.js" "$@"
75
+ ;;
66
76
  skills)
67
77
  # 디자인 스킬 팩(설계 23 §5): `skills status|on|off|sync`. 기본 꺼짐 — `on` 하면 ~/.claude/skills 에 rc-* 스킬을 설치한다.
68
78
  shift