agentfold 0.1.0 → 0.2.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 +16 -16
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ AgentFold is a **central configuration hub**. You author all layers, profiles, a
|
|
|
61
61
|
| `add-command` | Add a command file to a layer |
|
|
62
62
|
| `add-reference` | Add a reference file to a layer |
|
|
63
63
|
|
|
64
|
-
Run `agentfold --help` for full flag reference.
|
|
64
|
+
Run `npx agentfold --help` for full flag reference.
|
|
65
65
|
|
|
66
66
|
## How It Works
|
|
67
67
|
|
|
@@ -116,36 +116,36 @@ Profile selectors filter by tags (`any`/`all` mode) and namespaces. Empty select
|
|
|
116
116
|
|
|
117
117
|
```bash
|
|
118
118
|
# 1. Bootstrap config hub
|
|
119
|
-
agentfold init --targets codex,copilot
|
|
119
|
+
npx agentfold init --targets codex,copilot
|
|
120
120
|
|
|
121
121
|
# 2. Create a team layer and profile
|
|
122
|
-
agentfold create-layer --name my-team
|
|
123
|
-
agentfold create-profile --name dev --layers my-team --targets codex,copilot
|
|
122
|
+
npx agentfold create-layer --name my-team
|
|
123
|
+
npx agentfold create-profile --name dev --layers my-team --targets codex,copilot
|
|
124
124
|
|
|
125
125
|
# 3. Add content to the layer via CLI
|
|
126
|
-
agentfold add-rule --layer my-team --name code-review
|
|
127
|
-
agentfold add-skill --layer my-team --name api-patterns
|
|
128
|
-
agentfold add-subagent --layer my-team --name test-writer
|
|
129
|
-
agentfold add-command --layer my-team --name run-checks
|
|
126
|
+
npx agentfold add-rule --layer my-team --name code-review
|
|
127
|
+
npx agentfold add-skill --layer my-team --name api-patterns
|
|
128
|
+
npx agentfold add-subagent --layer my-team --name test-writer
|
|
129
|
+
npx agentfold add-command --layer my-team --name run-checks
|
|
130
130
|
|
|
131
131
|
# 4. Open the config hub to edit the generated boilerplate
|
|
132
132
|
code ~/.agentfold # VS Code
|
|
133
133
|
cursor ~/.agentfold # Cursor
|
|
134
134
|
|
|
135
135
|
# 5. Apply to a project
|
|
136
|
-
agentfold lint --profile dev --project ~/code/app
|
|
137
|
-
agentfold apply --profile dev --project ~/code/app --prune
|
|
136
|
+
npx agentfold lint --profile dev --project ~/code/app
|
|
137
|
+
npx agentfold apply --profile dev --project ~/code/app --prune
|
|
138
138
|
|
|
139
139
|
# 6. Check status
|
|
140
|
-
agentfold status --profile dev --project ~/code/app
|
|
141
|
-
agentfold doctor --profile dev --project ~/code/app
|
|
140
|
+
npx agentfold status --profile dev --project ~/code/app
|
|
141
|
+
npx agentfold doctor --profile dev --project ~/code/app
|
|
142
142
|
```
|
|
143
143
|
|
|
144
144
|
Or specify a custom config hub:
|
|
145
145
|
|
|
146
146
|
```bash
|
|
147
|
-
agentfold init --config ~/my-config --targets codex
|
|
148
|
-
agentfold apply --config ~/my-config --profile dev --project ~/code/app
|
|
147
|
+
npx agentfold init --config ~/my-config --targets codex
|
|
148
|
+
npx agentfold apply --config ~/my-config --profile dev --project ~/code/app
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
## Editing the Config Hub
|
|
@@ -163,7 +163,7 @@ code ~/.agentfold
|
|
|
163
163
|
cursor ~/.agentfold
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
From there you can edit files directly under `layers/`, create new profiles in `config/profiles/`, and manage tags in `config/definitions/`. Changes take effect the next time you run `agentfold apply`.
|
|
166
|
+
From there you can edit files directly under `layers/`, create new profiles in `config/profiles/`, and manage tags in `config/definitions/`. Changes take effect the next time you run `npx agentfold apply`.
|
|
167
167
|
|
|
168
168
|
## Generated Outputs
|
|
169
169
|
|
|
@@ -194,4 +194,4 @@ npm run sync # Lint + build + apply --prune
|
|
|
194
194
|
|
|
195
195
|
## License
|
|
196
196
|
|
|
197
|
-
MIT
|
|
197
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentfold",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Layered generator for AI agent configuration — define guidance once, compose by profile, output for multiple agent ecosystems.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
9
|
+
"url": "git+https://github.com/franciscoh017/agentfold.git"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
12
|
"ai",
|
|
@@ -38,5 +38,9 @@
|
|
|
38
38
|
],
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=18"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/franciscoh017/agentfold#readme",
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/franciscoh017/agentfold/issues"
|
|
41
45
|
}
|
|
42
46
|
}
|