mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-07 02:53:38 +00:00
refactor(plugin-sdk): consolidate tool result helpers (#99740)
* refactor(plugin-sdk): consolidate tool result helpers * docs(plugin-sdk): tighten tool result guidance * refactor(feishu): use tool results directly
This commit is contained in:
@@ -108,6 +108,9 @@ export const pluginSdkDocMetadata = {
|
||||
"message-tool-delivery-hints": {
|
||||
category: "runtime",
|
||||
},
|
||||
"tool-results": {
|
||||
category: "utilities",
|
||||
},
|
||||
"provider-selection-runtime": {
|
||||
category: "provider",
|
||||
},
|
||||
|
||||
@@ -329,6 +329,7 @@
|
||||
"text-utility-runtime",
|
||||
"tool-plugin",
|
||||
"tool-payload",
|
||||
"tool-results",
|
||||
"tool-send",
|
||||
"webhook-ingress",
|
||||
"webhook-targets",
|
||||
|
||||
@@ -201,9 +201,9 @@ let budgets;
|
||||
let publicDeprecatedExportsByEntrypointBudget;
|
||||
try {
|
||||
budgets = {
|
||||
publicEntrypoints: readBudgetEnv("OPENCLAW_PLUGIN_SDK_MAX_PUBLIC_ENTRYPOINTS", 323),
|
||||
publicExports: readBudgetEnv("OPENCLAW_PLUGIN_SDK_MAX_PUBLIC_EXPORTS", 10425),
|
||||
publicFunctionExports: readBudgetEnv("OPENCLAW_PLUGIN_SDK_MAX_PUBLIC_FUNCTION_EXPORTS", 5237),
|
||||
publicEntrypoints: readBudgetEnv("OPENCLAW_PLUGIN_SDK_MAX_PUBLIC_ENTRYPOINTS", 324),
|
||||
publicExports: readBudgetEnv("OPENCLAW_PLUGIN_SDK_MAX_PUBLIC_EXPORTS", 10428),
|
||||
publicFunctionExports: readBudgetEnv("OPENCLAW_PLUGIN_SDK_MAX_PUBLIC_FUNCTION_EXPORTS", 5239),
|
||||
publicDeprecatedExports: readBudgetEnv(
|
||||
"OPENCLAW_PLUGIN_SDK_MAX_PUBLIC_DEPRECATED_EXPORTS",
|
||||
3261,
|
||||
|
||||
Reference in New Issue
Block a user