Skip to content

DROD CLI : failed to capture pre-task state: tool_use_id is required #930

@SvenMeyer

Description

@SvenMeyer

What happened?

I am getting quite some error with factory.ai DROID CLI now.

$ entire --version
Entire CLI 0.5.4 (746a74cd)
Go version: go1.26.2
OS/Arch: linux/amd64

Steps to reproduce

No response

Entire CLI version

0.5.4

OS and architecture

ArchLinux / Manjaro KDE

Agent

DOID CLI

Terminal

KDE Konsole

Logs / debug output

HOOKS  PreToolUse → Task
 └─ Script: entire hooks factoryai-droid pre-tool-use
 └─ Result : Exit code: 1
   stderr:
   failed to capture pre-task state: tool_use_id is required

 HOOKS  PreToolUse → Task
 └─ Script: entire hooks factoryai-droid pre-tool-use
 └─ Result : Exit code: 1
   stderr:
   failed to capture pre-task state: tool_use_id is required

   can you write the plan to `docs-dev/tasks/v0.2.2-openfort-implementation-with-onboarding.md` and    
   mark `docs-dev/tasks/v0.2.1-openfort-implementation-part-2.md` as superseeded                       
                                                                                                       
   then commit and push it all                                                                         

 HOOKS  PostToolUse → Task
 └─ Script: entire hooks factoryai-droid post-tool-use
 └─ Result : Exit code: 1
   stderr:
   failed to parse hook event: failed to parse hook input: json: cannot unmarshal string into Go struct
    field postToolHookInputRaw.tool_response of type struct { AgentID string "json:\"agentId\"" }

Additional context

I had no problems with v0.5.3 afaik

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions