allagents 0.7.1 → 0.7.2
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 +5 -5
- package/dist/index.js +8 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,9 +66,9 @@ allagents workspace init my-workspace --from owner/repo/path/to/template
|
|
|
66
66
|
# Add a marketplace (or let auto-registration handle it)
|
|
67
67
|
allagents plugin marketplace add anthropics/claude-plugins-official
|
|
68
68
|
|
|
69
|
-
#
|
|
70
|
-
allagents workspace plugin
|
|
71
|
-
allagents workspace plugin
|
|
69
|
+
# Install plugins to workspace
|
|
70
|
+
allagents workspace plugin install code-review@claude-plugins-official
|
|
71
|
+
allagents workspace plugin install my-plugin@someuser/their-repo
|
|
72
72
|
|
|
73
73
|
# Sync plugins to workspace
|
|
74
74
|
allagents workspace sync
|
|
@@ -113,8 +113,8 @@ allagents workspace sync [options]
|
|
|
113
113
|
# Show status of workspace and plugins
|
|
114
114
|
allagents workspace status
|
|
115
115
|
|
|
116
|
-
#
|
|
117
|
-
allagents workspace plugin
|
|
116
|
+
# Install a plugin to .allagents/workspace.yaml (auto-registers marketplace if needed)
|
|
117
|
+
allagents workspace plugin install <plugin@marketplace>
|
|
118
118
|
|
|
119
119
|
# Remove a plugin from .allagents/workspace.yaml
|
|
120
120
|
allagents workspace plugin remove <plugin>
|
package/dist/index.js
CHANGED
|
@@ -22176,7 +22176,7 @@ Clients (${result.clients.length}):`);
|
|
|
22176
22176
|
}
|
|
22177
22177
|
});
|
|
22178
22178
|
var pluginSubcommand = new Command("plugin").description("Manage plugins in .allagents/workspace.yaml");
|
|
22179
|
-
pluginSubcommand.command("
|
|
22179
|
+
pluginSubcommand.command("install <plugin>").description("Install plugin to .allagents/workspace.yaml (supports plugin@marketplace, GitHub URL, or local path)").action(async (plugin) => {
|
|
22180
22180
|
try {
|
|
22181
22181
|
const result = await addPlugin(plugin);
|
|
22182
22182
|
if (!result.success) {
|
|
@@ -22186,7 +22186,7 @@ pluginSubcommand.command("add <plugin>").description("Add plugin to .allagents/w
|
|
|
22186
22186
|
if (result.autoRegistered) {
|
|
22187
22187
|
console.log(`✓ Auto-registered marketplace: ${result.autoRegistered}`);
|
|
22188
22188
|
}
|
|
22189
|
-
console.log(`✓
|
|
22189
|
+
console.log(`✓ Installed plugin: ${plugin}`);
|
|
22190
22190
|
const syncOk = await runSyncAndPrint();
|
|
22191
22191
|
if (!syncOk) {
|
|
22192
22192
|
process.exit(1);
|
|
@@ -22199,14 +22199,14 @@ pluginSubcommand.command("add <plugin>").description("Add plugin to .allagents/w
|
|
|
22199
22199
|
throw error;
|
|
22200
22200
|
}
|
|
22201
22201
|
});
|
|
22202
|
-
pluginSubcommand.command("
|
|
22202
|
+
pluginSubcommand.command("uninstall <plugin>").alias("remove").description("Uninstall plugin from .allagents/workspace.yaml").action(async (plugin) => {
|
|
22203
22203
|
try {
|
|
22204
22204
|
const result = await removePlugin(plugin);
|
|
22205
22205
|
if (!result.success) {
|
|
22206
22206
|
console.error(`Error: ${result.error}`);
|
|
22207
22207
|
process.exit(1);
|
|
22208
22208
|
}
|
|
22209
|
-
console.log(`✓
|
|
22209
|
+
console.log(`✓ Uninstalled plugin: ${plugin}`);
|
|
22210
22210
|
const syncOk = await runSyncAndPrint();
|
|
22211
22211
|
if (!syncOk) {
|
|
22212
22212
|
process.exit(1);
|
|
@@ -22377,7 +22377,7 @@ pluginCommand.command("validate <path>").description("Validate plugin structure
|
|
|
22377
22377
|
console.log("(validation not yet implemented)");
|
|
22378
22378
|
});
|
|
22379
22379
|
|
|
22380
|
-
// src/cli/commands/
|
|
22380
|
+
// src/cli/commands/self.ts
|
|
22381
22381
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
22382
22382
|
import { dirname as dirname6, join as join12 } from "node:path";
|
|
22383
22383
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
@@ -22400,7 +22400,8 @@ function getCurrentVersion() {
|
|
|
22400
22400
|
return "unknown";
|
|
22401
22401
|
}
|
|
22402
22402
|
}
|
|
22403
|
-
var
|
|
22403
|
+
var selfCommand = new Command("self").description("Manage the allagents installation");
|
|
22404
|
+
selfCommand.command("update").description("Update allagents to the latest version").option("--npm", "Force update using npm").option("--bun", "Force update using bun").action(async (options2) => {
|
|
22404
22405
|
try {
|
|
22405
22406
|
let packageManager;
|
|
22406
22407
|
if (options2.npm && options2.bun) {
|
|
@@ -22456,5 +22457,5 @@ var program2 = new Command;
|
|
|
22456
22457
|
program2.name("allagents").description("CLI tool for managing multi-repo AI agent workspaces with plugin synchronization").version(packageJson.version);
|
|
22457
22458
|
program2.addCommand(workspaceCommand);
|
|
22458
22459
|
program2.addCommand(pluginCommand);
|
|
22459
|
-
program2.addCommand(
|
|
22460
|
+
program2.addCommand(selfCommand);
|
|
22460
22461
|
program2.parse();
|