Rename Hightower components to Trebuchet
- Rename npm packages: @shannon/api -> @trebuchet/api, @shannon/worker -> @trebuchet/worker, @keygraph/shannon -> @trebuchet/cli - Update CLI references from shannon/keygraph to trebuchet/trebuchet - Update Dockerfile and CLAUDE.md to reflect new package names - Update TypeScript imports in API to use @trebuchet/worker Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ COPY apps/worker/ ./apps/worker/
|
||||
COPY apps/api/ ./apps/api/
|
||||
|
||||
# Build worker first (API depends on it for types), then API
|
||||
RUN pnpm --filter @shannon/worker run build && pnpm --filter @shannon/api run build
|
||||
RUN pnpm --filter @trebuchet/worker run build && pnpm --filter @trebuchet/api run build
|
||||
|
||||
# Production-only deps
|
||||
RUN rm -rf node_modules apps/*/node_modules && pnpm install --frozen-lockfile --prod
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@shannon/api",
|
||||
"name": "@trebuchet/api",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
@@ -13,7 +13,7 @@
|
||||
"@hono/node-server": "^1.14.0",
|
||||
"@kubernetes/client-node": "^1.4.0",
|
||||
"@modelcontextprotocol/sdk": "^1.29.0",
|
||||
"@shannon/worker": "workspace:*",
|
||||
"@trebuchet/worker": "workspace:*",
|
||||
"@temporalio/client": "^1.11.0",
|
||||
"hono": "^4.7.0",
|
||||
"zod": "^4.3.6"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Uses @temporalio/client (not worker) since the API server only submits and queries workflows.
|
||||
*/
|
||||
|
||||
import type { PipelineProgress } from '@shannon/worker/pipeline';
|
||||
import type { PipelineProgress } from '@trebuchet/worker/pipeline';
|
||||
import { Client, Connection } from '@temporalio/client';
|
||||
|
||||
export interface TemporalClients {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Request/response types and Zod validation schemas for the scan API.
|
||||
*/
|
||||
|
||||
import type { AgentMetrics, PipelineSummary } from '@shannon/worker/pipeline';
|
||||
import type { AgentMetrics, PipelineSummary } from '@trebuchet/worker/pipeline';
|
||||
import { z } from 'zod';
|
||||
|
||||
// === Request Schemas ===
|
||||
|
||||
Reference in New Issue
Block a user