wormclaude 1.0.227 → 1.0.228
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/dist/theme.js +1 -1
- package/dist/tools.js +4 -0
- package/package.json +1 -1
package/dist/theme.js
CHANGED
package/dist/tools.js
CHANGED
|
@@ -867,6 +867,10 @@ async function execOne(call, hooks) {
|
|
|
867
867
|
const verr = validateToolInput(call.name, args);
|
|
868
868
|
if (verr)
|
|
869
869
|
return { ok: false, output: `Geçersiz girdi: ${verr}`, args };
|
|
870
|
+
// İNCELEME KİLİDİ: incele görevinde "nasıl kullanayım?" diye SORMA — açıklamayı üret.
|
|
871
|
+
if (inspectLock && call.name === 'AskUserQuestion') {
|
|
872
|
+
return { ok: false, output: 'This is an INSPECT/UNDERSTAND task — do NOT ask the user what to do with the files or how they want to use them. Just explain, in text, what the folder contains: the key files and their purpose, and what the project/collection is overall. Deliver that written explanation now.', args };
|
|
873
|
+
}
|
|
870
874
|
// 2) İnteraktif/plan araçları
|
|
871
875
|
if (call.name === 'AskUserQuestion') {
|
|
872
876
|
// Seçenekleri normalize et: model FLAT string[] verir ("React.js"), ama eski/karışık çağrı
|