mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-05-22 16:49:46 +02:00
181f24cfcc
Restructure into apps/worker, apps/cli, packages/mcp-server with Turborepo task orchestration, pnpm workspaces, Biome linting/formatting, and tsdown CLI bundling. Key changes: - src/ -> apps/worker/src/, cli/ -> apps/cli/, mcp-server/ -> packages/mcp-server/ - prompts/ and configs/ moved into apps/worker/ - npm replaced with pnpm, package-lock.json replaced with pnpm-lock.yaml - Dockerfile updated for pnpm-based builds - CLI logs command rewritten with chokidar for cross-platform reliability - Router health checking added for auto-detected router mode - Centralized path resolution via apps/worker/src/paths.ts
11 lines
247 B
TypeScript
11 lines
247 B
TypeScript
/**
|
|
* `shannon update` command — pull the worker image matching the current CLI version.
|
|
*/
|
|
|
|
import { pullImage } from '../docker.js';
|
|
|
|
export function update(version: string): void {
|
|
pullImage(version);
|
|
console.log('Update complete.');
|
|
}
|