v2.1.0: Prompt strategy overhaul - Cursor IDE scene-fusion, remove tool whitelist, multi-layer refusal defense, context sanitization

This commit is contained in:
小海
2026-03-05 15:30:14 +08:00
parent 53740f7300
commit 89e4f5eb99
5 changed files with 221 additions and 14 deletions

9
debug_payload.js Normal file
View File

@@ -0,0 +1,9 @@
const fs = require('fs');
const txt = fs.readFileSync('last_payload.json', 'utf8');
const payload = JSON.parse(txt);
payload.forEach((m, i) => {
const text = m.parts && m.parts[0] && m.parts[0].text ? m.parts[0].text : '';
console.log(`--- Message ${i} [${m.role}] ---`);
console.log(text.substring(0, 300));
console.log('');
});