on main help sign in
Merge branch 'charmbracelet:main' into esc_permission
000c8d8bbrodriges
.github/cla-signatures.json+16
@@ -183,6 +183,22 @@
183 "created_at": "2025-08-01T22:18:28Z",
183 "created_at": "2025-08-01T22:18:28Z",
184 "repoId": 987670088,
184 "repoId": 987670088,
185 "pullRequestNo": 480
185 "pullRequestNo": 480
186+ },
187+ {
188+ "name": "yumosx",
189+ "id": 141902143,
190+ "comment_id": 3146472558,
191+ "created_at": "2025-08-02T12:24:29Z",
192+ "repoId": 987670088,
193+ "pullRequestNo": 504
194+ },
195+ {
196+ "name": "bold84",
197+ "id": 21118257,
198+ "comment_id": 3146962342,
199+ "created_at": "2025-08-03T04:07:16Z",
200+ "repoId": 987670088,
201+ "pullRequestNo": 519
186 }
202 }
187 ]
203 ]
188}
204}
.github/labeler.yml+4
@@ -1,3 +1,5 @@
1+"area: ci":
2+ - "/^ci: /i"
1"area: diff":
3"area: diff":
2 - "/diff/i"
4 - "/diff/i"
3"area: images":
5"area: images":
@@ -40,3 +42,5 @@
40 - "/(openai|gpt)/i"
42 - "/(openai|gpt)/i"
41"provider: openrouter":
43"provider: openrouter":
42 - "/openrouter/i"
44 - "/openrouter/i"
45+"provider: qwen":
46+ - "/qwen/i"
.github/workflows/cla.yml+1−1
@@ -29,7 +29,7 @@ jobs:
29 path-to-signatures: ".github/cla-signatures.json"
29 path-to-signatures: ".github/cla-signatures.json"
30 path-to-document: "https://github.com/charmbracelet/crush/blob/main/CLA.md"
30 path-to-document: "https://github.com/charmbracelet/crush/blob/main/CLA.md"
31 branch: "main"
31 branch: "main"
32− allowlist: dependabot[bot]
32+ allowlist: charmcli,charmcrush,dependabot[bot]
33 custom-pr-sign-comment: "I have read the Contributor License Agreement (CLA) and hereby sign the CLA."
33 custom-pr-sign-comment: "I have read the Contributor License Agreement (CLA) and hereby sign the CLA."
34 custom-notsigned-precomment: "Thank you for your submission. We really appreciate it! Like many open-source projects, we ask that you sign our [Contributor License Agreement](https://github.com/charmbracelet/crush/blob/main/CLA.md) before we can accept your contribution. You can sign the CLA by just posting a Pull Request comment same as the below format."
34 custom-notsigned-precomment: "Thank you for your submission. We really appreciate it! Like many open-source projects, we ask that you sign our [Contributor License Agreement](https://github.com/charmbracelet/crush/blob/main/CLA.md) before we can accept your contribution. You can sign the CLA by just posting a Pull Request comment same as the below format."
35 lock-pullrequest-aftermerge: false
35 lock-pullrequest-aftermerge: false
.github/workflows/issue-labeler.yml+1−1
@@ -3,7 +3,7 @@ name: Issue Labeler
3on:
3on:
4 issues:
4 issues:
5 types: [opened]
5 types: [opened]
6− pull_request:
6+ pull_request_target:
7 types: [opened]
7 types: [opened]
8 workflow_dispatch:
8 workflow_dispatch:
9 inputs:
9 inputs:
internal/log/http.go+3
@@ -79,6 +79,9 @@ func (h *HTTPRoundTripLogger) RoundTrip(req *http.Request) (*http.Response, erro
79}
79}
80
80
81func bodyToString(body io.ReadCloser) string {
81func bodyToString(body io.ReadCloser) string {
82+ if body == nil {
83+ return ""
84+ }
82 src, err := io.ReadAll(body)
85 src, err := io.ReadAll(body)
83 if err != nil {
86 if err != nil {
84 slog.Error("Failed to read body", "error", err)
87 slog.Error("Failed to read body", "error", err)