Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.weft
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ COPY weft/ ./weft/

# Install dependencies and build
RUN pnpm install --frozen-lockfile || pnpm install
RUN pnpm --filter @loom/shared build
RUN pnpm --filter @loom/weft build
RUN pnpm --filter @loominal/shared build
RUN pnpm --filter @loominal/weft build

# Production image
FROM node:20-alpine AS runner
Expand Down
3 changes: 3 additions & 0 deletions shared/src/types/work-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ export interface WorkSubmitRequest {
*/
export interface WorkSubmitResponse {
/** Generated work item ID */
id: string;

/** @deprecated Use `id` instead. Provided for backward compatibility. */
workItemId: string;

/** Resolved agent type based on routing */
Expand Down
3 changes: 2 additions & 1 deletion weft/src/coordinator/coordinator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ export class ExtendedCoordinator extends EventEmitter {
}

return {
workItemId,
id: workItemId,
workItemId, // Deprecated: for backward compatibility
targetAgentType,
spinUpTriggered,
estimatedWaitSeconds,
Expand Down
Loading