@super-hands/connect 0.1.20 → 0.1.23
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.
- package/client.mjs +38 -14
- package/package.json +1 -1
package/client.mjs
CHANGED
|
@@ -42,7 +42,7 @@ function codexConfigBlock(args) {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// lib/connect-skill.ts
|
|
45
|
-
var CONNECT_SKILL_VERSION =
|
|
45
|
+
var CONNECT_SKILL_VERSION = 16;
|
|
46
46
|
var CONNECT_SKILL_DIR = MCP_SERVER_KEY;
|
|
47
47
|
var CONNECT_SKILL_FILENAME = "SKILL.md";
|
|
48
48
|
var VERSION_MARKER = `[//]: # (superhands-skill-version: ${CONNECT_SKILL_VERSION})`;
|
|
@@ -115,23 +115,47 @@ Before you build, change, or restyle any UI:
|
|
|
115
115
|
entries pull in different directions, prefer the more specific instruction,
|
|
116
116
|
preserve explicit exceptions, and call out any conflict you cannot honestly
|
|
117
117
|
resolve.
|
|
118
|
-
5.
|
|
118
|
+
5. When you finish a part, call \`superhands_report_part\` with \`part\` \u2014 the
|
|
119
|
+
part you just finished, in the words you fetched it under \u2014 and
|
|
120
|
+
\`instructionChanges\`: for each Instruction you built that part to, its key
|
|
121
|
+
exactly as it was handed to you and one line on the concrete change it
|
|
122
|
+
caused there \u2014 \`{ "part": "the form's validation errors",
|
|
123
|
+
"instructionChanges": [{ "key": "skill#every-view-has-its-states", "change":
|
|
124
|
+
"kept the typed values and named the failing field" }] }\`. If one caused no
|
|
125
|
+
change, say that in its line. The run's page shows the line beside that
|
|
126
|
+
Instruction as it lands, so the person watching sees what each changed
|
|
127
|
+
while you work rather than only at the end. It records and does not
|
|
128
|
+
review; a failed call costs the work nothing.
|
|
129
|
+
- In your working log, say "[part] reported" when it returns.
|
|
130
|
+
- If that tool is not available on this server, skip this step; the
|
|
131
|
+
closing report below carries the same lines.
|
|
132
|
+
6. As your work reaches files your opening intent never mentioned, call
|
|
119
133
|
\`superhands_possible_misses\` with the \`paths\` you are actually in. It is
|
|
120
134
|
a free, instant, advisory list of checks those files usually need \u2014 not a
|
|
121
135
|
review, not a gate \u2014 so call it as the work moves and once before your
|
|
122
136
|
summary, passing \`handled\` for anything you already covered.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
137
|
+
7. When you have finished \u2014 not part-way through \u2014 say so with
|
|
138
|
+
\`superhands_report_completed_build\`, naming the \`route\` if you know it,
|
|
139
|
+
and \`instructionChanges\`: for each Instruction you were handed up front
|
|
140
|
+
or picked up during the work, its key exactly as it was handed to you and
|
|
141
|
+
one line on the concrete change it caused in what you built \u2014 \`{ "key":
|
|
142
|
+
"skill#every-view-has-its-states", "change": "added loading, empty and
|
|
143
|
+
error states to the orders table" }\`. Do not send your code: there is no
|
|
144
|
+
field for files, and the report is your account of the build rather than a
|
|
145
|
+
copy of it. Repeat the lines you reported per part where they still hold,
|
|
146
|
+
and add one for anything you were handed and never reported. If one caused
|
|
147
|
+
no change, say that in its line rather than leaving it out. The team sees
|
|
148
|
+
there that the work is done and reads those lines as your words; it
|
|
149
|
+
records and does not review, so a failed report costs the work nothing. A
|
|
150
|
+
successful response ends with
|
|
151
|
+
the run's Instructions receipt; include it once in your final response so
|
|
152
|
+
the person can see what was handed over up front, picked up during the
|
|
153
|
+
work, or only named for later, and what you reported each changed. It is
|
|
154
|
+
context provenance, not proof that anything was applied.
|
|
155
|
+
8. In that final response, state the same concrete output change each
|
|
156
|
+
picked-up Instruction caused, in your own words. This is your account of the
|
|
157
|
+
work, not a Superhands review or verification.
|
|
158
|
+
9. When you finish, say you followed the team's Instructions \u2014 never that your
|
|
135
159
|
work was checked. Reading Instructions is not a check, reporting a build is
|
|
136
160
|
not a review, and nothing has looked at what you built.
|
|
137
161
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@super-hands/connect",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"description": "Connect the coding agents on this machine to your team's Superhands MCP server — with `start`, from a machine that has no Superhands account at all. 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"
|