Skip to content

Commit 8d952b1

Browse files
committed
Merge remote-tracking branch 'origin/main' into local-models-candle
* origin/main: docs: remove ALPHA_FEATURES flag from documentation (#7315) docs: escape variable syntax in recipes (#7314) docs: update OTel environment variable and config guides (#7221) docs: system proxy settings (#7311) docs: add Summon extension tutorial and update Skills references (#7310) docs: agent session id (#7289) fix(gemini-cli): restore streaming lost in #7247 (#7291) Update more instructions (#7305) feat: add Moonshot and Kimi Code declarative providers (#7304) fix(cli): handle Reasoning content and fix streaming thinking display (#7296) feat: add GOOSE_SUBAGENT_MODEL and GOOSE_SUBAGENT_PROVIDER config options (#7277) fix(openai): support "reasoning" field alias in streaming deltas (#7294) fix(ui): revert app-driven iframe width and send containerDimensions per ext-apps spec (#7300) New OpenAI event (#7301) ci: add fork guards to scheduled workflows (#7292)
2 parents 235f7d4 + e088577 commit 8d952b1

File tree

33 files changed

+664
-364
lines changed

33 files changed

+664
-364
lines changed

.github/workflows/cargo-deny.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
jobs:
1919
deny:
2020
runs-on: ubuntu-latest
21+
if: github.repository == 'block/goose'
2122
permissions:
2223
contents: read
2324
steps:

.github/workflows/minor-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212
jobs:
1313
release:
14+
if: github.repository == 'block/goose'
1415
uses: ./.github/workflows/create-release-pr.yaml
1516
with:
1617
bump_type: "minor"

.github/workflows/pr-comment-bundle-intel.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,25 @@ jobs:
9191
body: |
9292
### macOS Intel Desktop App (x64)
9393
94-
[💻 Download macOS Desktop App (Intel x64, signed)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-x64.zip)
94+
[💻 Download macOS Desktop App (Intel x64, unsigned)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-x64.zip)
9595
9696
**Instructions:**
97-
After downloading, unzip the file and drag the goose.app to your Applications folder. The app is signed and notarized for macOS.
98-
99-
This link is provided by nightly.link and will work even if you're not logged into GitHub.
97+
98+
The easiest way is to just run the following script:
99+
100+
`./scripts/pre-release.sh`
101+
102+
script which will download the latest release (or you can specify the release you need), does the
103+
unzip, xattr to get it out of quarantine and signs it.
104+
105+
If you need to do this manually:
106+
107+
* Download the file
108+
* Unzip
109+
* run `xattr -r -d com.apple.quarantine '/path/to/Goose.app'`
110+
* optionally run `codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'`
111+
* start the app
112+
113+
The signing step is only needed if you do something that uses mac entitlements like speech to text
114+
115+
This link is provided by nightly.link and will work even if you're not logged into GitHub.

.github/workflows/rebuild-skills-marketplace.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ concurrency:
2323
jobs:
2424
rebuild-docs:
2525
runs-on: ubuntu-latest
26+
if: github.repository == 'block/goose'
2627
permissions:
2728
contents: write
2829

.github/workflows/release-branches.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,20 @@ jobs:
2727
[📱 Download macOS Desktop App (arm64, unsigned)](https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/Goose-darwin-arm64.zip)
2828
2929
**Instructions:**
30-
After downloading, unzip the file and drag the goose.app to a location you prefer. The app is unsigned, so to run it run `xattr -r -d com.apple.quarantine '/path/to/goose.app'` and then open the app
31-
32-
**To test speech-to-text**, you also need to codesign the app with the microphone entitlement:
33-
```
34-
codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'
35-
```
30+
31+
The easiest way is to just run the following script:
32+
33+
`./scripts/pre-release.sh`
34+
35+
script which will download the latest release (or you can specify the release you need), does the
36+
unzip, xattr to get it out of quarantine and signs it.
37+
38+
If you need to do this manually:
39+
40+
* Download the file
41+
* Unzip
42+
* run `xattr -r -d com.apple.quarantine '/path/to/Goose.app'`
43+
* optionally run `codesign --force --deep --sign - --entitlements ui/desktop/entitlements.plist '/path/to/Goose.app'`
44+
* start the app
45+
46+
The signing step is only needed if you do something that uses mac entitlements like speech to text

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
name: Scorecard analysis
2323
runs-on: ubuntu-latest
2424
# `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
25-
if: github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request'
25+
if: github.repository == 'block/goose' && (github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request')
2626
permissions:
2727
# Needed to upload the results to code-scanning dashboard.
2828
security-events: write

.github/workflows/stale.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
stale:
2525
name: 'Mark and Close Stale PRs'
2626
runs-on: ubuntu-latest
27+
if: github.repository == 'block/goose'
2728

2829
steps:
2930
# Use the official stale action from GitHub

.github/workflows/update-hacktoberfest-leaderboard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
update-leaderboard:
1111
runs-on: ubuntu-latest
12+
if: github.repository == 'block/goose'
1213
permissions:
1314
contents: read
1415
pull-requests: read

.github/workflows/update-health-dashboard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
update-dashboard:
2424
name: 'Update Health Dashboard'
2525
runs-on: ubuntu-latest
26+
if: github.repository == 'block/goose'
2627

2728
steps:
2829
- name: 'Download previous metrics'

crates/goose-cli/src/session/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,7 @@ impl CliSession {
967967
let mut progress_bars = output::McpSpinners::new();
968968
let cancel_token_clone = cancel_token.clone();
969969
let mut markdown_buffer = streaming_buffer::MarkdownBuffer::new();
970+
let mut thinking_header_shown = false;
970971

971972
use futures::StreamExt;
972973
loop {
@@ -1039,7 +1040,7 @@ impl CliSession {
10391040
if is_stream_json_mode {
10401041
emit_stream_event(&StreamEvent::Message { message: message.clone() });
10411042
} else if !is_json_mode {
1042-
output::render_message_streaming(&message, &mut markdown_buffer, self.debug);
1043+
output::render_message_streaming(&message, &mut markdown_buffer, &mut thinking_header_shown, self.debug);
10431044
}
10441045
}
10451046
}

0 commit comments

Comments
 (0)