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/agent-worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ answer segmentation. The Workflow controller owns admission, execution identity,
at-most-once fence, and ownership leases. The shell retains only Durable Object identity,
cancellation, status, and dependency wiring.

An explicit app-builder mode remains authoritative. On a projectless first run, a narrowly
An explicit app-builder mode remains authoritative. In a projectless chat, a narrowly
matched imperative such as “build a website” or “create a mobile app” also enters the matching
app-builder path before model execution. That high-confidence fallback materializes the project,
scaffolds its canonical workspace, and registers the managed preview even when the selected model
Expand Down
2 changes: 1 addition & 1 deletion apps/agent-worker/src/durable-objects/agent-run-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function appBuilderModeForRun(input: StartRunInput): "app-builder" | "app-builde
if (isAppBuilderMode(input.projectMode)) {
return input.projectMode;
}
if (!input.isFirstRun || input.projectId || !IMPERATIVE_BUILD_PATTERN.test(input.messageText)) {
if (input.projectId || !IMPERATIVE_BUILD_PATTERN.test(input.messageText)) {
return null;
}
if (MOBILE_APP_PATTERN.test(input.messageText)) {
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const GitHubRepoUrlSchema = z
const PROJECT_MODES = ["app-builder", "app-builder-mobile", "general"] as const;
export const ProjectModeSchema = z.enum(PROJECT_MODES);

/** Product modes selected by UI intent or a high-confidence first-run build imperative. */
/** Product modes selected by UI intent or a high-confidence projectless build imperative. */
const RUN_INTENTS = ["skill-creator"] as const;
export const RunIntentSchema = z.enum(RUN_INTENTS);

Expand Down