@super-hands/connect 0.1.16 → 0.1.17

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/client.mjs +14 -12
  2. package/package.json +1 -1
package/client.mjs CHANGED
@@ -41,7 +41,7 @@ function codexConfigBlock(args) {
41
41
  }
42
42
 
43
43
  // lib/connect-skill.ts
44
- var CONNECT_SKILL_VERSION = 11;
44
+ var CONNECT_SKILL_VERSION = 12;
45
45
  var CONNECT_SKILL_DIR = MCP_SERVER_KEY;
46
46
  var CONNECT_SKILL_FILENAME = "SKILL.md";
47
47
  var VERSION_MARKER = `[//]: # (superhands-skill-version: ${CONNECT_SKILL_VERSION})`;
@@ -75,9 +75,6 @@ Before you build, change, or restyle any UI:
75
75
  example \`["app/marketing/pricing.tsx"]\`. The team writes down where
76
76
  Instructions apply, and a path answers that far better than a description
77
77
  does. Leave it out if you do not know yet; it narrows nothing away.
78
- - If that tool is not available on this server, it is an older deployment:
79
- call \`superhands_get_guidance\` and \`superhands_get_skill\` instead,
80
- with the same \`intent\` \u2014 those two are older and take no \`paths\`.
81
78
  2. Plan against what comes back, and note which parts of your plan each set of
82
79
  keys covers. The first answer renders what to read first, then names
83
80
  under **Reachable** the modules judged to matter to parts you have not
@@ -87,7 +84,7 @@ Before you build, change, or restyle any UI:
87
84
  the team has written down; say so rather than quietly using your own
88
85
  defaults.
89
86
  3. As you start each part \u2014 the sidebar, then the table, then the form \u2014 call
90
- \`superhands_get_playbook_modules\` with the reachable keys covering the
87
+ \`superhands_get_instruction_modules\` with the reachable keys covering the
91
88
  part you are starting now and \`part\` set to that part in a few words,
92
89
  for example \`"the form's validation errors"\`. A key ending in \`*\` takes
93
90
  everything under it, so \`better-ui/*\` is a whole skill and
@@ -101,27 +98,32 @@ Before you build, change, or restyle any UI:
101
98
  the start. These are instructions to follow, not facts to know, so modules
102
99
  for a part you are not building are a page of directions about the wrong
103
100
  thing sitting in your context while you work.
104
- - Team-authored decision entries from step 1 need no such loop. They are
101
+ - Review-enforced decision entries from step 1 need no such loop. They are
105
102
  concise enough to stay in the opening brief, so one read at the start is
106
103
  the right read.
107
- - If that tool is not available on this server, it is an older deployment:
104
+ - If that tool is not available on this server,
108
105
  build from what step 1 already returned and skip this step. Do not ask
109
106
  for the whole library instead \u2014 that is the wall of text step 1 avoided.
110
107
  4. Build to what comes back. Use the selected Instructions together. When two
111
108
  entries pull in different directions, prefer the more specific instruction,
112
109
  preserve explicit exceptions, and call out any conflict you cannot honestly
113
110
  resolve.
114
- 5. When you have finished \u2014 not part-way through \u2014 send the files you wrote or
111
+ 5. As your work reaches files your opening intent never mentioned, call
112
+ \`superhands_possible_misses\` with the \`paths\` you are actually in. It is
113
+ a free, instant, advisory list of checks those files usually need \u2014 not a
114
+ review, not a gate \u2014 so call it as the work moves and once before your
115
+ summary, passing \`handled\` for anything you already covered.
116
+ 6. When you have finished \u2014 not part-way through \u2014 send the files you wrote or
115
117
  changed with \`superhands_report_completed_build\`, naming the \`route\` if
116
118
  you know it. The team looks at what their agents build there; it records
117
119
  and does not review, so a failed report costs the work nothing.
118
- 6. When you finish, say you followed the team's Instructions \u2014 never that your
120
+ 7. When you finish, say you followed the team's Instructions \u2014 never that your
119
121
  work was checked. Reading Instructions is not a check, reporting a build is
120
122
  not a review, and nothing has looked at what you built.
121
123
 
122
- If the tool answers \`no-instructions\` (or \`no-guidance\` from an older
123
- server), carry on with what you were asked for and mention that the team
124
- adds its Instructions on the Superhands Instructions page.
124
+ If the tool answers \`no-instructions\`, carry on with what you were asked for
125
+ and mention that the team adds its Instructions on the Superhands Instructions
126
+ page.
125
127
 
126
128
  If the \`${MCP_SERVER_KEY}\` MCP server is not reachable in this session, say
127
129
  so rather than guessing at the team's decisions \u2014 it is configured on this
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@super-hands/connect",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "Connect the coding agents on this machine to your team's Superhands MCP server, refresh it later with `update` (no token needed), and take it back off again with `uninstall`. Writes each client's own config; reads no repository, uploads nothing.",
5
5
  "bin": {
6
6
  "superhands-connect": "client.mjs"