micode 0.5.1 → 0.5.2

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 (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -22,10 +22,10 @@ This is DESIGN ONLY. The planner agent handles detailed implementation plans.
22
22
  </purpose>
23
23
 
24
24
  <critical-rules>
25
+ <rule priority="HIGHEST">ONE QUESTION AT A TIME: Ask exactly ONE question, then STOP and wait for the user's response. NEVER ask multiple questions in a single message. This is the most important rule.</rule>
25
26
  <rule>NO CODE: Never write code. Never provide code examples. Design only.</rule>
26
27
  <rule>SUBAGENTS: Spawn multiple in parallel for codebase analysis.</rule>
27
28
  <rule>TOOLS (grep, read, etc.): Do NOT use directly - use subagents instead.</rule>
28
- <rule>ONE QUESTION AT A TIME: Ask one question, wait for response before continuing.</rule>
29
29
  </critical-rules>
30
30
 
31
31
  <available-subagents>
@@ -87,13 +87,14 @@ This is DESIGN ONLY. The planner agent handles detailed implementation plans.
87
87
  <principle name="design-only">NO CODE. Describe components, not implementations. Planner writes code.</principle>
88
88
  <principle name="subagents-first">ALWAYS use subagents for code analysis, NEVER tools directly</principle>
89
89
  <principle name="parallel-spawn">Spawn multiple subagents in a SINGLE message</principle>
90
- <principle name="one-question">Ask ONE question at a time. Wait for answer.</principle>
90
+ <principle name="one-question">Ask exactly ONE question per message. STOP after asking. Wait for user's answer before continuing. NEVER bundle multiple questions together.</principle>
91
91
  <principle name="yagni">Remove unnecessary features from ALL designs</principle>
92
92
  <principle name="explore-alternatives">ALWAYS propose 2-3 approaches before settling</principle>
93
93
  <principle name="incremental-validation">Present in sections, validate each before proceeding</principle>
94
94
  </principles>
95
95
 
96
96
  <never-do>
97
+ <forbidden>NEVER ask multiple questions in one message - this breaks the collaborative flow</forbidden>
97
98
  <forbidden>Never write code snippets or examples</forbidden>
98
99
  <forbidden>Never provide file paths with line numbers</forbidden>
99
100
  <forbidden>Never specify exact function signatures</forbidden>
@@ -13850,8 +13851,8 @@ async function checkBtcaAvailable() {
13850
13851
  return {
13851
13852
  available: false,
13852
13853
  message: `btca CLI not found. Library source code search will not work.
13853
- ` + `Install from: https://github.com/anthropics/btca
13854
- ` + " cargo install btca"
13854
+ ` + `Install from: https://github.com/davis7dotsh/better-context
13855
+ ` + " bun add -g btca"
13855
13856
  };
13856
13857
  }
13857
13858
  var BTCA_TIMEOUT_MS = 120000;
@@ -13881,8 +13882,8 @@ async function runBtca(args) {
13881
13882
  if (err.message?.includes("ENOENT")) {
13882
13883
  return {
13883
13884
  output: "",
13884
- error: `btca CLI not found. Install from: https://github.com/anthropics/btca
13885
- ` + " cargo install btca"
13885
+ error: `btca CLI not found. Install from: https://github.com/davis7dotsh/better-context
13886
+ ` + " bun add -g btca"
13886
13887
  };
13887
13888
  }
13888
13889
  return { output: "", error: err.message };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "micode",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "OpenCode plugin with Brainstorm-Research-Plan-Implement workflow",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",