@agents24/cli 0.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.
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://docs.agents24.dev/schemas/resource-package/1.0/skill.schema.json",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema",
8
+ "name",
9
+ "description"
10
+ ],
11
+ "properties": {
12
+ "schema": {
13
+ "const": "agents24.skill/v1"
14
+ },
15
+ "name": {
16
+ "type": "string",
17
+ "minLength": 1
18
+ },
19
+ "description": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "tags": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "string"
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://docs.agents24.dev/schemas/resource-package/1.0/workflow.schema.json",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema",
8
+ "name",
9
+ "entry",
10
+ "nodes"
11
+ ],
12
+ "properties": {
13
+ "schema": {
14
+ "const": "agents24.workflow/v1"
15
+ },
16
+ "name": {
17
+ "type": "string",
18
+ "minLength": 1
19
+ },
20
+ "description": {
21
+ "type": "string"
22
+ },
23
+ "tags": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "string"
27
+ }
28
+ },
29
+ "inputs": {
30
+ "type": "object"
31
+ },
32
+ "state": {
33
+ "type": "object"
34
+ },
35
+ "outputs": {
36
+ "type": "object"
37
+ },
38
+ "entry": {
39
+ "type": "string",
40
+ "minLength": 1
41
+ },
42
+ "nodes": {
43
+ "type": "object",
44
+ "minProperties": 1,
45
+ "additionalProperties": {
46
+ "type": "object",
47
+ "oneOf": [
48
+ {
49
+ "required": [
50
+ "uses"
51
+ ]
52
+ },
53
+ {
54
+ "required": [
55
+ "type"
56
+ ]
57
+ }
58
+ ],
59
+ "properties": {
60
+ "uses": {
61
+ "type": "string"
62
+ },
63
+ "type": {
64
+ "type": "string"
65
+ },
66
+ "name": {
67
+ "type": "string"
68
+ },
69
+ "inputs": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string"
73
+ },
74
+ "uniqueItems": true
75
+ },
76
+ "with": {
77
+ "type": "object"
78
+ }
79
+ },
80
+ "additionalProperties": false
81
+ }
82
+ },
83
+ "flow": {
84
+ "type": "array",
85
+ "items": {
86
+ "type": "object",
87
+ "required": [
88
+ "from",
89
+ "to"
90
+ ],
91
+ "properties": {
92
+ "from": {
93
+ "type": "string"
94
+ },
95
+ "to": {
96
+ "type": "string"
97
+ }
98
+ },
99
+ "additionalProperties": false
100
+ }
101
+ },
102
+ "tool": {
103
+ "type": "object",
104
+ "required": [
105
+ "name",
106
+ "description"
107
+ ],
108
+ "properties": {
109
+ "name": {
110
+ "type": "string"
111
+ },
112
+ "description": {
113
+ "type": "string"
114
+ },
115
+ "session": {
116
+ "enum": [
117
+ "fresh",
118
+ "persistent",
119
+ "shared"
120
+ ]
121
+ }
122
+ },
123
+ "additionalProperties": false
124
+ }
125
+ }
126
+ }
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@agents24/cli",
3
+ "version": "0.1.0",
4
+ "description": "Git-friendly Agents24 resource package tooling.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/daniel5426/talmudpedia.git",
8
+ "directory": "packages/agents24-cli"
9
+ },
10
+ "license": "MIT",
11
+ "type": "module",
12
+ "bin": {
13
+ "agents24": "./dist/cli.js"
14
+ },
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js"
19
+ },
20
+ "./compatibility.json": "./compatibility.json"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "generated",
25
+ "compatibility.json",
26
+ "README.md",
27
+ "LICENSE"
28
+ ],
29
+ "engines": {
30
+ "node": ">=22"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public",
34
+ "provenance": false
35
+ },
36
+ "dependencies": {
37
+ "@agents24/node": "0.2.0",
38
+ "ajv": "^8.17.1",
39
+ "yaml": "^2.8.1"
40
+ },
41
+ "devDependencies": {
42
+ "@types/node": "^24.7.2",
43
+ "tsup": "^8.5.0",
44
+ "typescript": "^5.9.3"
45
+ },
46
+ "scripts": {
47
+ "sync:contract": "node scripts/sync-contract.mjs",
48
+ "check:contract": "node scripts/sync-contract.mjs --check",
49
+ "clean": "rm -rf dist",
50
+ "build": "pnpm run sync:contract && tsup",
51
+ "test": "pnpm --dir ../agents24-client build && pnpm --dir ../agents24-node build && npm run build && node --test tests/*.test.mjs",
52
+ "prepack": "npm run build"
53
+ }
54
+ }