@swarmclawai/swarmclaw 0.3.0 → 0.3.1
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/package.json +1 -1
- package/src/cli/index.js +1 -0
- package/src/cli/index.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swarmclawai/swarmclaw",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Self-hosted AI agent orchestration dashboard — manage LLM providers, orchestrate agent swarms, schedule tasks, and bridge agents to chat platforms.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/src/cli/index.js
CHANGED
|
@@ -335,6 +335,7 @@ const COMMAND_GROUPS = [
|
|
|
335
335
|
commands: [
|
|
336
336
|
cmd('check-provider', 'POST', '/setup/check-provider', 'Validate provider credentials/endpoint', { expectsJsonBody: true }),
|
|
337
337
|
cmd('doctor', 'GET', '/setup/doctor', 'Run local setup diagnostics'),
|
|
338
|
+
cmd('openclaw-device', 'GET', '/setup/openclaw-device', 'Show the local OpenClaw device ID'),
|
|
338
339
|
],
|
|
339
340
|
},
|
|
340
341
|
{
|
package/src/cli/index.ts
CHANGED
|
@@ -901,6 +901,13 @@ export function buildProgram(): Command {
|
|
|
901
901
|
})
|
|
902
902
|
})
|
|
903
903
|
|
|
904
|
+
setup
|
|
905
|
+
.command('openclaw-device')
|
|
906
|
+
.description('Show the local OpenClaw device ID')
|
|
907
|
+
.action(async function () {
|
|
908
|
+
await runWithHandler(this as Command, (ctx) => apiRequest(ctx, 'GET', '/setup/openclaw-device'))
|
|
909
|
+
})
|
|
910
|
+
|
|
904
911
|
const connectors = program.command('connectors').description('Manage connectors')
|
|
905
912
|
|
|
906
913
|
connectors
|