Skip to content

Instantly share code, notes, and snippets.

View goldmar's full-sized avatar

Mark goldmar

View GitHub Profile
@goldmar
goldmar / deploy-code-agent.sh
Created April 1, 2026 19:21
openclaw-code-agent deploy script — builds and hot-swaps the plugin bundle into the running OpenClaw gateway
#!/usr/bin/env bash
# deploy-code-agent.sh — Build and deploy openclaw-code-agent to the running gateway
# Usage: bin/deploy-code-agent.sh [--restart]
# Lives in workspace/bin so it's outside the plugin repo.
set -euo pipefail
PLUGIN_SRC="$HOME/workspace/openclaw-code-agent"
PLUGIN_DEST="$HOME/.openclaw/extensions/openclaw-code-agent"
RESTART=false
@goldmar
goldmar / openclaw-code-agent-comparison.md
Last active March 12, 2026 02:31
openclaw-code-agent vs built-in ACP: full coding agent orchestration for OpenClaw

openclaw-code-agent: Claude Code orchestration for OpenClaw

The dedicated OpenClaw plugin for Claude Code — more powerful than the built-in ACP integration. https://github.com/goldmar/openclaw-code-agent (dropping open source soon)


Built-in ACP vs. openclaw-code-agent

| Feature | Built-in ACP | openclaw-code-agent |

@goldmar
goldmar / Elasticsearch Problem
Last active August 29, 2015 14:14
Elasticsearch IllegalArgumentException[TokenStream expanded to 257 finite strings. Only <= 256 finite strings are supported]
# Remove old data
curl -XDELETE "http://localhost:9200/testindex"
# Create index with mapping
curl -XPOST "http://localhost:9200/testindex/" -d '
{
"mappings" : {
"testtype" : {
"properties" : {
"available_for_client" : {