Skip to content

Conversation

@samhvw8
Copy link
Contributor

@samhvw8 samhvw8 commented Feb 17, 2025

  • Add prompt_suggest tool for providing contextual next step suggestions
  • Add PromptSuggest UI component to display suggestions
  • Update capabilities and rules with prompt suggest documentation
  • Add XML utils for processing prompt suggestions
  • Add prompt_suggest to experiment flags
  • Update tool groups to include prompt suggest
  • Install fast-xml-parser for XML handling

Description

image

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • My code follows the patterns of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Additional context

Related Issues

Reviewers


Important

Add prompt_suggest tool for contextual suggestions with UI integration and XML parsing support.

  • Behavior:
    • Add prompt_suggest tool in Cline.ts to provide contextual suggestions.
    • Integrate prompt_suggest into experiment flags in experiments.ts.
    • Update getCapabilitiesSection and getRulesSection to include prompt_suggest.
  • UI Components:
    • Add PromptSuggest component in PromptSuggest.tsx to display suggestions.
    • Update ChatView.tsx and ChatRow.tsx to handle prompt_suggest messages.
  • Utilities:
    • Add parseXml function in xml.ts for XML parsing of suggestions.
  • Misc:
    • Install fast-xml-parser for XML handling in package.json.
    • Update tool-groups.ts to include prompt_suggest in help_tool group.

This description was created by Ellipsis for ef172ecb7b5e5aea63edf6a575a005ea0df06eee. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2025

⚠️ No Changeset found

Latest commit: 4339f69

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@samhvw8 samhvw8 force-pushed the feat/prompt-suggest branch from ef172ec to 435d18f Compare February 17, 2025 16:11
@hannesrudolph
Copy link
Collaborator

image

@samhvw8
Copy link
Contributor Author

samhvw8 commented Feb 18, 2025

image

let me fix that

@samhvw8 samhvw8 force-pushed the feat/prompt-suggest branch from 435d18f to b0b0737 Compare February 18, 2025 03:15
@samhvw8
Copy link
Contributor Author

samhvw8 commented Feb 19, 2025

image

- Add prompt_suggest tool for providing contextual next step suggestions
- Add PromptSuggest UI component to display suggestions
- Update capabilities and rules with prompt suggest documentation
- Add XML utils for processing prompt suggestions
- Add prompt_suggest to experiment flags
- Update tool groups to include prompt suggest
- Install fast-xml-parser for XML handling
- Remove console.log debug statements
- Refactor suggest handling logic to be more efficient
- Add dedicated prompt_suggest message type
- Add proper state management for suggestions in UI
- Fix ESLint warning in ChatRow.tsx
@samhvw8 samhvw8 force-pushed the feat/prompt-suggest branch from 15872f5 to 5cf95e3 Compare February 19, 2025 12:03
- Add prompt_suggest experiment flag support in objective and rules sections
- Fix mode validator test to only check tools from configured groups
- Clean up whitespace in system prompts
@samhvw8 samhvw8 closed this Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants