Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
de53b8e
refactor: agent behaviors, objectives generalized, abstracted + agent…
AshishKumar4 Nov 7, 2025
5685c7d
feat: finish most refactor and get it to build
AshishKumar4 Nov 9, 2025
2aea3c7
feat: add ai-based project type detection and workflow support
AshishKumar4 Nov 10, 2025
e8d07af
fix: template initialization
AshishKumar4 Nov 10, 2025
40ab40e
fix: wire up onConnect to coding agent
AshishKumar4 Nov 10, 2025
740bf1c
feat: improve GitHub Actions workflow reliability
AshishKumar4 Nov 10, 2025
a25e72f
refactor: improve type safety in state migration logic
AshishKumar4 Nov 10, 2025
bb09d92
fix: add optional chaining to prevent runtime errors in blueprint ren…
AshishKumar4 Nov 10, 2025
5e4ebb2
feat: general agent
AshishKumar4 Nov 11, 2025
1faaca1
refactor: reorganize project builder architecture + sandbox templatel…
AshishKumar4 Nov 11, 2025
f5a3be6
feat: add project mode selector with agentic behavior support
AshishKumar4 Nov 11, 2025
feca8ca
fix: files format
AshishKumar4 Nov 11, 2025
bb23e88
fix: ensure workspace directory exists before writing files
AshishKumar4 Nov 11, 2025
234860f
feat: replace template manager with ai template selector
AshishKumar4 Nov 11, 2025
97bc622
refactor: integrate conversation history and sync for agentic builder
AshishKumar4 Nov 12, 2025
060cc9e
fix: template import and state init
AshishKumar4 Nov 12, 2025
5deea6a
fix: template cache clear before import + init meta in behavior const…
AshishKumar4 Nov 12, 2025
bbf1979
fix: ui and convo state management
AshishKumar4 Nov 12, 2025
d45f368
fix: convo id uniqueness and improve message deduplication
AshishKumar4 Nov 12, 2025
868ba34
fix: ui auto focus, preview hiding and blueprints
AshishKumar4 Nov 12, 2025
be72055
feat: add completion detection and dependency-aware tool execution
AshishKumar4 Nov 16, 2025
219d2c7
feat: add completion detection and loop prevention to agentic builder…
AshishKumar4 Nov 16, 2025
51f922f
Merge pull request #238 from cloudflare/feat/tool-calling-revamp
AshishKumar4 Nov 17, 2025
06d9ce9
feat: use agentic builder directly for handling user messages
AshishKumar4 Nov 17, 2025
0bfcdbb
feat: presentation specific prompts + prompts restructuring
AshishKumar4 Nov 17, 2025
c479831
Merge branch 'nightly' of github.com:cloudflare/orange-builds into fe…
AshishKumar4 Nov 17, 2025
08d2fc7
refactor: agent behaviors, objectives generalized, abstracted + agent…
AshishKumar4 Nov 7, 2025
d2a7e02
feat: finish most refactor and get it to build
AshishKumar4 Nov 9, 2025
f753f8b
feat: add ai-based project type detection and workflow support
AshishKumar4 Nov 10, 2025
7db6ca2
fix: template initialization
AshishKumar4 Nov 10, 2025
318f6e2
fix: wire up onConnect to coding agent
AshishKumar4 Nov 10, 2025
1e49bb3
feat: improve GitHub Actions workflow reliability
AshishKumar4 Nov 10, 2025
8210b9f
refactor: improve type safety in state migration logic
AshishKumar4 Nov 10, 2025
2a2d86c
fix: add optional chaining to prevent runtime errors in blueprint ren…
AshishKumar4 Nov 10, 2025
45eb5c0
feat: general agent
AshishKumar4 Nov 11, 2025
7ba6257
refactor: reorganize project builder architecture + sandbox templatel…
AshishKumar4 Nov 11, 2025
b34c707
feat: add project mode selector with agentic behavior support
AshishKumar4 Nov 11, 2025
da31e76
fix: files format
AshishKumar4 Nov 11, 2025
17258f3
fix: ensure workspace directory exists before writing files
AshishKumar4 Nov 11, 2025
ca8e7e4
feat: replace template manager with ai template selector
AshishKumar4 Nov 11, 2025
bb1dc96
refactor: integrate conversation history and sync for agentic builder
AshishKumar4 Nov 12, 2025
9f5f787
fix: template import and state init
AshishKumar4 Nov 12, 2025
c6a329e
fix: template cache clear before import + init meta in behavior const…
AshishKumar4 Nov 12, 2025
0323c7a
fix: ui and convo state management
AshishKumar4 Nov 12, 2025
d4ae61d
fix: convo id uniqueness and improve message deduplication
AshishKumar4 Nov 12, 2025
cfe24e3
fix: ui auto focus, preview hiding and blueprints
AshishKumar4 Nov 12, 2025
0f85a7d
feat: add completion detection and dependency-aware tool execution
AshishKumar4 Nov 16, 2025
e926e18
feat: add completion detection and loop prevention to agentic builder…
AshishKumar4 Nov 16, 2025
681bbbe
feat: use agentic builder directly for handling user messages
AshishKumar4 Nov 17, 2025
b6abaca
feat: presentation specific prompts + prompts restructuring
AshishKumar4 Nov 17, 2025
cca8778
refactor: unify template schemas
AshishKumar4 Nov 21, 2025
a4af6b6
Merge branch 'feat/general-agents' of github.com:cloudflare/orange-bu…
AshishKumar4 Nov 21, 2025
e9a31da
Feat: add presentation and documentation preview modes (#234)
AshishKumar4 Nov 21, 2025
d9a85a8
Reapply "refactor: generalize coding agent to behavior + business; pa…
AshishKumar4 Nov 21, 2025
d80c416
fix: cleanup chat.tsx for build
AshishKumar4 Nov 18, 2025
29c890f
Merge branch 'feat/refactor-agents-base' of github.com:cloudflare/ora…
AshishKumar4 Nov 22, 2025
dfec327
Merge branch 'nightly' of github.com:cloudflare/orange-builds into fe…
AshishKumar4 Nov 23, 2025
053fe1c
Merge branch 'feat/refactor-agents-base' of github.com:cloudflare/ora…
AshishKumar4 Nov 23, 2025
00fc51c
feat: agentic streaming presentations finally working
AshishKumar4 Nov 24, 2025
5b96591
fix: preview update fixes + navigation
AshishKumar4 Nov 24, 2025
09653ba
feat: rewrite presentation preview system
AshishKumar4 Nov 25, 2025
ff47fc8
feat: bug fixes + save manifest and slides proactively upon generation
AshishKumar4 Nov 25, 2025
7faf0e0
feat: some prompt improvements in agentic project builder
AshishKumar4 Nov 25, 2025
16c354f
Merge pull request #224 from cloudflare/feat/general-agents
AshishKumar4 Nov 30, 2025
63cd40b
Merge branch 'nightly' of github.com:cloudflare/orange-builds into fe…
AshishKumar4 Nov 30, 2025
4939429
Merge branch 'nightly' of github.com:cloudflare/orange-builds into fe…
AshishKumar4 Nov 30, 2025
f3ab5f5
Merge branch 'nightly' of github.com:cloudflare/orange-builds into fe…
AshishKumar4 Nov 30, 2025
f6f4207
Merge branch 'feat/refactor-agents-base' of github.com:cloudflare/ora…
AshishKumar4 Dec 1, 2025
bf4aa51
Merge branch 'nightly' of github.com:cloudflare/orange-builds into fe…
AshishKumar4 Dec 1, 2025
6f170e1
feat: remove redundant message and fix file saving in code generation
AshishKumar4 Dec 2, 2025
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
4 changes: 2 additions & 2 deletions worker/agents/assistants/codeDebugger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { executeInference } from '../inferutils/infer';
import { InferenceContext, ModelConfig } from '../inferutils/config.types';
import { createObjectLogger } from '../../logger';
import type { ToolDefinition } from '../tools/types';
import { CodingAgentInterface } from '../services/implementations/CodingAgent';
import { AGENT_CONFIG } from '../inferutils/config';
import { buildDebugTools } from '../tools/customTools';
import { RenderToolCall } from '../operations/UserConversationProcessor';
Expand All @@ -19,6 +18,7 @@ import { PROMPT_UTILS } from '../prompts';
import { RuntimeError } from 'worker/services/sandbox/sandboxTypes';
import { FileState } from '../core/state';
import { InferError } from '../inferutils/core';
import { ICodingAgent } from '../services/interfaces/ICodingAgent';

const SYSTEM_PROMPT = `You are an elite autonomous code debugging specialist with deep expertise in root-cause analysis, modern web frameworks (React, Vite, Cloudflare Workers), TypeScript/JavaScript, build tools, and runtime environments.

Expand Down Expand Up @@ -543,7 +543,7 @@ type LoopDetectionState = {

export type DebugSession = {
filesIndex: FileState[];
agent: CodingAgentInterface;
agent: ICodingAgent;
runtimeErrors?: RuntimeError[];
};

Expand Down
Loading
Loading