@wrongstack/core 0.282.2 → 0.283.1

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 (48) hide show
  1. package/dist/{agent-subagent-runner-DCczSoQj.d.ts → agent-subagent-runner-BsuWhB28.d.ts} +2 -2
  2. package/dist/coordination/index.d.ts +12 -12
  3. package/dist/coordination/index.js +315 -41
  4. package/dist/coordination/index.js.map +1 -1
  5. package/dist/defaults/index.d.ts +12 -12
  6. package/dist/defaults/index.js +316 -53
  7. package/dist/defaults/index.js.map +1 -1
  8. package/dist/{events-BOv8h6I1.d.ts → events-KmxSmvho.d.ts} +5 -0
  9. package/dist/execution/index.d.ts +7 -7
  10. package/dist/extension/index.d.ts +2 -2
  11. package/dist/{global-mailbox-MDDFhLYh.d.ts → global-mailbox-rWVt8YlO.d.ts} +70 -7
  12. package/dist/{goal-store-BEmDmSKF.d.ts → goal-store-8owBXJT2.d.ts} +1 -1
  13. package/dist/hq/index.d.ts +32 -6
  14. package/dist/hq/index.js +128 -32
  15. package/dist/hq/index.js.map +1 -1
  16. package/dist/{index-Dd-PJJ8A.d.ts → index-BhCteHAF.d.ts} +1 -1
  17. package/dist/index.d.ts +291 -21
  18. package/dist/index.js +944 -113
  19. package/dist/index.js.map +1 -1
  20. package/dist/infrastructure/index.d.ts +1 -1
  21. package/dist/kernel/index.d.ts +4 -4
  22. package/dist/kernel/index.js.map +1 -1
  23. package/dist/models/index.js +105 -42
  24. package/dist/models/index.js.map +1 -1
  25. package/dist/{multi-agent-coordinator-BRqtpn-a.d.ts → multi-agent-coordinator-CrjeTB9i.d.ts} +1 -1
  26. package/dist/{null-fleet-bus-BkptvIVo.d.ts → null-fleet-bus-D4e9R7Qc.d.ts} +9 -4
  27. package/dist/observability/index.d.ts +1 -1
  28. package/dist/{parallel-eternal-engine-BXECuOVG.d.ts → parallel-eternal-engine-iY2uxocj.d.ts} +4 -4
  29. package/dist/{provider-runner-CJtCs1Rw.d.ts → provider-runner-oQhDaZmH.d.ts} +1 -1
  30. package/dist/sdd/index.d.ts +4 -4
  31. package/dist/sdd/index.js.map +1 -1
  32. package/dist/storage/index.d.ts +5 -5
  33. package/dist/storage/index.js.map +1 -1
  34. package/dist/{todos-checkpoint-Bw83WMh9.d.ts → todos-checkpoint-BwCrj4Cb.d.ts} +1 -1
  35. package/dist/{tool-executor-4mWN2vHW.d.ts → tool-executor-kElSEgO0.d.ts} +4 -4
  36. package/dist/types/index.d.ts +8 -8
  37. package/dist/types/index.js +105 -45
  38. package/dist/types/index.js.map +1 -1
  39. package/dist/{worktree-manager-BrtjUFYk.d.ts → worktree-manager-BjyAW30D.d.ts} +1 -1
  40. package/instructions/modes/audit-lite.md +13 -0
  41. package/instructions/modes/debug-lite.md +13 -0
  42. package/instructions/modes/plan-lite.md +14 -0
  43. package/instructions/modes/refactor-lite.md +13 -0
  44. package/instructions/modes/research-lite.md +13 -0
  45. package/instructions/modes/review-lite.md +14 -0
  46. package/instructions/modes/test-lite.md +13 -0
  47. package/package.json +1 -1
  48. package/skills/mailbox-bridge/SKILL.md +33 -0
