@graphai/puppeteer_agent 0.0.1 → 0.0.2
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/README.md +51 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +8 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
# @graphai/puppeteer_agent for GraphAI
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Install
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
yarn add @graphai/puppeteer_agent
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Usage
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { GraphAI } from "graphai";
|
|
17
|
+
import { puppeteerAgent } from "@graphai/puppeteer_agent";
|
|
18
|
+
|
|
19
|
+
const agents = { puppeteerAgent };
|
|
20
|
+
|
|
21
|
+
const graph = new GraphAI(graph_data, agents);
|
|
22
|
+
const result = await graph.run();
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Agents description
|
|
26
|
+
- puppeteerAgent - Puppeteer Agent
|
|
27
|
+
|
|
28
|
+
### Input/Output/Params Schema & samples
|
|
29
|
+
- [puppeteerAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/net/puppeteerAgent.md)
|
|
30
|
+
|
|
31
|
+
### Input/Params example
|
|
32
|
+
- puppeteerAgent
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
{
|
|
38
|
+
"inputs": {},
|
|
39
|
+
"params": {}
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
package/lib/index.d.ts
ADDED
package/lib/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.puppeteerAgent = void 0;
|
|
7
|
+
const puppeteer_agent_1 = __importDefault(require("./puppeteer_agent"));
|
|
8
|
+
exports.puppeteerAgent = puppeteer_agent_1.default;
|