@receptron/graphai_cli 0.5.23 → 0.6.1
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/lib/docs.js +19 -8
- package/lib/graphai_cli.js +17 -7
- package/package.json +4 -4
package/lib/docs.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -30,6 +40,7 @@ exports.readTemplate = void 0;
|
|
|
30
40
|
const utils_1 = require("graphai/lib/utils/utils");
|
|
31
41
|
const json_schema_generator_1 = __importDefault(require("json-schema-generator"));
|
|
32
42
|
const packages = __importStar(require("@graphai/agents"));
|
|
43
|
+
const vanilla_node_agents_1 = require("@graphai/vanilla_node_agents");
|
|
33
44
|
const fs_1 = __importDefault(require("fs"));
|
|
34
45
|
const path_1 = __importDefault(require("path"));
|
|
35
46
|
const agentAttribute = (agentInfo, key) => {
|
|
@@ -110,7 +121,7 @@ const IndexMd = (ret) => {
|
|
|
110
121
|
const main = () => {
|
|
111
122
|
const ret = {};
|
|
112
123
|
const base_path = __dirname + "/../../../docs/agentDocs/";
|
|
113
|
-
Object.values(packages).map((agent) => {
|
|
124
|
+
Object.values({ ...packages, fileReadAgent: vanilla_node_agents_1.fileReadAgent }).map((agent) => {
|
|
114
125
|
const md = agentMd(agent);
|
|
115
126
|
agent.category.map(async (cat) => {
|
|
116
127
|
if (!ret[cat]) {
|
package/lib/graphai_cli.js
CHANGED
|
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
16
16
|
}) : function(o, v) {
|
|
17
17
|
o["default"] = v;
|
|
18
18
|
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
26
36
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
27
37
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
28
38
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@receptron/graphai_cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "GraphAI command line tools.",
|
|
5
5
|
"main": "lib/graphai_cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@graphai/agent_filters": "^0.0.8",
|
|
40
|
-
"@graphai/agents": "^0.
|
|
40
|
+
"@graphai/agents": "^0.2.0",
|
|
41
41
|
"@receptron/test_utils": "^0.0.8",
|
|
42
|
-
"dotenv": "^16.4.
|
|
43
|
-
"graphai": "^0.
|
|
42
|
+
"dotenv": "^16.4.7",
|
|
43
|
+
"graphai": "^0.6.2",
|
|
44
44
|
"json-schema-generator": "^2.0.6",
|
|
45
45
|
"yargs": "^17.7.2"
|
|
46
46
|
},
|