@colony2/c2j 0.0.105 → 0.0.107

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 +17 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -412,10 +412,27 @@ metadata as `prompt` and exposed in job and recipe listing JSON. Empty values,
412
412
  non-string values, and secret references are omitted from this metadata field.
413
413
  This records the submitted prompt; it does not evaluate recipe defaults or templates.
414
414
 
415
+ Optional job title:
416
+
417
+ ```bash
418
+ c2j submit "Update the review interface" --title "Improve review UI" --embed
419
+ ```
420
+
421
+ `--title` inserts the supplied text as `inputs.title`. You can also supply `title`
422
+ in `--inputs-json` or `--inputs-file`. Custom recipes should declare `title` in
423
+ their input schema when accepting it. A nonblank string title is stored verbatim
424
+ in job metadata and exposed as optional `title` in job, recipe-job, child-job,
425
+ and goal-candidate responses. Empty or whitespace-only values, non-string values,
426
+ and secret references are omitted from title metadata. Responses preserve stored
427
+ titles verbatim and do not generate a title from the prompt or goal ID; display
428
+ fallbacks belong to the client. Metadata captures submitted text, not evaluated
429
+ recipe defaults or later changes to inputs.
430
+
415
431
  Rules:
416
432
 
417
433
  - `--inputs-json` and `--inputs-file` are mutually exclusive
418
434
  - the positional prompt cannot also be provided as `inputs.prompt`
435
+ - `--title` cannot also be provided as `inputs.title`, even if either value is empty
419
436
 
420
437
  ### Attaching files
421
438
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colony2/c2j",
3
- "version": "0.0.105",
3
+ "version": "0.0.107",
4
4
  "description": "c2j job system",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/colony-2/c2j",