This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM golang:1.23-alpine AS builder | |
| RUN apk add --no-cache git | |
| ENV GOTOOLCHAIN=auto | |
| WORKDIR /app | |
| RUN git clone https://github.com/tailscale/golink.git . | |
| RUN CGO_ENABLED=0 go build -o /golink ./cmd/golink | |
| FROM alpine:latest | |
| RUN apk add --no-cache ca-certificates tzdata | |
| COPY --from=builder /golink /golink |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Minimal reproducible example: Claude Agent SDK @filepath bug for --agents flag | |
| BUG SUMMARY: | |
| When custom agents are passed to ClaudeAgentOptions and the resulting command line | |
| exceeds 100K characters, the SDK writes agents to a temp file and passes `@filepath` | |
| to the CLI. However, the CLI doesn't support this syntax for --agents, causing | |
| custom agents to be silently ignored. |
OlderNewer