@apify/actors-mcp-server 0.11.1-beta.2 → 0.11.1-beta.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/tools/categories.d.ts.map +1 -1
- package/dist/tools/categories.js +1 -2
- package/dist/tools/categories.js.map +1 -1
- package/dist/tools/default/call_actor.d.ts +5 -2
- package/dist/tools/default/call_actor.d.ts.map +1 -1
- package/dist/tools/default/call_actor.js +33 -24
- package/dist/tools/default/call_actor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/tools/apps/call_actor.d.ts +0 -7
- package/dist/tools/apps/call_actor.d.ts.map +0 -1
- package/dist/tools/apps/call_actor.js +0 -31
- package/dist/tools/apps/call_actor.js.map +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"call_actor.d.ts","sourceRoot":"","sources":["../../../src/tools/apps/call_actor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAoB,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAYlE;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,SAoBjB,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { HelperTools } from '../../const.js';
|
|
2
|
-
import { TOOL_TYPE } from '../../types.js';
|
|
3
|
-
import { buildCallActorAppsDescription, callActorAjvValidate, callActorInputSchema, executeCallActor, } from '../core/call_actor_common.js';
|
|
4
|
-
import { getActorRunOutputSchema } from '../structured_output_schemas.js';
|
|
5
|
-
const CALL_ACTOR_APPS_DESCRIPTION = buildCallActorAppsDescription();
|
|
6
|
-
/**
|
|
7
|
-
* Apps mode call-actor tool.
|
|
8
|
-
* Renders no widget; for a live progress UI, use the call-actor-widget sibling.
|
|
9
|
-
*/
|
|
10
|
-
export const appsCallActor = Object.freeze({
|
|
11
|
-
type: TOOL_TYPE.INTERNAL,
|
|
12
|
-
name: HelperTools.ACTOR_CALL,
|
|
13
|
-
description: CALL_ACTOR_APPS_DESCRIPTION,
|
|
14
|
-
inputSchema: callActorInputSchema,
|
|
15
|
-
outputSchema: getActorRunOutputSchema,
|
|
16
|
-
ajvValidate: callActorAjvValidate,
|
|
17
|
-
paymentRequired: true,
|
|
18
|
-
annotations: {
|
|
19
|
-
title: 'Call Actor',
|
|
20
|
-
readOnlyHint: false,
|
|
21
|
-
destructiveHint: true,
|
|
22
|
-
idempotentHint: false,
|
|
23
|
-
openWorldHint: true,
|
|
24
|
-
},
|
|
25
|
-
execution: {
|
|
26
|
-
// Support long-running tasks
|
|
27
|
-
taskSupport: 'optional',
|
|
28
|
-
},
|
|
29
|
-
call: async (toolArgs) => executeCallActor(toolArgs),
|
|
30
|
-
});
|
|
31
|
-
//# sourceMappingURL=call_actor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"call_actor.js","sourceRoot":"","sources":["../../../src/tools/apps/call_actor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EACH,6BAA6B,EAC7B,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,MAAM,2BAA2B,GAAG,6BAA6B,EAAE,CAAC;AAEpE;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAc,MAAM,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,SAAS,CAAC,QAAQ;IACxB,IAAI,EAAE,WAAW,CAAC,UAAU;IAC5B,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,uBAAuB;IACrC,WAAW,EAAE,oBAAoB;IACjC,eAAe,EAAE,IAAI;IACrB,WAAW,EAAE;QACT,KAAK,EAAE,YAAY;QACnB,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,KAAK;QACrB,aAAa,EAAE,IAAI;KACtB;IACD,SAAS,EAAE;QACP,6BAA6B;QAC7B,WAAW,EAAE,UAAU;KAC1B;IACD,IAAI,EAAE,KAAK,EAAE,QAA0B,EAAE,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC;CAChE,CAAC,CAAC"}
|