@web42/cli 0.1.13 → 0.1.15

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.
@@ -24,6 +24,7 @@ function mimeFromExtension(ext) {
24
24
  export const pushCommand = new Command("push")
25
25
  .description("Push your agent package to the Web42 marketplace")
26
26
  .option("--force", "Skip hash comparison and always push")
27
+ .option("--force-avatar", "Explicitly upload avatar even if no other changes")
27
28
  .action(async (opts) => {
28
29
  const config = requireAuth();
29
30
  const cwd = process.cwd();
@@ -141,7 +142,7 @@ export const pushCommand = new Command("push")
141
142
  // -----------------------------------------------------------------------
142
143
  // Step 4: Compare local hash with last known local hash (unless --force)
143
144
  // -----------------------------------------------------------------------
144
- if (!opts.force && !isCreated && syncState?.last_local_hash) {
145
+ if (!opts.force && !opts.forceAvatar && !isCreated && syncState?.last_local_hash) {
145
146
  if (localHash === syncState.last_local_hash) {
146
147
  spinner.succeed(`${chalk.bold(`@${config.username}/${manifest.name}`)} has no local changes since last sync.`);
147
148
  return;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const CLI_VERSION = "0.1.13";
1
+ export declare const CLI_VERSION = "0.1.15";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLI_VERSION = "0.1.13";
1
+ export const CLI_VERSION = "0.1.15";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web42/cli",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "CLI for the Web42 Agent Marketplace - push, install, and remix OpenClaw agent packages",
5
5
  "type": "module",
6
6
  "bin": {