@colony2/c2j 0.0.106 → 0.0.108

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 +23 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -94,7 +94,8 @@ records the full Git commit when known. Release and Nix builds stamp both values
94
94
  even with Go's VCS stamping disabled. Applications embedding c2j report its Go
95
95
  dependency version; they can supply provenance overrides when registering workers.
96
96
 
97
- See [Execution tools](EXECUTION_TOOLS.md) for lazy pnpm, Nix, and uv tool dependencies and provider-owned cache storage.
97
+ See [Execution tools](EXECUTION_TOOLS.md) for repository `packages` in `.c2/config.yaml`,
98
+ pnpm/uv tools, Nix native libraries, and provider-owned cache storage.
98
99
  See [Extension ops](EXTENSION_OPS.md) for authoring, publishing, and invoking prebuilt Nix ops.
99
100
 
100
101
  ## Nix package
@@ -412,10 +413,27 @@ metadata as `prompt` and exposed in job and recipe listing JSON. Empty values,
412
413
  non-string values, and secret references are omitted from this metadata field.
413
414
  This records the submitted prompt; it does not evaluate recipe defaults or templates.
414
415
 
416
+ Optional job title:
417
+
418
+ ```bash
419
+ c2j submit "Update the review interface" --title "Improve review UI" --embed
420
+ ```
421
+
422
+ `--title` inserts the supplied text as `inputs.title`. You can also supply `title`
423
+ in `--inputs-json` or `--inputs-file`. Custom recipes should declare `title` in
424
+ their input schema when accepting it. A nonblank string title is stored verbatim
425
+ in job metadata and exposed as optional `title` in job, recipe-job, child-job,
426
+ and goal-candidate responses. Empty or whitespace-only values, non-string values,
427
+ and secret references are omitted from title metadata. Responses preserve stored
428
+ titles verbatim and do not generate a title from the prompt or goal ID; display
429
+ fallbacks belong to the client. Metadata captures submitted text, not evaluated
430
+ recipe defaults or later changes to inputs.
431
+
415
432
  Rules:
416
433
 
417
434
  - `--inputs-json` and `--inputs-file` are mutually exclusive
418
435
  - the positional prompt cannot also be provided as `inputs.prompt`
436
+ - `--title` cannot also be provided as `inputs.title`, even if either value is empty
419
437
 
420
438
  ### Attaching files
421
439
 
@@ -647,6 +665,10 @@ it does not give every descendant the corresponding lease capabilities.
647
665
  See [recipe node permissions](GUIDE-Node-Permissions.md) for examples of explicit
648
666
  inputs, foreign op defaults, include grants, and forwarding secret inputs.
649
667
 
668
+ Repository-local `cell://` includes resolve at hook entry and use per-hook JobDB
669
+ configuration for permissions. See [local recipe hooks](GUIDE-Local-Recipe-Hooks.md)
670
+ for contracts, snapshot behavior, and `c2j hooks perms` administration.
671
+
650
672
  ### Recipe timeouts and recovery
651
673
 
652
674
  c2j does not set default job or built-in op timeouts. Set `timeout` on a recipe
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colony2/c2j",
3
- "version": "0.0.106",
3
+ "version": "0.0.108",
4
4
  "description": "c2j job system",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/colony-2/c2j",