Skip to content

Commit a7135fd

Browse files
committed
Merge branch 'main' into cli-scroll-ux-improvements
2 parents 9409c30 + f5d52be commit a7135fd

File tree

23 files changed

+1749
-961
lines changed

23 files changed

+1749
-961
lines changed

.agents/base2/alloy/base2-alloy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createBase2 } from '../base2'
22
import type { SecretAgentDefinition } from '../../types/secret-agent-definition'
33

4-
const base2 = createBase2('fast')
4+
const base2 = createBase2('default')
55
const definition: SecretAgentDefinition = {
66
...base2,
77
id: 'base2-alloy',

.agents/base2/alloy/base2-gpt-5-single-step.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createBase2 } from '../base2'
22
import type { SecretAgentDefinition } from '../../types/secret-agent-definition'
33

44
const definition: SecretAgentDefinition = {
5-
...createBase2('fast'),
5+
...createBase2('default'),
66
id: 'base2-gpt-5-single-step',
77
model: 'openai/gpt-5',
88
reasoningOptions: {

.agents/base2/alloy2/base2-alloy2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createBase2 } from '../base2'
22
import type { SecretAgentDefinition } from '../../types/secret-agent-definition'
33
import { ToolCall } from '../../types/agent-definition'
44

5-
const base2 = createBase2('fast')
5+
const base2 = createBase2('default')
66
const definition: SecretAgentDefinition = {
77
...base2,
88
id: 'base2-alloy2',

.agents/base2/alloy2/base2-plan-step.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createBase2 } from '../base2'
22
import type { SecretAgentDefinition } from '../../types/secret-agent-definition'
33

4-
const base2 = createBase2('fast')
4+
const base2 = createBase2('default')
55
const definition: SecretAgentDefinition = {
66
...base2,
77
id: 'base2-plan-step',

.agents/base2/base2-plan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createBase2 } from './base2'
22

33
const definition = {
4-
...createBase2('fast', { planOnly: true }),
4+
...createBase2('default', { planOnly: true }),
55
id: 'base2-plan',
66
displayName: 'Buffy the Plan-Only Orchestrator',
77
}

.agents/base2/base2-read-moar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createBase2 } from './base2'
33
import { type SecretAgentDefinition } from '../types/secret-agent-definition'
44

55
const definition: SecretAgentDefinition = {
6-
...createBase2('fast'),
6+
...createBase2('default'),
77
id: 'base2-read-moar',
88
displayName: 'Buffy Needs Moar Files',
99

.agents/base2/base2.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function buildImplementationStepPrompt({
252252
`Keep working until the user's request is completely satisfied${!hasNoValidation ? ' and validated' : ''}, or until you require more information from the user.`,
253253
`After completing the user request, summarize your changes in a sentence or a few short bullet points.${isSonnet ? " Don't create any summary markdown files or example documentation files, unless asked by the user." : ''}. Don't repeat yourself.`,
254254
isGpt5 &&
255-
`IMPORTANT: if you are completely done with the user's request or require more information from the user, you must call the task_completed tool to end your turn.`,
255+
`IMPORTANT: You should include at least one tool call ("<codebuff_tool_call>") per message response. If you are completely done with the user's request or require more information from the user, you must call the task_completed tool to end your turn.`,
256256
).join('\n')
257257
}
258258

@@ -297,8 +297,8 @@ For example, here is a nice short question, where the options are helpfully writ
297297
Questions:
298298
299299
1. Do you want to:
300-
a) (DEFAULT) Keep Express and integrate Bun WebSockets
301-
b) Migrate the entire HTTP server to Bun.serve()
300+
a) (DEFAULT) Keep Express and integrate Bun WebSockets
301+
b) Migrate the entire HTTP server to Bun.serve()
302302
303303
Try to have as few questions as possible (even none), and focus on the most important decisions or assumptions that it would be helpful to clarify with the user.
304304
You should also let them know what you plan to do by default, and let them know that they can choose a different option if they want to.

.agents/base2/task-researcher/base2-with-file-researcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { type SecretAgentDefinition } from '../../types/secret-agent-definition'
22
import { createBase2 } from 'base2/base2'
33

4-
const base2 = createBase2('fast')
4+
const base2 = createBase2('default')
55
const definition: SecretAgentDefinition = {
66
...base2,
77
id: 'base2-with-file-researcher',

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
packages/agent-runtime,
9393
packages/billing,
9494
packages/internal,
95+
sdk,
9596
web,
9697
]
9798
include:
@@ -103,6 +104,7 @@ jobs:
103104
- package: packages/agent-runtime
104105
- package: packages/billing
105106
- package: packages/internal
107+
- package: sdk
106108
- package: web
107109
name: test-${{ matrix.package }}
108110
runs-on: ubuntu-latest
@@ -180,6 +182,7 @@ jobs:
180182
packages/agent-runtime,
181183
packages/billing,
182184
packages/internal,
185+
sdk,
183186
web,
184187
]
185188
include:
@@ -191,6 +194,7 @@ jobs:
191194
- package: packages/agent-runtime
192195
- package: packages/billing
193196
- package: packages/internal
197+
- package: sdk
194198
- package: web
195199
name: test-integration-${{ matrix.package }}
196200
runs-on: ubuntu-latest
@@ -241,9 +245,9 @@ jobs:
241245
command: |
242246
cd ${{ matrix.package }}
243247
if [ "${{ matrix.package }}" = ".agents" ]; then
244-
find __tests__ -name '*.integration.test.ts' 2>/dev/null | sort | xargs -I {} bun test {} || echo "No integration tests found in .agents"
248+
find __tests__ -name '*.integration.test.ts' 2>/dev/null | sort | xargs -I {} bun test --timeout=60000 {} || echo "No integration tests found in .agents"
245249
else
246-
find src -name '*.integration.test.ts' | sort | xargs -I {} bun test {}
250+
find src -name '*.integration.test.ts' | sort | xargs -I {} bun test --timeout=60000 {}
247251
fi
248252
249253
# E2E tests for web intentionally omitted for now.

bun.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)