@@ -633,107 +633,170 @@ var DEFAULT_MODES = [
633
633
  {
634
634
  id: "default",
635
635
  name: "Default",
636
- description: "General-purpose coding assistant",
636
+ description: "Balanced general-purpose mode; use when no special token/coverage trade-off is needed",
637
637
  prompt: "",
638
- tags: ["general"]
638
+ tags: ["general", "balanced"]
639
+ },
640
+ {
641
+ id: "brief",
642
+ name: "Brief",
643
+ description: "Ultra-compact responses for low-context, high-speed work",
644
+ prompt: modePrompt("brief"),
645
+ tags: ["lite", "fast", "concise", "token-saving"],
646
+ toolPreferences: ["read", "edit", "bash"],
647
+ suggestedSkills: []
648
+ },
649
+ {
650
+ id: "review-lite",
651
+ name: "Review Lite",
652
+ description: "Token-saving code review: changed files only, top correctness/security risks",
653
+ prompt: modePrompt("review-lite"),
654
+ tags: ["lite", "review", "quality", "token-saving"],
655
+ toolPreferences: ["git", "diff", "read", "grep"],
656
+ suggestedSkills: ["bug-hunter", "typescript-strict"]
657
+ },
658
+ {
659
+ id: "audit-lite",
660
+ name: "Audit Lite",
661
+ description: "Token-saving security triage for a small diff or named file",
662
+ prompt: modePrompt("audit-lite"),
663
+ tags: ["lite", "security", "audit", "token-saving"],
664
+ toolPreferences: ["grep", "read", "git"],
665
+ suggestedSkills: ["security-scanner"]
666
+ },
667
+ {
668
+ id: "plan-lite",
669
+ name: "Plan Lite",
670
+ description: "Token-saving planning: 3-6 actionable steps, minimal design debate",
671
+ prompt: modePrompt("plan-lite"),
672
+ tags: ["lite", "planning", "architecture", "token-saving"],
673
+ toolPreferences: ["tree", "glob", "read", "grep"],
674
+ suggestedSkills: ["refactor-planner"]
675
+ },
676
+ {
677
+ id: "debug-lite",
678
+ name: "Debug Lite",
679
+ description: "Token-saving bug triage: one hypothesis, nearest evidence, narrow check",
680
+ prompt: modePrompt("debug-lite"),
681
+ tags: ["lite", "debug", "triage", "token-saving"],
682
+ toolPreferences: ["read", "grep", "test", "logs"],
683
+ suggestedSkills: ["bug-hunter"]
684
+ },
685
+ {
686
+ id: "test-lite",
687
+ name: "Test Lite",
688
+ description: "Token-saving tests: one focused regression or narrow verification target",
689
+ prompt: modePrompt("test-lite"),
690
+ tags: ["lite", "testing", "qa", "token-saving"],
691
+ toolPreferences: ["test", "read", "grep"],
692
+ suggestedSkills: ["testing"]
693
+ },
694
+ {
695
+ id: "refactor-lite",
696
+ name: "Refactor Lite",
697
+ description: "Token-saving cleanup: small scoped behavior-preserving changes",
698
+ prompt: modePrompt("refactor-lite"),
699
+ tags: ["lite", "refactor", "token-saving"],
700
+ toolPreferences: ["read", "edit", "test"],
701
+ suggestedSkills: ["typescript-strict"]
702
+ },
703
+ {
704
+ id: "research-lite",
705
+ name: "Research Lite",
706
+ description: "Token-saving web research: one search, one authoritative fetch, short answer",
707
+ prompt: modePrompt("research-lite"),
708
+ tags: ["lite", "research", "web", "token-saving"],
709
+ toolPreferences: ["search", "fetch"],
710
+ suggestedSkills: ["research-web"]
639
711
  },
640
712
  {
641
713
  id: "code-reviewer",
642
- name: "Code Reviewer",
643
- description: "Focus on code quality, best practices, and potential bugs",
714
+ name: "Review Deep",
715
+ description: "Comprehensive code review across contracts, edge cases, lifecycle, errors, concurrency",
644
716
  prompt: modePrompt("code-reviewer"),
645
- tags: ["review", "quality", "security"],
717
+ tags: ["deep", "review", "quality", "security"],
646
718
  toolPreferences: ["read", "grep", "git", "diff", "test"],
647
719
  suggestedSkills: ["bug-hunter", "security-scanner", "typescript-strict", "testing"]
648
720
  },
649
721
  {
650
722
  id: "code-auditor",
651
- name: "Code Auditor",
652
- description: "Security-focused code analysis",
723
+ name: "Audit Deep",
724
+ description: "Comprehensive security audit with category coverage and exploitability notes",
653
725
  prompt: modePrompt("code-auditor"),
654
- tags: ["security", "audit", "compliance"],
726
+ tags: ["deep", "security", "audit", "compliance"],
655
727
  toolPreferences: ["grep", "read", "audit", "bash"],
656
728
  suggestedSkills: ["security-scanner", "bug-hunter", "audit-log"]
657
729
  },
658
730
  {
659
731
  id: "architect",
660
- name: "Software Architect",
661
- description: "Design patterns, scalability, and system design",
732
+ name: "Architecture Deep",
733
+ description: "Comprehensive architecture and cross-module contract analysis",
662
734
  prompt: modePrompt("architect"),
663
- tags: ["architecture", "design", "scalability"],
735
+ tags: ["deep", "architecture", "design", "scalability"],
664
736
  toolPreferences: ["read", "glob", "tree", "diff"],
665
737
  suggestedSkills: ["api-design", "refactor-planner", "node-modern", "docker-deploy"]
666
738
  },
667
739
  {
668
740
  id: "debugger",
669
- name: "Debugger",
670
- description: "Root cause analysis and error investigation",
741
+ name: "Debug Deep",
742
+ description: "Comprehensive root-cause analysis with traces, logs, assumptions, and verification",
671
743
  prompt: modePrompt("debugger"),
672
- tags: ["debug", "investigation", "error-resolution"],
744
+ tags: ["deep", "debug", "investigation", "error-resolution"],
673
745
  toolPreferences: ["read", "grep", "bash", "logs", "test"],
674
746
  suggestedSkills: ["bug-hunter", "audit-log", "observability"]
675
747
  },
676
748
  {
677
749
  id: "tester",
678
- name: "QA Engineer",
679
- description: "Test coverage, edge cases, and quality assurance",
750
+ name: "Test Deep",
751
+ description: "Comprehensive QA mode for coverage, boundaries, isolation, and integration gaps",
680
752
  prompt: modePrompt("tester"),
681
- tags: ["testing", "qa", "quality"],
753
+ tags: ["deep", "testing", "qa", "quality"],
682
754
  toolPreferences: ["read", "grep", "test", "bash"],
683
755
  suggestedSkills: ["testing", "bug-hunter", "typescript-strict"]
684
756
  },
685
757
  {
686
758
  id: "devops",
687
- name: "DevOps Engineer",
688
- description: "Infrastructure, deployment, and operations",
759
+ name: "DevOps Deep",
760
+ description: "Comprehensive infrastructure, deployment, observability, and operations review",
689
761
  prompt: modePrompt("devops"),
690
- tags: ["devops", "infrastructure", "operations"],
762
+ tags: ["deep", "devops", "infrastructure", "operations"],
691
763
  toolPreferences: ["read", "bash", "grep", "logs", "git"],
692
764
  suggestedSkills: ["docker-deploy", "observability", "security-scanner"]
693
765
  },
694
766
  {
695
767
  id: "refactorer",
696
- name: "Refactorer",
697
- description: "Code improvement and modernization",
768
+ name: "Refactor Deep",
769
+ description: "Comprehensive modernization/refactor mode with contracts and verification discipline",
698
770
  prompt: modePrompt("refactorer"),
699
- tags: ["refactor", "modernization", "improvement"],
771
+ tags: ["deep", "refactor", "modernization", "improvement"],
700
772
  toolPreferences: ["read", "edit", "test", "git", "grep"],
701
773
  suggestedSkills: ["refactor-planner", "typescript-strict", "node-modern", "testing"]
702
774
  },
703
775
  {
704
776
  id: "ui-design",
705
- name: "UI Design",
706
- description: "Design-first frontend & mobile UI work (Design Studio)",
777
+ name: "UI Design Deep",
778
+ description: "Comprehensive design-first frontend/mobile UI work with kit, tokens, and accessibility",
707
779
  prompt: modePrompt("ui-design"),
708
- tags: ["ui", "frontend", "mobile", "design"],
780
+ tags: ["deep", "ui", "frontend", "mobile", "design"],
709
781
  toolPreferences: ["design", "write", "edit", "read", "scaffold"],
710
782
  suggestedSkills: ["react-modern"]
711
783
  },
712
- {
713
- id: "brief",
714
- name: "Brief",
715
- description: "Fast, no-nonsense \u2014 get to the point",
716
- prompt: modePrompt("brief"),
717
- tags: ["fast", "concise", "direct"],
718
- toolPreferences: ["read", "edit", "bash"],
719
- suggestedSkills: []
720
- },
721
784
  {
722
785
  id: "teach",
723
- name: "Teach",
724
- description: "Mentor mode \u2014 explains why, not just what",
786
+ name: "Teach Deep",
787
+ description: "Mentor mode with explanations, mental models, trade-offs, and takeaways",
725
788
  prompt: modePrompt("teach"),
726
- tags: ["teaching", "mentor", "learning"],
789
+ tags: ["deep", "teaching", "mentor", "learning"],
727
790
  toolPreferences: ["read", "edit", "explain"],
728
791
  suggestedSkills: ["prompt-engineering", "skill-creator", "node-modern", "typescript-strict"]
729
792
  },
730
793
  {
731
794
  id: "research-web",
732
- name: "Research Web",
733
- description: "Current-data research \u2014 search web, verify, inject findings into context",
795
+ name: "Research Deep",
796
+ description: "Comprehensive current-data research with cross-checking and reusable findings",
734
797
  prompt: modePrompt("research-web"),
735
- tags: ["research", "web", "current-data", "up-to-date"],
736
- toolPreferences: ["search/fetch", "search/fetch", "search", "fetch", "context_manager"],
798
+ tags: ["deep", "research", "web", "current-data", "up-to-date"],
799
+ toolPreferences: ["search", "fetch", "context_manager"],
737
800
  suggestedSkills: ["research-web", "tech-stack", "node-modern", "security-scanner", "react-modern"]
738
801
  }
739
802
  ];