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:
Dallin Romney
2026-07-04 16:50:44 -07:00
committed by GitHub
parent c2fc7aa28a
commit bfffa950d7
24 changed files with 105 additions and 152 deletions

View File

@@ -108,6 +108,9 @@ export const pluginSdkDocMetadata = {
"message-tool-delivery-hints": {
category: "runtime",
},
"tool-results": {
category: "utilities",
},
"provider-selection-runtime": {
category: "provider",
},

View File

@@ -329,6 +329,7 @@
"text-utility-runtime",
"tool-plugin",
"tool-payload",
"tool-results",
"tool-send",
"webhook-ingress",
"webhook-targets",

View File

@@ -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,