Repository navigation
Conversation
|
Final review follow-up pushed in |
|
Extensive validation pass completed on latest head Local verification:
Smoke:
Review:
CI:
|
# Conflicts: # apps/app/src/components/dialogs/WorkflowRunDialog.stories.tsx # apps/app/src/components/promptbox/PromptBoxInternal.test.tsx # apps/app/src/components/secondary-panel/NewTabFileSearch.tsx # apps/app/src/components/secondary-panel/NewTabPage.test.tsx # apps/app/src/components/ui/dropdown-menu.tsx # apps/app/src/hooks/queries/thread-queries.test.tsx # apps/app/src/hooks/useThreadCreationOptions.ts # apps/app/src/test/setup.ts # apps/app/src/test/system-provider-test-utils.ts # apps/app/src/views/RootComposeView.test.tsx # apps/app/src/views/RootComposeView.tsx # apps/app/src/views/thread-detail/ThreadDetailPromptArea.tsx # apps/app/src/views/thread-detail/ThreadDetailView.tsx # apps/host-daemon/src/app.test.ts # apps/host-daemon/src/command-dispatch.ts # apps/host-daemon/src/command-handlers/replay.test.ts # apps/host-daemon/src/workflow-agent-executor.test.ts # apps/host-daemon/src/workflow-agent-executor.ts # apps/host-daemon/test/command/thread-dispatch.test.ts # apps/host-daemon/test/integration/daemon.integration.test.ts # apps/server/src/routes/internal-replay.ts # apps/server/src/routes/threads/actions.ts # apps/server/src/services/threads/app-scaffold-template/source/src/bb-sdk.d.ts # apps/server/test/public/public-thread-data.test.ts # apps/server/test/public/public-threads.execution-override.test.ts # apps/server/test/system/execution-options.test.ts # apps/server/test/threads/thread-runtime-config.test.ts # apps/server/test/workflows/workflow-run-pending-notifications.test.ts # packages/agent-runtime/src/codex/adapter.test.ts # packages/agent-runtime/src/codex/adapter.ts # packages/agent-runtime/src/runtime.lifecycle.test.ts # packages/agent-runtime/src/runtime.ts # packages/agent-runtime/src/test/runtime-test-harness.ts # packages/domain/src/index.ts # packages/host-daemon-contract/src/commands.ts # packages/host-daemon-contract/test/contract.test.ts # packages/replay-capture/src/reader.ts # packages/replay-capture/src/schema.ts # packages/replay-capture/src/writer.ts # packages/replay-capture/test/writer.test.ts # packages/server-contract/src/api-types.ts # packages/server-contract/test/contract.test.ts
|
Superseded by #194. |
## Summary This replaces PR #93 with a clean branch from `ymichael/bb:main`. - Removes tracked `.otto` artifacts and keeps `.otto/` ignored. - Adds provider-owned composer actions for skills, plan mode, and goal mode. - Wires the prompt action menu to provider metadata for new threads and follow-up composers. - Updates command insertion so Plan/Goal use provider text, including `/plan ` and `/goal `, while Skills still inserts `$`. - Preserves editor focus after keyboard/compact prompt action selection and keeps provider actions available for environmentless follow-up composers. ## Review Gates - Provider/server merge review found missing app fixture propagation; fixed by the app wiring commit. - Prompt menu merge review found Plan/Goal could append after an active `$` token; fixed by `fix(app): replace active command token for prompt actions`. - App wiring merge review completed with no implementation issues and no architectural issues. - Final PR review found two P2 issues: keyboard-selected prompt actions could lose editor focus, and environmentless follow-up composers could lose provider actions. Both were fixed in `fix(app): preserve prompt action metadata and focus`. ## Validation Passed: - `pnpm exec turbo run typecheck --filter=@bb/domain --filter=@bb/agent-providers --filter=@bb/server --filter=@bb/app` - `pnpm exec turbo run test --filter=@bb/domain --filter=@bb/agent-providers` - `pnpm exec turbo run test --filter=@bb/server -- src/services/threads/provider-command-typeahead.test.ts` - `pnpm exec turbo run test --filter=@bb/app -- --run src/components/promptbox/mentions/command-trigger.test.ts src/hooks/cache-owners/composer-cache-owner.test.ts` - `pnpm exec turbo run lint --filter=@bb/app` - `git diff --check` Blocked locally: - `pnpm exec turbo run test --filter=@bb/app -- --run src/components/promptbox/PromptBoxInternal.test.tsx` - `pnpm exec turbo run test --filter=@bb/app -- --run src/hooks/useThreadCreationOptions.test.tsx` Both fail before test import because Vitest cannot resolve `jsdom`. This checkout already has multiple `@vitest-environment jsdom` app tests and `@bb/app` does not declare `jsdom` directly.
Summary
Adds a Codex-style
+composer actions menu to both new-thread and follow-up prompt boxes.Create App...,Skillswith provider shortcut hint, Plan mode, Goal mode, andApps >.ResolvedAppIconrendering for the Apps submenu/drill-in.collaborationModeand Codex Goal mode via nativethread/goal/set|get|clear, including goal notification translation and clearing persistent provider goals when Goal mode is turned off./.Review/QA
threadStartsupport,menuitemcheckboxsemantics,Validation
Note: local server DB tests initially required rebuilding
better-sqlite3for the checkout's Node runtime; afterpnpm --dir node_modules/.pnpm/[email protected]/node_modules/better-sqlite3 run build-release, the server regression passed.