@agentvalet/register 0.3.4 → 0.3.5
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1079,7 +1079,7 @@ function collectScope(value, previous) {
|
|
|
1079
1079
|
return [...previous, value];
|
|
1080
1080
|
}
|
|
1081
1081
|
var program = new Command();
|
|
1082
|
-
program.name("agentvalet-register").description("Self-register an AI agent with AgentValet").version("0.
|
|
1082
|
+
program.name("agentvalet-register").description("Self-register an AI agent with AgentValet").version("0.3.5").option("--owner <uuid>", "Owner ID (or set AGENTVALET_OWNER env var)").option("--name <name>", "Agent name").option("--description <desc>", "Agent description").option("--scope <platform:scope>", "Requested scope, repeatable", collectScope, []).option("--api-url <url>", "AgentValet API base URL", "https://api.agentvalet.ai").option("--output <path>", "Path to write .env file", "./.env.agentvalet").option("--key-path <path>", "Path to write private key", "./agentvalet.key").option("--json", "Machine-readable JSON output").option("--no-wait", "Register only, do not wait for approval").option("--timeout <seconds>", "Approval wait timeout in seconds", "300").action(async (opts) => {
|
|
1083
1083
|
const isJson = !!opts.json;
|
|
1084
1084
|
let ownerId = opts.owner ?? process.env.AGENTVALET_OWNER ?? "";
|
|
1085
1085
|
let agentName = opts.name ?? "";
|