cmd

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 276 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func Version

func Version() string

Version is this build's version.

It is a function rather than the ldflags-patched variable it used to be. The variable now lives in pkg/version, because the CLI was the wrong owner: the executor agent has to report its build to the control plane and sits below cmd in the import graph, so it could not ask — and reported a frozen "1" instead. See pkg/version.

Release builds stamp it with

-ldflags "-X github.com/blechschmidt/cloop/pkg/version.Version=v1.2.3"

(scripts/build-release.sh). Patching cmd.Version has no effect any more.

Types

type LedgerFinding

type LedgerFinding struct {
	TaskID      int           `json:"task_id"`
	Title       string        `json:"title"`
	Status      pm.TaskStatus `json:"status"`
	Class       string        `json:"abort_class"`
	Reason      string        `json:"reason"`
	Evidence    string        `json:"evidence"`
	Cleared     bool          `json:"cleared"`
	ClearedBy   string        `json:"cleared_by,omitempty"`
	ClearedNote string        `json:"cleared_note,omitempty"`
	Archived    bool          `json:"archived"`
	Reopened    bool          `json:"reopened"`
}

LedgerFinding is one task recorded as done whose stored summary is a provider or harness refusal rather than any work.

type ScopeAnalysis

type ScopeAnalysis struct {
	TaskCount      int      `json:"task_count"`
	Complexity     string   `json:"complexity"`      // low, medium, high, very_high
	EstimatedSteps int      `json:"estimated_steps"` // rough total AI calls
	Risks          []string `json:"risks"`
	Prerequisites  []string `json:"prerequisites"`
	Assumptions    []string `json:"assumptions"`
	Summary        string   `json:"summary"`
}

ScopeAnalysis holds the structured result of an AI scope analysis.

type Suggestion

type Suggestion struct {
	TaskID int    `json:"task_id"`
	From   string `json:"from"`
	To     string `json:"to"`
	Reason string `json:"reason"`
}

Suggestion is a single AI-proposed reassignment.

type WorkspaceStatusEntry

type WorkspaceStatusEntry struct {
	Name         string  `json:"name"`
	Path         string  `json:"path"`
	Active       bool    `json:"active"`
	Goal         string  `json:"goal"`
	Status       string  `json:"status"`
	TotalTasks   int     `json:"total_tasks"`
	DoneTasks    int     `json:"done_tasks"`
	InProgress   int     `json:"in_progress_tasks"`
	FailedTasks  int     `json:"failed_tasks"`
	PendingTasks int     `json:"pending_tasks"`
	Velocity     float64 `json:"velocity_tasks_per_day"` // tasks completed per day
	LastActivity string  `json:"last_activity"`
	Error        string  `json:"error,omitempty"`
}

WorkspaceStatusEntry holds the aggregate dashboard data for one workspace.

Source Files

Directories

Path Synopsis
Command cloop-forward is the device forwarder as a standalone binary: it dials a cloop hub and bridges exactly one configured USB device or network interface, and does nothing else (Task 20429).
Command cloop-forward is the device forwarder as a standalone binary: it dials a cloop hub and bridges exactly one configured USB device or network interface, and does nothing else (Task 20429).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL