skill-tree 0.0.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/README.md ADDED
@@ -0,0 +1 @@
1
+ # skill-trees
@@ -0,0 +1,12 @@
1
+ /**
2
+ * skill-trees - A library of skills for coding agents
3
+ * @packageDocumentation
4
+ */
5
+ declare const VERSION = "0.0.1";
6
+ interface Skill {
7
+ name: string;
8
+ description: string;
9
+ execute: (...args: unknown[]) => Promise<unknown>;
10
+ }
11
+
12
+ export { type Skill, VERSION };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * skill-trees - A library of skills for coding agents
3
+ * @packageDocumentation
4
+ */
5
+ declare const VERSION = "0.0.1";
6
+ interface Skill {
7
+ name: string;
8
+ description: string;
9
+ execute: (...args: unknown[]) => Promise<unknown>;
10
+ }
11
+
12
+ export { type Skill, VERSION };
package/dist/index.js ADDED
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ VERSION: () => VERSION
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
26
+ var VERSION = "0.0.1";
27
+ // Annotate the CommonJS export names for ESM import in node:
28
+ 0 && (module.exports = {
29
+ VERSION
30
+ });
package/dist/index.mjs ADDED
@@ -0,0 +1,5 @@
1
+ // src/index.ts
2
+ var VERSION = "0.0.1";
3
+ export {
4
+ VERSION
5
+ };
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "skill-tree",
3
+ "version": "0.0.1",
4
+ "description": "Framework for agents to gradually refine skills",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "scripts": {
19
+ "build": "tsup src/index.ts --format cjs,esm --dts",
20
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
21
+ "lint": "tsc --noEmit",
22
+ "prepublishOnly": "npm run build"
23
+ },
24
+ "keywords": [
25
+ "ai",
26
+ "agents",
27
+ "skills",
28
+ "llm"
29
+ ],
30
+ "author": "",
31
+ "license": "MIT",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/alexngai/skill-tree.git"
35
+ },
36
+ "devDependencies": {
37
+ "tsup": "^8.0.0",
38
+ "typescript": "^5.0.0"
39
+ }
40
+ }