@framers/agentos-template-basic-tool 1.0.0 → 1.1.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.
- package/README.md +0 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/manifest.json +3 -3
- package/package.json +11 -8
package/README.md
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAG5E;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,oBAAoB,GAAG,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAG5E;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,oBAAoB,GAAG,aAAa,CA6ChF;AAGD,eAAe,mBAAmB,CAAC;AAGnC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,9 @@ function createExtensionPack(context) {
|
|
|
22
22
|
const tool = new exampleTool_1.ExampleTool(config);
|
|
23
23
|
return {
|
|
24
24
|
name: '@framers/agentos-ext-template',
|
|
25
|
-
|
|
25
|
+
// Read from package.json, which every published tarball carries, so a release
|
|
26
|
+
// cannot leave the reported version behind the installed one.
|
|
27
|
+
version: require('../package.json').version,
|
|
26
28
|
descriptors: [
|
|
27
29
|
{
|
|
28
30
|
id: 'exampleTool',
|
|
@@ -34,7 +36,7 @@ function createExtensionPack(context) {
|
|
|
34
36
|
metadata: {
|
|
35
37
|
category: 'utility',
|
|
36
38
|
requiresApiKey: true,
|
|
37
|
-
documentation: 'https://github.com/
|
|
39
|
+
documentation: 'https://github.com/framerslab/agentos-extensions/tree/main/packages/ext-template'
|
|
38
40
|
},
|
|
39
41
|
source: context.source,
|
|
40
42
|
onActivate: async (ctx) => {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AACd;;;GAGG;;;AAQH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AACd;;;GAGG;;;AAQH,kDA6CC;AAlDD,qDAAkD;AAElD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,OAA6B;IAC/D,MAAM,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;IAEjC,2CAA2C;IAC3C,MAAM,MAAM,GAAG;QACb,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,GAAG,CAAC,gBAAgB;QACtD,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,yBAAyB;QACvD,GAAG,OAAO;KACX,CAAC;IAEF,MAAM,IAAI,GAAG,IAAI,yBAAW,CAAC,MAAM,CAAC,CAAC;IAErC,OAAO;QACL,IAAI,EAAE,+BAA+B;QACrC,8EAA8E;QAC9E,8DAA8D;QAC9D,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC,OAAO;QAC3C,WAAW,EAAE;YACX;gBACE,EAAE,EAAE,aAAa;gBACjB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,EAAE;gBACZ,eAAe,EAAE,IAAI;gBACrB,eAAe,EAAE,CAAC,EAAE,EAAE,EAAE,eAAe,EAAE,CAAC;gBAC1C,QAAQ,EAAE;oBACR,QAAQ,EAAE,SAAS;oBACnB,cAAc,EAAE,IAAI;oBACpB,aAAa,EAAE,kFAAkF;iBAClG;gBACD,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,UAAU,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;oBACxB,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,6CAA6C,CAAC,CAAC;oBAChE,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,EAAE,CAAC,eAAe,CAAC,CAAC;oBAChD,IAAI,MAAM,EAAE,CAAC;wBACX,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;oBACzB,CAAC;gBACH,CAAC;gBACD,YAAY,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;oBAC1B,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,+CAA+C,CAAC,CAAC;gBACpE,CAAC;aACF;YACD,wCAAwC;SACzC;KACF,CAAC;AACJ,CAAC;AAED,4CAA4C;AAC5C,kBAAe,mBAAmB,CAAC;AAEnC,6CAA6C;AAC7C,mDAAkD;AAAzC,0GAAA,WAAW,OAAA"}
|
package/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://agentos.sh/schemas/extension-manifest-v1.json",
|
|
3
3
|
"id": "com.framers.ext.template",
|
|
4
4
|
"name": "Template Extension",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.1.0",
|
|
6
6
|
"description": "A template for creating new AgentOS extensions",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Your Name",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
},
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"keywords": ["template", "example"],
|
|
14
|
-
"agentosVersion": "
|
|
14
|
+
"agentosVersion": ">=0.10.40",
|
|
15
15
|
"categories": ["utility"],
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
|
-
"url": "https://github.com/
|
|
18
|
+
"url": "https://github.com/framerslab/agentos-extensions"
|
|
19
19
|
},
|
|
20
20
|
"extensions": [
|
|
21
21
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@framers/agentos-template-basic-tool",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Template for creating AgentOS extensions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
27
|
-
"url": "https://github.com/
|
|
28
|
-
"directory": "
|
|
27
|
+
"url": "git+https://github.com/framerslab/agentos-extensions.git",
|
|
28
|
+
"directory": "templates/basic-tool"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist",
|
|
@@ -33,20 +33,23 @@
|
|
|
33
33
|
"README.md"
|
|
34
34
|
],
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@framers/agentos": "
|
|
36
|
+
"@framers/agentos": ">=0.10.40"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@framers/agentos": "^0.5
|
|
39
|
+
"@framers/agentos": "^0.12.5",
|
|
40
40
|
"@types/node": "^20.0.0",
|
|
41
41
|
"typescript": "^5.0.0",
|
|
42
|
-
"vitest": "^
|
|
42
|
+
"vitest": "^3.2.7"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/framerslab/agentos-extensions/tree/master/templates/basic-tool#readme",
|
|
45
|
+
"bugs": {
|
|
46
|
+
"url": "https://github.com/framerslab/agentos-extensions/issues"
|
|
43
47
|
},
|
|
44
48
|
"scripts": {
|
|
45
49
|
"build": "tsc",
|
|
46
50
|
"dev": "tsc --watch",
|
|
47
|
-
"test": "vitest",
|
|
51
|
+
"test": "vitest run --passWithNoTests",
|
|
48
52
|
"test:coverage": "vitest --coverage",
|
|
49
|
-
"lint": "eslint src --ext .ts",
|
|
50
53
|
"clean": "rm -rf dist"
|
|
51
54
|
}
|
|
52
55
|
}
|