@web42/w42 0.1.2 → 0.1.3
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/serve.js +2 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/commands/serve.js
CHANGED
|
@@ -143,6 +143,7 @@ export const serveCommand = new Command("serve")
|
|
|
143
143
|
.option("--openclaw-agent <id>", "OpenClaw agent ID to target", "main")
|
|
144
144
|
.option("--client-id <id>", "Developer app client ID (or set W42_CLIENT_ID)")
|
|
145
145
|
.option("--client-secret <secret>", "Developer app client secret (or set W42_CLIENT_SECRET)")
|
|
146
|
+
.option("--visibility <vis>", "Marketplace visibility: public or private", "public")
|
|
146
147
|
.option("--verbose", "Enable verbose request/response logging")
|
|
147
148
|
.action(async (opts) => {
|
|
148
149
|
const verbose = opts.verbose ?? false;
|
|
@@ -280,7 +281,7 @@ export const serveCommand = new Command("serve")
|
|
|
280
281
|
Authorization: `Bearer ${token}`,
|
|
281
282
|
"Content-Type": "application/json",
|
|
282
283
|
},
|
|
283
|
-
body: JSON.stringify({ url: registrationUrl }),
|
|
284
|
+
body: JSON.stringify({ url: registrationUrl, visibility: opts.visibility }),
|
|
284
285
|
});
|
|
285
286
|
if (regRes.ok) {
|
|
286
287
|
const regData = (await regRes.json());
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.1.
|
|
1
|
+
export declare const CLI_VERSION = "0.1.3";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = "0.1.
|
|
1
|
+
export const CLI_VERSION = "0.1.3";
|