docs: document cli utility helpers

This commit is contained in:
Peter Steinberger
2026-06-04 10:55:01 -04:00
parent 8946648ace
commit cb5d43ba95
10 changed files with 18 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
// Shared gateway RPC command options and progress-wrapped CLI call helper.
import type { Command } from "commander";
import {
GATEWAY_CLIENT_MODES,
+2
View File
@@ -1,3 +1,4 @@
// Dev gateway bootstrap for a local loopback config and seeded dev workspace.
import fs from "node:fs";
import os from "node:os";
import path from "node:path";
@@ -15,6 +16,7 @@ const DEV_IDENTITY_EMOJI = "🤖";
const DEV_AGENT_WORKSPACE_SUFFIX = "dev";
async function loadDevTemplate(name: string, fallback: string): Promise<string> {
// Template frontmatter is metadata only; workspace files receive the body content.
try {
const templateDirs = await resolveWorkspaceTemplateSearchDirs();
for (const templateDir of templateDirs) {