Skip to content

Commit 6acf681

Browse files
committed
feat(agent): messages array, memory options
1 parent 7e3e38a commit 6acf681

7 files changed

Lines changed: 653 additions & 130 deletions

File tree

apps/sim/.cursorrules

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,32 @@ logger.error('Operation failed', { error })
563563

564564
---
565565

566+
## Linting and Formatting
567+
568+
### Automated Linting
569+
570+
**Do not manually fix linting errors.** The project uses automated linting tools that should handle formatting and style issues.
571+
572+
### Rules
573+
574+
1. **No Manual Fixes**: Do not attempt to manually reorder CSS classes, fix formatting, or address linter warnings
575+
2. **Use Automated Tools**: If linting errors need to be fixed, run `bun run lint` to let the automated tools handle it
576+
3. **Focus on Logic**: Concentrate on functionality, TypeScript correctness, and architectural patterns
577+
4. **Let Tools Handle Style**: Biome and other linters will automatically format code according to project standards
578+
579+
### When Linting Matters
580+
581+
- **Syntax Errors**: Fix actual syntax errors that prevent compilation
582+
- **Type Errors**: Address TypeScript type errors that indicate logic issues
583+
- **Ignore Style Warnings**: CSS class order, formatting preferences, etc. will be handled by tooling
584+
585+
```bash
586+
# If linting is required
587+
bun run lint
588+
```
589+
590+
---
591+
566592
## Code Quality Checklist
567593

568594
Before considering a component/hook complete, verify:

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel-new/components/editor/components/sub-block/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export { LongInput } from './long-input/long-input'
1919
export { McpDynamicArgs } from './mcp-dynamic-args/mcp-dynamic-args'
2020
export { McpServerSelector } from './mcp-server-modal/mcp-server-selector'
2121
export { McpToolSelector } from './mcp-server-modal/mcp-tool-selector'
22+
export { MessagesInput } from './messages-input/messages-input'
2223
export { ProjectSelectorInput } from './project-selector/project-selector-input'
2324
export { ResponseFormat } from './response/response-format'
2425
export { ScheduleSave } from './schedule-save/schedule-save'

0 commit comments

Comments
 (0)