@superdoc/sdk 2.11.0-next.13 → 2.11.0-next.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/agent/catalog.cjs +0 -1
- package/dist/agent/catalog.d.ts +0 -8
- package/dist/agent/catalog.js +1 -1
- package/dist/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.cjs +0 -2
- package/dist/generated/client.d.ts +0 -108
- package/dist/generated/client.js +0 -2
- package/dist/generated/contract.cjs +782 -1240
- package/dist/generated/contract.js +783 -1241
- package/dist/generated/intent-dispatch.generated.cjs +0 -1
- package/dist/generated/intent-dispatch.generated.js +0 -1
- package/dist/index.cjs +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -3
- package/dist/presets.cjs +2 -2
- package/dist/presets.js +2 -2
- package/dist/runtime/sdk-version.generated.cjs +1 -1
- package/dist/runtime/sdk-version.generated.d.ts +1 -1
- package/dist/runtime/sdk-version.generated.js +1 -1
- package/dist/tools.cjs +1 -49
- package/dist/tools.d.ts +1 -18
- package/dist/tools.js +1 -49
- package/package.json +9 -9
- package/tools/catalog.json +134 -228
- package/tools/intent_dispatch_generated.py +0 -2
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +134 -212
- package/tools/tools.generic.json +135 -214
- package/tools/tools.openai.json +134 -212
- package/tools/tools.vercel.json +134 -212
- package/dist/actions/define.cjs +0 -788
- package/dist/actions/define.d.ts +0 -142
- package/dist/actions/define.js +0 -781
package/dist/agent/catalog.cjs
CHANGED
|
@@ -586,7 +586,6 @@ exports.LIST_ITEM_SCHEMA = LIST_ITEM_SCHEMA;
|
|
|
586
586
|
exports.PUBLIC_AGENT_TOOL_NAMES = PUBLIC_AGENT_TOOL_NAMES;
|
|
587
587
|
exports.RUN_MARKS_SCHEMA = RUN_MARKS_SCHEMA;
|
|
588
588
|
exports.SELECTOR_SCHEMA = SELECTOR_SCHEMA;
|
|
589
|
-
exports.buildPerformActionDefinition = buildPerformActionDefinition;
|
|
590
589
|
exports.isAgentToolName = isAgentToolName;
|
|
591
590
|
exports.listAgentTools = listAgentTools;
|
|
592
591
|
exports.validateExclusions = validateExclusions;
|
package/dist/agent/catalog.d.ts
CHANGED
|
@@ -317,14 +317,6 @@ export declare const CELL_SCHEMA: {
|
|
|
317
317
|
* tool advertises those after `action`.
|
|
318
318
|
*/
|
|
319
319
|
export declare const ACTION_ARG_SCHEMA: Record<string, unknown>;
|
|
320
|
-
/**
|
|
321
|
-
* Build the `superdoc_perform_action` tool definition for a given action set.
|
|
322
|
-
* The default (all actions) is what `AGENT_TOOL_DEFINITIONS` carries; callers
|
|
323
|
-
* excluding actions get a coherently narrowed definition: enum, grouped
|
|
324
|
-
* description, AND the advertised argument properties all shrink together
|
|
325
|
-
* (an arg no remaining action declares is not advertised).
|
|
326
|
-
*/
|
|
327
|
-
export declare function buildPerformActionDefinition(includedActions: readonly string[]): AgentToolDefinition;
|
|
328
320
|
export declare const AGENT_TOOL_DEFINITIONS: readonly AgentToolDefinition[];
|
|
329
321
|
/** Customer-facing narrowing of the advertised tool surface. */
|
|
330
322
|
export interface ListAgentToolsOptions {
|
package/dist/agent/catalog.js
CHANGED
|
@@ -306,7 +306,7 @@ function buildActionDescription(included) {
|
|
|
306
306
|
* description, AND the advertised argument properties all shrink together
|
|
307
307
|
* (an arg no remaining action declares is not advertised).
|
|
308
308
|
*/
|
|
309
|
-
|
|
309
|
+
function buildPerformActionDefinition(includedActions) {
|
|
310
310
|
const included = new Set(includedActions);
|
|
311
311
|
return {
|
|
312
312
|
name: 'superdoc_perform_action',
|