@plosson/agentio 0.1.22 → 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/README.md CHANGED
@@ -206,11 +206,15 @@ agentio claude plugin install https://github.com/plosson/agentio
206
206
  # Install to a specific directory
207
207
  agentio claude plugin install plosson/agentio -d ~/myproject
208
208
 
209
- # Install only skills (skip commands and hooks)
209
+ # Install only specific components (skills, commands, hooks, agents)
210
210
  agentio claude plugin install plosson/agentio --skills
211
+ agentio claude plugin install plosson/agentio --agents
211
212
 
212
213
  # Force reinstall if already exists
213
214
  agentio claude plugin install plosson/agentio -f
215
+
216
+ # Show detailed installation logs
217
+ agentio claude plugin install plosson/agentio --verbose
214
218
  ```
215
219
 
216
220
  Once installed, Claude Code can use the agentio CLI skills to help you manage emails, send Telegram messages, and more.
@@ -234,7 +238,7 @@ If your project has an `agentio.json` file listing plugins, you can install all
234
238
  agentio claude plugin install
235
239
  ```
236
240
 
237
- Plugins are installed to `.claude/` in the target directory (skills, commands, and hooks subdirectories).
241
+ Plugins are installed to `.claude/` in the target directory (skills, commands, hooks, and agents subdirectories).
238
242
 
239
243
  ## Design
240
244
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plosson/agentio",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "CLI for LLM agents to interact with communication and tracking services",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -279,7 +279,7 @@ export async function installPlugin(
279
279
  }
280
280
 
281
281
  copyComponent(repoDir, parsed, 'skills', skillName, targetDir);
282
- installed.push({ name: skillName, type: 'skills', path: destPath });
282
+ installed.push({ name: skillName, type: 'skills', path: `.claude/skills/${skillName}` });
283
283
  console.error(` Installed skill: ${skillName}`);
284
284
  if (verbose) {
285
285
  console.error(` [verbose] Path: ${destPath}`);
@@ -305,7 +305,7 @@ export async function installPlugin(
305
305
  }
306
306
 
307
307
  copyComponent(repoDir, parsed, 'commands', cmdName, targetDir);
308
- installed.push({ name: cmdName, type: 'commands', path: destPath });
308
+ installed.push({ name: cmdName, type: 'commands', path: `.claude/commands/${cmdName}` });
309
309
  console.error(` Installed command: ${cmdName}`);
310
310
  if (verbose) {
311
311
  console.error(` [verbose] Path: ${destPath}`);
@@ -331,7 +331,7 @@ export async function installPlugin(
331
331
  }
332
332
 
333
333
  copyComponent(repoDir, parsed, 'hooks', hookName, targetDir);
334
- installed.push({ name: hookName, type: 'hooks', path: destPath });
334
+ installed.push({ name: hookName, type: 'hooks', path: `.claude/hooks/${hookName}` });
335
335
  console.error(` Installed hook: ${hookName}`);
336
336
  if (verbose) {
337
337
  console.error(` [verbose] Path: ${destPath}`);
@@ -357,7 +357,7 @@ export async function installPlugin(
357
357
  }
358
358
 
359
359
  copyComponent(repoDir, parsed, 'agents', agentName, targetDir);
360
- installed.push({ name: agentName, type: 'agents', path: destPath });
360
+ installed.push({ name: agentName, type: 'agents', path: `.claude/agents/${agentName}` });
361
361
  console.error(` Installed agent: ${agentName}`);
362
362
  if (verbose) {
363
363
  console.error(` [verbose] Path: ${destPath}`);
@@ -397,12 +397,7 @@ export function removePluginFiles(
397
397
  components: InstalledComponent[]
398
398
  ): void {
399
399
  for (const comp of components) {
400
- const compPath = path.join(
401
- targetDir,
402
- '.claude',
403
- comp.type,
404
- comp.name
405
- );
400
+ const compPath = path.join(targetDir, comp.path);
406
401
  if (fs.existsSync(compPath)) {
407
402
  fs.rmSync(compPath, { recursive: true });
408
403
  }
@@ -39,7 +39,7 @@ export interface PluginInstallOptions {
39
39
  export interface InstalledComponent {
40
40
  name: string;
41
41
  type: ComponentType;
42
- path: string;
42
+ path: string; // Relative to agentio.json
43
43
  }
44
44
 
45
45
  // Plugin entry in agentio.json