Skip to content

Rename 'group' to 'agent' across the API (openclaw alignment) #36

Closed

Description

@melvincarvalho

nanoclaw's "group" (a WhatsApp artifact) names jsclaw's core unit; openclaw calls the same concept an agent, and since jsclaw already adopts openclaw's wire shape, identity files, skills, and bindings, the terminology should match too.

Full, clean, breaking rename — no back-compat aliases (v0.0.x, no users):

  • wire: chat.send {groupFolder} → {agentId}, tasks.list, memory.* params likewise
  • container contract: ContainerInput.groupFolder → agentId, JSCLAW_GROUP_FOLDER → JSCLAW_AGENT_ID, mount /workspace/group → /workspace/agent
  • config: groupsDir → agentsDir, JSCLAW_GROUPS_DIR → JSCLAW_AGENTS_DIR, on-disk groups/ → agents/
  • types: GroupConfig → AgentConfig; src/group-queue.js → src/agent-queue.js
  • webchat label, CLI help, README, examples, tests

Companion change required in jsclaw/agent-micro (same contract).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions