clawdock 0.2.5 → 0.2.7

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -47,7 +47,7 @@ async function apiRequest(method, endpoint, body, isForm) {
47
47
  return res.json();
48
48
  }
49
49
  var program = new Command();
50
- program.name("clawdock").description("ClawDock \u2014 the agent registry").version(PKG_VERSION, "-v, -V, --version");
50
+ program.name("clawdock").description("ClawDock \u2014 the agent registry").version(PKG_VERSION, "-V, --version");
51
51
  program.command("login").description("Authenticate with ClawDock").option("--api-key <key>", "API key").option("--registry <url>", "Registry URL").action(async (opts) => {
52
52
  const config = loadConfig();
53
53
  if (opts.apiKey) {
@@ -438,9 +438,10 @@ program.command("run <bundle>").description("Pull and run an agent locally").opt
438
438
  authProfiles[provider] = { type: "api-key", apiKey };
439
439
  fs.writeFileSync(authProfilesPath, JSON.stringify(authProfiles, null, 2));
440
440
  }
441
+ const introMessage = "Hello! I just pulled you from ClawDock. Introduce yourself.";
441
442
  const child = spawn(
442
443
  runtimeBin,
443
- ["agent", "--agent", agentName, "--prompt", "Hello! I just pulled you from ClawDock. Introduce yourself."],
444
+ ["agent", "--agent", agentName, "--local", "-m", introMessage],
444
445
  {
445
446
  stdio: "inherit",
446
447
  env: { ...process.env },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawdock",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "CLI for ClawDock — the agent registry",
5
5
  "bin": {
6
6
  "clawdock": "./dist/index.js"