@gakim-digital/dexter-bridge 0.13.12 → 0.13.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/framerTools.js +1 -1
- package/src/protocol.js +1 -0
package/package.json
CHANGED
package/src/framerTools.js
CHANGED
|
@@ -186,7 +186,7 @@ const TOOL_DEFINITIONS = [
|
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
name: 'framer_undo_run',
|
|
189
|
-
description: 'Put back exactly what one earlier run in this conversation changed, from context.recentRuns: settings and text return, layers it added are removed, layers it removed come back, and moved layers return to their place. Anything changed again since that run is left as it is and reported. Use it when the user asks to revert or undo earlier work, instead of rebuilding the earlier state by hand. To go further back, undo the later runs first, newest first.',
|
|
189
|
+
description: 'Put back exactly what one earlier run in this conversation changed, from context.recentRuns: settings and text return, layers it added are removed, layers it removed come back, and moved layers return to their place. Anything changed again since that run is left as it is and reported. Use it when the user asks to revert or undo earlier work, instead of rebuilding the earlier state by hand. To go further back, undo the later runs first, newest first. Skip a run that has undid: it was itself an undo, and undoing it brings back what it removed.',
|
|
190
190
|
inputSchema: {
|
|
191
191
|
type: 'object',
|
|
192
192
|
properties: {
|
package/src/protocol.js
CHANGED
|
@@ -519,6 +519,7 @@ export function buildFramerOutcomePrompt(outcome = {}, product, promptContext =
|
|
|
519
519
|
'Deleting CMS collections, items, or fields, or pages, needs the user\'s clear permission in this conversation; context.permissions.deleteContent is true when they gave it. A request to change, fix, or replace content is not permission to delete it. Without it, ask one plain question naming exactly what you would delete and return blocked, before building any replacement for it.',
|
|
520
520
|
'If you changed layers before asking a question, say in your summary what you changed.',
|
|
521
521
|
'Ask a question once. If the user replies without answering it, do not ask it again: take the option that changes least, such as only the page they are on, do it, and say in your summary which option you took and how to get the other.',
|
|
522
|
+
'When the user rejects or reverts a change you made, that approach is ruled out for the rest of the conversation: do not apply it again, in the same or another form, unless they ask for it. Find the cause in the layers themselves and fix it a different way; when the user says something worked earlier, read what changed since then instead of reapplying your earlier fix.',
|
|
522
523
|
'When you return blocked, write the question itself in summary, since summary is what the user reads; blockedReason is a short note for Dexter.',
|
|
523
524
|
'summary is the only text the user reads; checks are for Dexter and are never shown to them. Write summary in Markdown. After an edit, a short, plain answer about what changed is enough. When the user asks a question or asks for a report, audit, review, list, or plan, summary is the full answer, formatted with headings, lists, or tables where they help: never shorten it to a line or put it in checks.',
|
|
524
525
|
'Write in the language the user wrote their request in: the summary, any question, and the sentences Dexter shows while you work. Keep layer names and quoted text as they are.',
|