@sous-io/sous 1.1.7 → 1.1.8

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.
@@ -4,8 +4,8 @@ The reference for every file and config key in the Repositories system; the page
4
4
  are listed at the end. You write the repository manifest and one recipe manifest per recipe; sous writes the
5
5
  rest: the published index, a project's lockfile, the marker on a store entry, and the links map.
6
6
 
7
- Every one carries `formatVersion: 1`; a future incompatible change raises that number, so an older sous
8
- refuses a file it would otherwise misread.
7
+ Every one carries `formatVersion: 1` (the repository manifest may leave it out); a future incompatible
8
+ change raises that number, so an older sous refuses a file it would otherwise misread.
9
9
 
10
10
  ?> Both hand-written manifests are YAML or JSON, never JavaScript: `.yaml`, `.yml`, `.json` or `.jsonc`
11
11
  (both JSON forms allow comments and trailing commas). Two in one directory is an error, not a first-match
@@ -35,8 +35,11 @@ repository. Only a consuming project writes the `repo:` qualifier; it is that pr
35
35
 
36
36
  ## `sous.repo.yaml`: the repository manifest
37
37
 
38
+ Sous looks for it at the repository root, then in the repository's `.sous/` directory; when both hold
39
+ one, the one at the root is used.
40
+
38
41
  ```yaml
39
- formatVersion: 1 # every format on this page carries it
42
+ formatVersion: 1 # optional; 1 when given
40
43
  name: qa-recipes # suggested short name; a project records its own
41
44
  namespaces:
42
45
  workflow:
@@ -53,12 +56,16 @@ retired: # optional: replacements for recipes no long
53
56
  - github://acme/recipes/quality/qa-remote-dep # in another repository
54
57
  ```
55
58
 
59
+ Only `recipes` is required for the file to be valid. `sous repo release` needs more: a `name`, and every
60
+ recipe's namespace under `namespaces`.
61
+
56
62
  | Field | Required | Notes |
57
63
  |-------|----------|-------|
58
- | `name` | yes | A suggestion only; `sous repo add --name` decides what a project calls it |
64
+ | `recipes` | yes | One path, or a list of paths, relative to the repository root, each holding a recipe manifest; a single string is read as a list of one, and a path listed twice is an error. A path may be a glob pattern (`recipes/*`), but `sous repo release` refuses one: list each recipe folder |
65
+ | `name` | to release | A suggestion only; `sous repo add --name` decides what a project calls it |
66
+ | `namespaces` | to release | Keyed by namespace name; each entry takes an optional `description`. A release refuses a recipe whose namespace is not listed here |
59
67
  | `description`, `contribute` | no | A summary for anyone reading the repository, and where to send a contribution when a provider cannot support `sous repo submit` |
60
- | `namespaces` | yes | Keyed by namespace name; each entry takes an optional `description` |
61
- | `recipes` | yes | Relative paths, each holding a recipe manifest; a path listed twice is an error |
68
+ | `index`, `published` | no | Where the published data lives: `index` is `embedded`, `tags`, or the path of a `.json` file relative to the repository root, and `published` holds the same data as `sous.index.json` apart from `formatVersion` and `name`. A `published` block beside an `index` of `tags` or a path is an error. This version of sous accepts both and still publishes and reads `sous.index.json` |
62
69
  | `submissions` | no | Whether the repository's recipes take proposed changes; see [The submissions block](#the-submissions-block) |
