@clwnd/opencode 0.18.2 → 0.18.3
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/index.js +23 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -389,31 +389,54 @@ function mapToolName(name) {
|
|
|
389
389
|
}
|
|
390
390
|
var BROKERED_TOOLS = /* @__PURE__ */ new Set(["webfetch", "websearch", "todowrite"]);
|
|
391
391
|
var KNOWN_TOOLS = /* @__PURE__ */ new Set([
|
|
392
|
+
// clwnd native surface
|
|
392
393
|
"read",
|
|
393
394
|
"do_code",
|
|
394
395
|
"do_noncode",
|
|
395
396
|
"bash",
|
|
397
|
+
// Brokered through provider (OC executes, result relayed)
|
|
396
398
|
"webfetch",
|
|
397
399
|
"websearch",
|
|
398
400
|
"todowrite",
|
|
401
|
+
// OC's own tools
|
|
399
402
|
"task",
|
|
400
403
|
"skill",
|
|
401
404
|
"todoread",
|
|
402
405
|
"taskoutput",
|
|
403
406
|
"taskstop",
|
|
404
407
|
"question",
|
|
408
|
+
// clwnd internal
|
|
405
409
|
"clwnd_permission",
|
|
406
410
|
"permission_prompt",
|
|
411
|
+
// ALL Claude CLI built-in tools — blocked via --disallowedTools in the
|
|
412
|
+
// daemon spawn. Listed here so OC doesn't forward them as "external
|
|
413
|
+
// MCP tools" when it sees them in its own registry.
|
|
407
414
|
"cronCreate",
|
|
408
415
|
"cronDelete",
|
|
409
416
|
"cronList",
|
|
417
|
+
"monitor",
|
|
418
|
+
"remoteTrigger",
|
|
419
|
+
"scheduleWakeup",
|
|
420
|
+
"taskCreate",
|
|
421
|
+
"taskGet",
|
|
422
|
+
"taskList",
|
|
423
|
+
"taskUpdate",
|
|
410
424
|
"notebookedit",
|
|
411
425
|
"codesearch",
|
|
412
426
|
"applypatch",
|
|
413
427
|
"ls",
|
|
428
|
+
"agent",
|
|
429
|
+
"explore",
|
|
430
|
+
"sendMessage",
|
|
431
|
+
"enterPlanMode",
|
|
432
|
+
"exitPlanMode",
|
|
433
|
+
"enterWorktree",
|
|
434
|
+
"exitWorktree",
|
|
435
|
+
"askUserQuestion",
|
|
414
436
|
// Replaced-and-banned. Do not forward. Do not re-enable.
|
|
415
437
|
"edit",
|
|
416
438
|
"write",
|
|
439
|
+
"multiedit",
|
|
417
440
|
"glob",
|
|
418
441
|
"grep"
|
|
419
442
|
]);
|