routstrd 0.2.15 → 0.2.16

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.
@@ -187,6 +187,7 @@ export interface AddClientOptions {
187
187
  openclaw?: boolean;
188
188
  piAgent?: boolean;
189
189
  claudeCode?: boolean;
190
+ hermes?: boolean;
190
191
  }
191
192
 
192
193
  export async function addClientAction(options: AddClientOptions): Promise<void> {
@@ -198,6 +199,7 @@ export async function addClientAction(options: AddClientOptions): Promise<void>
198
199
  if (options.openclaw) integrationKeys.push("openclaw");
199
200
  if (options.piAgent) integrationKeys.push("pi-agent");
200
201
  if (options.claudeCode) integrationKeys.push("claude-code");
202
+ if (options.hermes) integrationKeys.push("hermes");
201
203
 
202
204
  if (integrationKeys.length > 0) {
203
205
  for (const key of integrationKeys) {
@@ -233,9 +235,14 @@ export async function addClientAction(options: AddClientOptions): Promise<void>
233
235
  }
234
236
 
235
237
  if (!options.name) {
236
- console.error(
237
- "error: required option '-n, --name <name>' not specified",
238
- );
238
+ console.error("error: either provide a client name or specify an integration flag.\n");
239
+ console.error("Options:");
240
+ console.error(" -n, --name <name> Client name");
241
+ console.error(" --opencode Set up OpenCode integration");
242
+ console.error(" --openclaw Set up OpenClaw integration");
243
+ console.error(" --pi-agent Set up Pi Agent integration");
244
+ console.error(" --claude-code Set up Claude Code integration");
245
+ console.error(" --hermes Set up Hermes integration");
239
246
  process.exit(1);
240
247
  }
241
248
 
@@ -37,7 +37,7 @@ export function getDaemonBaseUrl(config: RoutstrdConfig): string {
37
37
 
38
38
  export async function callDaemon(
39
39
  path: string,
40
- options: { method?: "GET" | "POST" | "DELETE"; body?: object } = {},
40
+ options: { method?: "GET" | "POST" | "PATCH" | "DELETE"; body?: object } = {},
41
41
  ): Promise<CommandResponse> {
42
42
  const { method = "GET", body } = options;
43
43
  const config = await loadConfig();