tool-ui: route HITL imports through chat-messages slice.

This commit is contained in:
CREDO23 2026-05-09 18:31:52 +02:00
parent 97a7626179
commit a32d089199
27 changed files with 130 additions and 546 deletions

View file

@ -6,9 +6,8 @@ import { useCallback, useEffect, useState } from "react";
import { TextShimmerLoader } from "@/components/prompt-kit/loader";
import { Button } from "@/components/ui/button";
import { Checkbox } from "@/components/ui/checkbox";
import { useHitlPhase } from "@/hooks/use-hitl-phase";
import type { HitlDecision, InterruptResult } from "@/lib/hitl";
import { isInterruptResult, useHitlDecision } from "@/lib/hitl";
import type { HitlDecision, InterruptResult } from "@/features/chat-messages/hitl";
import { isInterruptResult, useHitlDecision, useHitlPhase } from "@/features/chat-messages/hitl";
type LinearDeleteIssueContext = {
workspace?: { id: number; organization_name: string };