@receptron/graphai_cli 1.0.4 → 2.0.0

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.
@@ -50,7 +50,7 @@ const test_utils_1 = require("@receptron/test_utils");
50
50
  const options_1 = require("./options");
51
51
  const mermaid_1 = require("./mermaid");
52
52
  const fileFullPath = (file) => {
53
- return path_1.default.resolve(process.cwd() + "/" + file) || "";
53
+ return path_1.default.isAbsolute(file) ? file : path_1.default.resolve(process.cwd(), file);
54
54
  };
55
55
  const agents = {
56
56
  ...packages,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@receptron/graphai_cli",
3
- "version": "1.0.4",
3
+ "version": "2.0.0",
4
4
  "description": "GraphAI command line tools.",
5
5
  "main": "lib/graphai_cli.js",
6
6
  "bin": {
@@ -34,13 +34,13 @@
34
34
  "@types/yargs": "^17.0.33"
35
35
  },
36
36
  "dependencies": {
37
- "@graphai/agent_filters": "^0.2.2",
38
- "@graphai/agents": "^1.0.2",
39
- "@graphai/token_bound_string_agent": "^1.0.0",
37
+ "@graphai/agent_filters": "^1.0.1",
38
+ "@graphai/agents": "^2.0.0",
39
+ "@graphai/token_bound_string_agent": "^1.0.1",
40
40
  "@graphai/vanilla_node_agents": "^1.0.1",
41
- "@receptron/test_utils": "^1.0.2",
42
- "dotenv": "^16.4.7",
43
- "graphai": "^1.0.0",
41
+ "@receptron/test_utils": "^2.0.0",
42
+ "dotenv": "^16.5.0",
43
+ "graphai": "^1.0.12",
44
44
  "yargs": "^17.7.2"
45
45
  },
46
46
  "types": "./lib/graphai_cli.d.ts",