@web42/cli 0.1.14 → 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.
- package/dist/commands/push.js +2 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/commands/push.js
CHANGED
|
@@ -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.
|
|
1
|
+
export declare const CLI_VERSION = "0.1.15";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = "0.1.
|
|
1
|
+
export const CLI_VERSION = "0.1.15";
|