@ericrisco/rsc 0.1.41 → 0.1.42
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/manifest.json +1 -1
- package/package.json +1 -1
- package/scripts/rsc.js +23 -2
- package/skills/roast-me/tools/adapters/__pycache__/__init__.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/base.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/claude.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/codex.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/gemini.cpython-312.pyc +0 -0
- package/skills/roast-me/tools/adapters/__pycache__/registry.cpython-312.pyc +0 -0
package/manifest.json
CHANGED
package/package.json
CHANGED
package/scripts/rsc.js
CHANGED
|
@@ -102,6 +102,24 @@ function printNextSteps(targets, ids) {
|
|
|
102
102
|
say('\n Add something by hand anytime: npx @ericrisco/rsc add <skill>');
|
|
103
103
|
say(' Browse the catalog / get picks: npx @ericrisco/rsc consult "whatever you need"');
|
|
104
104
|
say('────────────────────────────────────────────────────────');
|
|
105
|
+
printAgentHandoff();
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// A machine-readable handoff addressed to the AGENT (not the human). After an
|
|
109
|
+
// equipping install the skills + hooks are on disk but NOT live until the session
|
|
110
|
+
// reloads (Claude Code loads them at SessionStart; Codex reads AGENTS.md next turn).
|
|
111
|
+
// "Minute 1" = the user's NEXT message works with everything loaded — so we tell the
|
|
112
|
+
// agent to reload, confirm it's equipped, and explicitly NOT auto-start a task.
|
|
113
|
+
function printAgentHandoff() {
|
|
114
|
+
say('\n════════════════ AGENT HANDOFF ════════════════');
|
|
115
|
+
say('rsc is installed but NOT active in this session yet.');
|
|
116
|
+
say('AGENT, do this now:');
|
|
117
|
+
say(' 1. Reload/restart this session so the new skills + hooks load');
|
|
118
|
+
say(' (Claude Code: restart the session · Codex/AGENTS.md tools: next turn).');
|
|
119
|
+
say(' 2. After reload you are EQUIPPED — orient + suggest are always-on.');
|
|
120
|
+
say(' 3. Tell the user rsc is ready; they can start in their own words.');
|
|
121
|
+
say(' Do NOT auto-start a task — wait for the user.');
|
|
122
|
+
say('════════════════════════════════════════════════');
|
|
105
123
|
}
|
|
106
124
|
|
|
107
125
|
async function wizard() {
|
|
@@ -171,7 +189,8 @@ async function main() {
|
|
|
171
189
|
}
|
|
172
190
|
const ids = [...new Set(['orient', 'suggest', ...requested])];
|
|
173
191
|
for (const t of targets) await applyInstall({ skillIds: ids, target: t });
|
|
174
|
-
|
|
192
|
+
say(`✅ Installed for ${targets.join(', ')}: ${requested.join(', ')}`);
|
|
193
|
+
return void say(' ↻ Reload/restart your assistant so the new skill activates.');
|
|
175
194
|
}
|
|
176
195
|
case 'install': {
|
|
177
196
|
const profile = flag('profile') || 'minimal';
|
|
@@ -179,7 +198,9 @@ async function main() {
|
|
|
179
198
|
let ids = skillsForProfile(loadManifest(), profile);
|
|
180
199
|
ids = [...new Set(['orient', 'suggest', ...ids])].filter((id) => !without.includes(id));
|
|
181
200
|
for (const t of targets) await applyInstall({ skillIds: ids, target: t });
|
|
182
|
-
|
|
201
|
+
say(`✅ Profile '${profile}' installed for ${targets.join(', ')} (${ids.length} skills)`);
|
|
202
|
+
printAgentHandoff();
|
|
203
|
+
return;
|
|
183
204
|
}
|
|
184
205
|
case 'consult': {
|
|
185
206
|
const ids = await recommendIds(argv.slice(1).join(' '));
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|