README

vectie/moontown/adapters/moonclaw does not have a README file

#
AssignTaskRequest

pub struct AssignTaskRequest {
assignment :
AssignmentPlan

workspace_root : String
context_summary : String
skills : Array[String]
} derive(Eq,
Debug
)

#
AssignTaskRequest::new

fn AssignTaskRequest::new(assignment~ :
AssignmentPlan
, workspace_root~ : String, context_summary~ : String, skills? : Array[String]) -> AssignTaskRequest

#
EmbeddedHandoffKind

pub enum EmbeddedHandoffKind {
StrategicToDomain
DomainToExecution
ExecutionToDomain
DomainToStrategic
} derive(Eq,
Debug
)

#
EmbeddedMemoryScope

pub enum EmbeddedMemoryScope {
Step
Workspace
Domain
Global
} derive(Eq,
Debug
)

#
EmbeddedMoonclawRuntime

pub struct EmbeddedMoonclawRuntime {
runtime_id : String
display_name : String
role_id : String
planning_layer : EmbeddedPlanningLayer
runtime_mode : EmbeddedRuntimeMode
tool_access : EmbeddedToolAccess
memory_scope : EmbeddedMemoryScope
allow_delegate : Bool
allow_workspace_write : Bool
allow_execution_tools : Bool
visible_tools : Array[String]
skills : Array[String]
output_contract : String?
authority_scope : String
} derive(Eq,
Debug
)

#
EmbeddedMoonclawRuntime::new

fn EmbeddedMoonclawRuntime::new(runtime_id~ : String, display_name~ : String, role_id~ : String, planning_layer? : EmbeddedPlanningLayer, runtime_mode? : EmbeddedRuntimeMode, tool_access? : EmbeddedToolAccess, memory_scope? : EmbeddedMemoryScope, allow_delegate? : Bool, allow_workspace_write? : Bool, allow_execution_tools? : Bool, visible_tools? : Array[String], skills? : Array[String], output_contract? : String?, authority_scope~ : String) -> EmbeddedMoonclawRuntime

#
EmbeddedPlanningLayer

pub enum EmbeddedPlanningLayer {
Strategic
Domain
Execution
} derive(Eq,
Debug
)

#
EmbeddedRuntimeHandoff

pub struct EmbeddedRuntimeHandoff {
kind : EmbeddedHandoffKind
objective : String
scope_summary : String
constraints : Array[String]
output_contract : String?
target_role_id : String
} derive(Eq,
Debug
)

#
EmbeddedRuntimeHandoff::new

fn EmbeddedRuntimeHandoff::new(kind~ : EmbeddedHandoffKind, objective~ : String, scope_summary~ : String, constraints? : Array[String], output_contract? : String?, target_role_id~ : String) -> EmbeddedRuntimeHandoff

#
EmbeddedRuntimeMode

pub enum EmbeddedRuntimeMode {
PlannerOnly
Executor
} derive(Eq,
Debug
)

#
EmbeddedToolAccess

pub enum EmbeddedToolAccess {
Disabled
Limited
Full
} derive(Eq,
Debug
)

#
ExternalProposalPacket

pub struct ExternalProposalPacket {
packet_id : String
title : String
summary : String
request_text : String
profile : String
output_contract : String
context_pages : Array[String]
skill_paths : Array[String]
notes : Array[String]
tags : Array[String]
metadata : Json
} derive(Eq, ToJson,
Debug
,
FromJson
)

#
ExternalProposalPacket::new

fn ExternalProposalPacket::new(packet_id~ : String, title~ : String, summary~ : String, request_text~ : String, profile~ : String, output_contract~ : String, context_pages? : Array[String], skill_paths? : Array[String], notes? : Array[String], tags? : Array[String], metadata? : Json) -> ExternalProposalPacket

#
PollWorkerResponse

pub struct PollWorkerResponse {
worker_id : String
status :
WorkerStatus

detail : String
} derive(Eq,
Debug
)

#
PollWorkerResponse::new

fn PollWorkerResponse::new(worker_id~ : String, status~ :
WorkerStatus
, detail~ : String) -> PollWorkerResponse

#
ProposalImportReceipt

