Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@chat-adapter/state-memory": "^4.35.0",
"@corbits/agent-token": "github:corbitsdev/corbits-agent-token#ed286f4592190f911de480ef5330ce03d8605f00",
"@corbits/artifacts": "github:corbitsdev/corbits-artifacts#4a2a3c22187991a6ce598faf794908fedd252e98",
"@corbits/codex-provider": "github:corbitsdev/corbits-codex-provider#a1f475f341261c05fa8dade0c82f1246c175b5b3",
"@corbits/codex-provider": "0.1.2",
"@corbits/credential-http": "^0.1.0",
"@corbits/cron": "0.2.1",
"@corbits/error-sink": "workspace:*",
Expand Down
8 changes: 3 additions & 5 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion e2e/lib/first-run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,22 @@ export async function runFirstRunFlow(page: Page, origin: string): Promise<void>

// Connecting hands off to the new-workbench prompt (a workspace with no
// workbenches); the first bench's worker is the first worker.
await page.waitForSelector("textarea", { timeout: STEP_TIMEOUT });
// The composer stays disabled until workspace roles have loaded (CL-9780).
await page.waitForFunction(
`(() => {
const input = document.querySelector("textarea");
return input instanceof HTMLTextAreaElement && !input.disabled;
})()`,
{ timeout: STEP_TIMEOUT },
);
await page.type("textarea", FIRST_WORKBENCH);
await page.waitForFunction(
`(() => {
const send = document.querySelector("button[aria-label='Start this workbench']");
return send instanceof HTMLButtonElement && !send.disabled;
})()`,
{ timeout: STEP_TIMEOUT },
);
await page.click("button[aria-label='Start this workbench']");

// Creating the workbench navigates to its own page, which shows the prompt.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"devDependencies": {
"@copilotkit/aimock": "^1.43.0",
"@corbits/artifacts": "github:corbitsdev/corbits-artifacts#4a2a3c22187991a6ce598faf794908fedd252e98",
"@corbits/codex-provider": "github:corbitsdev/corbits-codex-provider#a1f475f341261c05fa8dade0c82f1246c175b5b3",
"@corbits/codex-provider": "0.1.2",
"@corbits/mailbox": "github:corbitsdev/corbits-mailbox#65590a85fa143251b3ac20ba2eca92fc35e70e51",
"@corbits/ollama-adapter": "github:corbitsdev/corbits-ollama-adapter#0387eb17bee5ac87530e9c48bb3bffd9a6998ded",
"@corbits/xai-provider": "0.1.2",
Expand Down
Loading