63
70
  | `retired` | no | Keyed `namespace/recipe`; see [Retired recipes](#retired-recipes) |
64
71
 
@@ -98,8 +105,9 @@ contents: # what a subscriber actually receives
98
105
 
99
106
  | Field | Required | Notes |
100
107
  |-------|----------|-------|
101
- | `namespace`, `name` | yes | The namespace must be declared by the repository manifest; the name is unique within it |
102
- | `version` | yes | An exact semantic version; the manifest is the source of truth and the git tag follows it |
108
+ | `name` | yes | Unique within the recipe's namespace |
109
+ | `namespace` | to release | The recipe's namespace; `sous repo release` refuses a recipe that names none, or one the repository manifest does not declare |
110
+ | `version` | to release | An exact semantic version; the manifest is the source of truth and the git tag follows it. `sous repo release` refuses a recipe that names none |
103
111
  | `description` | no | Copied into the index at release time; shown by `sous recipe list` and `sous repo search` |
104
112
  | `depends`, `subscribes` | no | Build dependencies and co-subscriptions; within either list, no entry may repeat |
105
113
  | `contents`, `variables` | no | Contents default to an empty list, which is what a curated bundle publishes; a duplicated variable name, or two definitions claiming one `env`, is an error. Any value in `contents` may be an expression; see [Contents are config](#contents-are-config) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sous-io/sous",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Compiles AI coding agent configuration (CLAUDE.md, skills, memories) from LiquidJS templates",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -39,49 +39,49 @@
39
39
  "sous.config.schema.json"
40
40
  ],
41
41
  "dependencies": {
42
- "@sous-io/sous-plugin-api": "1.1.7"
42
+ "@sous-io/sous-plugin-api": "1.1.8"
43
43
  },
44
44
  "devDependencies": {
45
45
  "esbuild": "^0.27.4",
46
46
  "jsonc-parser": "^3.3.1",
47
47
  "yaml": "^2.9.0",
48
48
  "zod": "^4.4.3",
49
- "@sous-io/sous-plugin-authoring": "1.1.7",
50
- "@sous-io/sous-plugin-claude-code": "1.1.7",
51
- "@sous-io/sous-plugin-build": "1.1.7",
52
- "@sous-io/sous-lib-documents": "1.1.7",
53
- "@sous-io/sous-lib-core": "1.1.7",
54
- "@sous-io/sous-plugin-cli": "1.1.7",
55
- "@sous-io/sous-plugin-compiler": "1.1.7",
56
- "@sous-io/sous-plugin-confd": "1.1.7",
57
- "@sous-io/sous-plugin-expressions": "1.1.7",
58
- "@sous-io/sous-plugin-formats": "1.1.7",
59
- "@sous-io/sous-plugin-git": "1.1.7",
60
- "@sous-io/sous-plugin-github": "1.1.7",
61
- "@sous-io/sous-plugin-gitlab": "1.1.7",
62
- "@sous-io/sous-plugin-config-files": "1.1.7",
63
- "@sous-io/sous-plugin-harnesses": "1.1.7",
64
- "@sous-io/sous-plugin-host": "1.1.7",
65
- "@sous-io/sous-plugin-inspect": "1.1.7",
66
- "@sous-io/sous-plugin-init": "1.1.7",
67
- "@sous-io/sous-plugin-liquid": "1.1.7",
68
- "@sous-io/sous-plugin-local": "1.1.7",
69
- "@sous-io/sous-plugin-mcp": "1.1.7",
70
- "@sous-io/sous-plugin-memories": "1.1.7",
71
- "@sous-io/sous-plugin-npm": "1.1.7",
72
- "@sous-io/sous-plugin-pnpm": "1.1.7",
73
- "@sous-io/sous-plugin-recipe-answers": "1.1.7",
74
- "@sous-io/sous-plugin-skills": "1.1.7",
75
- "@sous-io/sous-plugin-update": "1.1.7",
76
- "@sous-io/sous-plugin-recipes": "1.1.7",
77
- "@sous-io/sous-plugin-refs": "1.1.7",
78
- "@sous-io/sous-plugin-variables": "1.1.7",
79
- "@sous-io/sous-plugin-yarn": "1.1.7",
80
- "@sous-io/sous-plugin-editor": "1.1.7",
81
- "@sous-io/sous-plugin-handlers": "1.1.7",
82
- "@sous-io/sous-plugin-doctor": "1.1.7",
83
- "@sous-io/sous-plugin-codex": "1.1.7",
84
- "@sous-io/sous-plugin-migrations": "1.1.7"
49
+ "@sous-io/sous-lib-core": "1.1.8",
50
+ "@sous-io/sous-lib-documents": "1.1.8",
51
+ "@sous-io/sous-plugin-build": "1.1.8",
52
+ "@sous-io/sous-plugin-claude-code": "1.1.8",
53
+ "@sous-io/sous-plugin-authoring": "1.1.8",
54
+ "@sous-io/sous-plugin-cli": "1.1.8",
55
+ "@sous-io/sous-plugin-config-files": "1.1.8",
56
+ "@sous-io/sous-plugin-compiler": "1.1.8",
57
+ "@sous-io/sous-plugin-confd": "1.1.8",
58
+ "@sous-io/sous-plugin-expressions": "1.1.8",
59
+ "@sous-io/sous-plugin-formats": "1.1.8",
60
+ "@sous-io/sous-plugin-github": "1.1.8",
61
+ "@sous-io/sous-plugin-git": "1.1.8",
62
+ "@sous-io/sous-plugin-gitlab": "1.1.8",
63
+ "@sous-io/sous-plugin-host": "1.1.8",
64
+ "@sous-io/sous-plugin-init": "1.1.8",
65
+ "@sous-io/sous-plugin-harnesses": "1.1.8",
66
+ "@sous-io/sous-plugin-inspect": "1.1.8",
67
+ "@sous-io/sous-plugin-liquid": "1.1.8",
68
+ "@sous-io/sous-plugin-local": "1.1.8",
69
+ "@sous-io/sous-plugin-mcp": "1.1.8",
70
+ "@sous-io/sous-plugin-memories": "1.1.8",
71
+ "@sous-io/sous-plugin-npm": "1.1.8",
72
+ "@sous-io/sous-plugin-pnpm": "1.1.8",
73
+ "@sous-io/sous-plugin-recipe-answers": "1.1.8",
74
+ "@sous-io/sous-plugin-refs": "1.1.8",
75
+ "@sous-io/sous-plugin-skills": "1.1.8",
76
+ "@sous-io/sous-plugin-update": "1.1.8",
77
+ "@sous-io/sous-plugin-recipes": "1.1.8",
78
+ "@sous-io/sous-plugin-variables": "1.1.8",
79
+ "@sous-io/sous-plugin-handlers": "1.1.8",
80
+ "@sous-io/sous-plugin-yarn": "1.1.8",
81
+ "@sous-io/sous-plugin-editor": "1.1.8",
82
+ "@sous-io/sous-plugin-doctor": "1.1.8",
83
+ "@sous-io/sous-plugin-migrations": "1.1.8",
84
+ "@sous-io/sous-plugin-codex": "1.1.8"
85
85
  },
86
86
  "engines": {
87
87
  "node": ">=22"
@@ -34,10 +34,13 @@ For one recipe (its manifest, version, variables, contents and dependencies), YO
34
34
 
35
35
  A recipe repository holds three kinds of file that sous reads:
36
36
 
37
- - `sous.repo.yaml`, the **repo manifest**, written by hand: the repository's suggested short name,
38
- an optional description, its namespaces, and the list of recipe folders it publishes. A folder
37
+ - `sous.repo.yaml`, the **repo manifest**, written by hand, at the repository root or in its
38
+ `.sous/` directory (the root's wins when both exist): the repository's suggested short name, an
39
+ optional description, its namespaces, and the list of recipe folders it publishes. A folder
39
40
  is a recipe because this list names it; a new recipe folder MUST be added to the list, or it is
40
- not published. Every recipe MUST belong to a namespace declared here.
41
+ not published. Only `recipes` is required for the file to be valid, but `sous repo release`
42
+ needs a `name`, a plain folder path per recipe (it refuses a glob pattern), and every recipe's
43
+ namespace declared here.
41
44
  - `sous.recipe.yaml`, one **recipe manifest** in each recipe folder; see `about-sous-recipes`.
42
45
  - `sous.index.json`, the **index**: the catalog projects read, written only by `sous repo release`.
43
46
  NEVER edit it by hand.
@@ -11,7 +11,7 @@ formatVersion: 1
11
11
 
12
12
  namespace: core
13
13
  name: sous-skills
14
- version: 1.1.7
14
+ version: 1.1.8
15
15
 
16
16
  description: >-
17
17
  The skills that teach an agent what sous is and how it works: which files sous