pub struct ProposalImportReceipt {
packet_id : String
packet_path : String
proposal_id : String
run_id : String?
status :
TaskExecutionStatus

command : String
summary : String
} derive(Eq, ToJson,
Debug
,
FromJson
)

#
ProposalPollResponse

pub struct ProposalPollResponse {
task_id : String
run_id : String
status :
TaskExecutionStatus

summary : String
memory_candidates : Array[String]
result_decision : String
requires_review : Bool
notify_town : Bool
} derive(Eq, ToJson,
Debug
,
FromJson
)

#
SpawnWorkerRequest

pub struct SpawnWorkerRequest {
worker :
WorkerRef

} derive(Eq,
Debug
)

#
TaskResultResponse

pub struct TaskResultResponse {
task_id : String
status :
TownTaskStatus

summary : String
memory_candidates : Array[String]
} derive(Eq,
Debug
)

#
TaskResultResponse::new

fn TaskResultResponse::new(task_id~ : String, status~ :
TownTaskStatus
, summary~ : String, memory_candidates? : Array[String]) -> TaskResultResponse

#
build_import_command

fn build_import_command(packet_path : String, moonclaw_root? : String, home? : String, cwd? : String, confirm? : Bool, run_inline? : Bool) -> String

#
build_run_command

fn build_run_command(run_id : String, moonclaw_root? : String, home? : String, cwd? : String) -> String

#
confirm_imported_run

fn confirm_imported_run(receipt : ProposalImportReceipt) -> ProposalImportReceipt

#
default_moonclaw_home

fn default_moonclaw_home() -> String

#
default_packet_directory

fn default_packet_directory() -> String

#
detached_import_receipt

async fn detached_import_receipt(packet_id : String, packet_path : String) -> ProposalImportReceipt?

#
detached_import_receipt_path

fn detached_import_receipt_path(packet_path : String) -> String

#
embedded_handoff_examples

fn embedded_handoff_examples() -> Array[EmbeddedRuntimeHandoff]

#
embedded_runtime_policy_examples

fn embedded_runtime_policy_examples() -> Array[EmbeddedMoonclawRuntime]

#
import_packet

async fn import_packet(packet : ExternalProposalPacket, packet_path : String, moonclaw_root? : String, home? : String, cwd? : String, confirm? : Bool, run_inline? : Bool) -> ProposalImportReceipt

#
import_packet_detached

async fn import_packet_detached(packet : ExternalProposalPacket, packet_path : String, moonclaw_root? : String, home? : String, cwd? : String, confirm? : Bool, run_inline? : Bool) -> ProposalImportReceipt

#
keeper_profile_for_entry_task

#
keeper_profile_for_task

fn keeper_profile_for_task(task :
BookTask
) -> String

#
keeper_runtime

#
load_packet_file

async fn load_packet_file(path : String) -> ExternalProposalPacket?

#
mayor_runtime

fn mayor_runtime() -> EmbeddedMoonclawRuntime

#
mayor_to_keeper_handoff

fn mayor_to_keeper_handoff(book_id : String, objective : String, scope_summary : String, constraints? : Array[String]) -> EmbeddedRuntimeHandoff

#
packet_file_path

fn packet_file_path(packet_dir : String, packet_id : String) -> String

#
poll_run

async fn poll_run(task_id : String, run_id : String, home? : String, cwd? : String, detect_orphan? : Bool) -> ProposalPollResponse

#
proposal_packet_from_bundle

fn proposal_packet_from_bundle(bundle :
WorkerContextBundle
, title : String, summary : String, profile : String, packet_id? : String?, task? :
BookTask
?, entry? :
BookCatalogEntry
?, notes? : Array[String], tags? : Array[String]) -> ExternalProposalPacket

#
run_confirmed_run

async fn run_confirmed_run(run_id : String, moonclaw_root? : String, home? : String, cwd? : String) -> String

#
run_process_alive

async fn run_process_alive(run_id : String) -> Bool

#
run_workspace_dir

async fn run_workspace_dir(run_id : String, home? : String, cwd? : String) -> String?

#
save_packet_file

async fn save_packet_file(path : String, packet : ExternalProposalPacket) -> Unit

#
timed_out_poll_response

fn timed_out_poll_response(task_id : String, run_id : String, summary : String) -> ProposalPollResponse

#
worker_runtime