@colony2/c2j 0.0.85 → 0.0.86

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.
Files changed (2) hide show
  1. package/README.md +35 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -197,6 +197,41 @@ c2j cells --json
197
197
 
198
198
  This is mainly useful when you want to target another cell by short name and need to verify how config expands it.
199
199
 
200
+ The table includes a description column. JSON rows contain `short_name`, `repo`,
201
+ and an optional `description`; multiline descriptions retain their newlines in JSON.
202
+
203
+ ### `c2j cell add`
204
+
205
+ Add or update a manually listed dependent cell in the nearest `.c2/config.yaml`:
206
+
207
+ ```bash
208
+ c2j cell add github.com/acme/auth --description 'Authentication service'
209
+ c2j cell add auth --description 'Identity and sessions' --stdout
210
+ c2j cell add auth --description ''
211
+ ```
212
+
213
+ Short names require a configured or derived pattern. `--stdout` previews the
214
+ complete YAML without writing. Omitting `--description` preserves the current
215
+ description; an empty value clears it. Repeating the same edit leaves the file
216
+ unchanged. Edits preserve comments and unrelated config; YAML indentation may
217
+ be normalized. If no config exists, run `c2j init --no-skills` at the project root.
218
+
219
+ Manual lists support simple strings and detailed mappings, including mixed lists:
220
+
221
+ ```yaml
222
+ pattern: 'github.com/acme/${{ cell }}'
223
+ dependents:
224
+ - github.com/acme/shared
225
+ - repo: github.com/acme/auth
226
+ description: Authentication service
227
+ ```
228
+
229
+ A manual list defines the complete allowed set and bypasses discovery filtering.
230
+ Automatically detected cells are used directly and stay live. Adding an already
231
+ detected cell without a description succeeds without writing. Adding undetected
232
+ cells or descriptions in discovery mode is not supported by this command;
233
+ descriptions currently belong to manual entries.
234
+
200
235
  ### `c2j init`
201
236
 
202
237
  Writes a commented `.c2/config.yaml` template and installs bundled c2j skills for Codex-compatible agents.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colony2/c2j",
3
- "version": "0.0.85",
3
+ "version": "0.0.86",
4
4
  "description": "c2j job system",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/colony-2/c2j",