0101-agents 0.1.5 → 0.1.6
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/bin/cli.js +5 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -254,13 +254,16 @@ async function cmdInstall(args) {
|
|
|
254
254
|
mkdirSync(installDir, { recursive: true })
|
|
255
255
|
unzipInto(zipPath, installDir)
|
|
256
256
|
rmSync(zipPath, { force: true })
|
|
257
|
-
|
|
257
|
+
const localManifest = readManifest(agent)
|
|
258
|
+
runPostInstall(agent, localManifest)
|
|
258
259
|
writeInstalledVersion(agent, manifest.latest)
|
|
259
260
|
|
|
260
261
|
console.log('')
|
|
261
262
|
ok(`Installed ${bold(agent)} ${manifest.latest} → ${installDir}`)
|
|
262
263
|
info(`Start: 0101-agents start ${agent}`)
|
|
263
|
-
|
|
264
|
+
// The "open in Claude" hint only applies to agent folders. Artifacts with a
|
|
265
|
+
// custom launch (manifest.start, e.g. the runner) aren't opened in Claude.
|
|
266
|
+
if (!localManifest.start) info(` or: cd ${installDir} && claude`)
|
|
264
267
|
}
|
|
265
268
|
|
|
266
269
|
async function cmdUpdate(args) {
|