@elizaos/skills 2.0.0-alpha.205 → 2.0.0-alpha.207
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/resolver.d.ts.map +1 -1
- package/dist/resolver.js +1 -14
- package/package.json +57 -56
package/dist/resolver.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../src/resolver.ts"],"names":[],"mappings":"AA+
|
|
1
|
+
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../src/resolver.ts"],"names":[],"mappings":"AA+CA;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,IAAI,MAAM,CA6CrC;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAE1C;AAiBD;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAoBjD"}
|
package/dist/resolver.js
CHANGED
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readdirSync, renameSync, statSync, } from "node:fs";
|
|
2
|
-
import { homedir } from "node:os";
|
|
3
2
|
import { dirname, join } from "node:path";
|
|
4
3
|
import { fileURLToPath } from "node:url";
|
|
5
|
-
|
|
6
|
-
* Resolve the Milady per-user state directory.
|
|
7
|
-
*
|
|
8
|
-
* Kept inline (not imported from `@elizaos/core`) because `@elizaos/skills` is
|
|
9
|
-
* a deliberately minimal seed/sync package with no runtime dep on core. The
|
|
10
|
-
* precedence order matches `resolveStateDir()` in
|
|
11
|
-
* `@elizaos/core/utils/state-dir` — update both together if the rule changes.
|
|
12
|
-
*/
|
|
13
|
-
function resolveStateDir() {
|
|
14
|
-
return (process.env.MILADY_STATE_DIR?.trim() ||
|
|
15
|
-
process.env.ELIZA_STATE_DIR?.trim() ||
|
|
16
|
-
join(homedir(), ".milady"));
|
|
17
|
-
}
|
|
4
|
+
import { resolveStateDir } from "@elizaos/core";
|
|
18
5
|
/**
|
|
19
6
|
* Cached skills directory path
|
|
20
7
|
*/
|
package/package.json
CHANGED
|
@@ -1,58 +1,59 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
2
|
+
"name": "@elizaos/skills",
|
|
3
|
+
"version": "2.0.0-alpha.207",
|
|
4
|
+
"description": "Bundled skills and skill loading utilities for elizaOS agents",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./skills": "./skills/",
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"clean": "rm -rf dist",
|
|
18
|
+
"build": "tsc -p tsconfig.build.json",
|
|
19
|
+
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
|
20
|
+
"test": "bun test ./test",
|
|
21
|
+
"prepublishOnly": "bun run clean && bun run build",
|
|
22
|
+
"lint": "bunx @biomejs/biome check --write ./src",
|
|
23
|
+
"lint:check": "bunx @biomejs/biome check ./src"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist/**/*",
|
|
27
|
+
"skills/**/*",
|
|
28
|
+
"README.md"
|
|
29
|
+
],
|
|
30
|
+
"keywords": [
|
|
31
|
+
"elizaos",
|
|
32
|
+
"skills",
|
|
33
|
+
"agent",
|
|
34
|
+
"ai",
|
|
35
|
+
"llm",
|
|
36
|
+
"automation"
|
|
37
|
+
],
|
|
38
|
+
"author": "elizaOS",
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/elizaos/eliza.git",
|
|
43
|
+
"directory": "packages/skills"
|
|
44
|
+
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=22.0.0"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@elizaos/core": "2.0.0-alpha.207",
|
|
50
|
+
"yaml": "^2.8.2"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"tsx": "^4.19.2"
|
|
54
|
+
},
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
57
|
+
},
|
|
58
|
+
"gitHead": "6ddd1f4d3ce8cdd7cd099e6a79aa152268ff7221"
|
|
58
59
|
}
|