doer-agent 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +153 -0
- package/dist/agent.js +1380 -0
- package/dist/apply-patch.js +260 -0
- package/dist/cli.js +2 -0
- package/dist/codex-cli.js +66 -0
- package/dist/playwright-mcp-call-cli.js +2 -0
- package/dist/playwright-mcp-call.js +103 -0
- package/dist/playwright-mcp-daemon.js +175 -0
- package/package.json +39 -0
- package/runtime/bin/apply_patch +5 -0
- package/runtime/bin/doer-mcp-proxy +39 -0
- package/runtime/bin/git-askpass.sh +6 -0
- package/runtime/bin/playwright-mcp-proxy-launcher.sh +15 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
set -eu
|
|
3
|
+
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
4
|
+
if [ -z "${DOER_MCP_SOCKET:-}" ]; then
|
|
5
|
+
if [ -n "${DOER_AGENT_STATE_DIR:-}" ]; then
|
|
6
|
+
DOER_MCP_SOCKET="$DOER_AGENT_STATE_DIR/playwright-mcp-daemon/playwright-mcp.sock"
|
|
7
|
+
elif [ -n "${HOME:-}" ]; then
|
|
8
|
+
DOER_MCP_SOCKET="$HOME/.doer-agent/playwright-mcp-daemon/playwright-mcp.sock"
|
|
9
|
+
else
|
|
10
|
+
echo "playwright-mcp-proxy-launcher.sh: DOER_MCP_SOCKET is not set and neither DOER_AGENT_STATE_DIR nor HOME is available" >&2
|
|
11
|
+
exit 1
|
|
12
|
+
fi
|
|
13
|
+
fi
|
|
14
|
+
export DOER_MCP_SOCKET
|
|
15
|
+
exec "$SCRIPT_DIR/doer-mcp-proxy" "$@"
|