@sous-io/sous 1.0.14 → 1.0.15
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/dist/bin.js +8 -2
- package/dist/sous.js +46 -46
- package/docs/markdown/commands.md +4 -2
- package/docs/markdown/configuration.md +3 -2
- package/docs/markdown/repositories-authoring.md +5 -0
- package/docs/markdown/repositories-providers.md +1 -0
- package/docs/markdown/repositories-troubleshooting.md +5 -2
- package/package.json +33 -33
- package/recipes/core/sous-skills/sous.recipe.yaml +1 -1
|
@@ -40,8 +40,10 @@ already exists.
|
|
|
40
40
|
- `--timings` prints how long each step of the run took.
|
|
41
41
|
- `--json`, on the commands that print a listing or a report, prints it as JSON instead.
|
|
42
42
|
|
|
43
|
-
Sous
|
|
44
|
-
`--
|
|
43
|
+
Sous reports, at the `debug` level, when a step takes longer than its time budget, so the report shows only
|
|
44
|
+
with `--debug` or `--log-level debug`. It goes to standard error, so it never mixes with `--json` output. Time
|
|
45
|
+
spent waiting for you to answer a question does not count. The `budgets` config key changes a budget, and
|
|
46
|
+
`false` turns its report off.
|
|
45
47
|
|
|
46
48
|
`sous --version` prints the version (`v1.2.3`); add `--verbose` for where it is installed, the platform and
|
|
47
49
|
the Node build.
|
|
@@ -163,8 +163,9 @@ Two more keys settle what plugins do:
|
|
|
163
163
|
the same one stops sous with an error until you choose one:
|
|
164
164
|
`"services": { "replace": { "git.runner": "sous-plugin-fast-git" } }`. Sous then warns on every
|
|
165
165
|
run that the other plugin may not work as expected.
|
|
166
|
-
- `budgets` changes how long a step may take before sous
|
|
167
|
-
`false` turns that
|
|
166
|
+
- `budgets` changes how long a step may take before sous reports that it is slow (at the `debug`
|
|
167
|
+
level, so only with `--debug`); a budget set to `false` turns that report off. `--timings` on any
|
|
168
|
+
command prints how long every step took.
|
|
168
169
|
|
|
169
170
|
`sous plugins show` lists every plugin and what it adds. Recipes may ship plugins too; see
|
|
170
171
|
[where plugins come from](architecture/specifications/S1-engine.md#where-plugins-come-from).
|
|
@@ -276,6 +276,11 @@ says which one to keep. `--ci` implies `--no-bump` and `--yes`, accepting the pl
|
|
|
276
276
|
but it deliberately does not imply `--push`, so what a workflow pushes stays visible in the workflow file. Under
|
|
277
277
|
either, a recipe whose files changed without a bump is an error naming its manifest and the colliding tag.
|
|
278
278
|
|
|
279
|
+
`--push` pushes the branch to `origin`, plus every release tag that `sous.index.json` publishes, that this checkout
|
|
280
|
+
holds and that `origin` lacks. That includes tags an earlier run cut without `--push`, so the pushed index never
|
|
281
|
+
names a tag subscribers cannot fetch. The tags go first, then the branch. A `--push` run with nothing new to
|
|
282
|
+
release still pushes them, which is how to send a release you made without `--push`.
|
|
283
|
+
|
|
279
284
|
### The branch rule
|
|
280
285
|
|
|
281
286
|
The default branch is whatever `origin/HEAD` points at. On any other branch a release bumps and commits but cuts
|
|
@@ -183,6 +183,7 @@ Error: could not read gitlab.com/acme/private-recipes.
|
|
|
183
183
|
Fix one of these:
|
|
184
184
|
export GITLAB_TOKEN=<a token with read_repository>
|
|
185
185
|
set up git access to gitlab.com (an SSH key, or a credential helper)
|
|
186
|
+
A token reads only the index. Recipe files are downloaded with git, so building also needs git access.
|
|
186
187
|
```
|
|
187
188
|
|
|
188
189
|
**A recipe's files** come from git itself: a shallow, blobless, sparse clone at the version's
|
|
@@ -341,10 +341,13 @@ Error: could not read gitlab.com/acme/private-recipes.
|
|
|
341
341
|
Fix one of these:
|
|
342
342
|
export GITLAB_TOKEN=<a token with read_repository>
|
|
343
343
|
set up git access to gitlab.com (an SSH key, or a credential helper)
|
|
344
|
+
A token reads only the index. Recipe files are downloaded with git, so building also needs git access.
|
|
344
345
|
```
|
|
345
346
|
|
|
346
|
-
Sous tried every way it has to read the repository, and each line says why that one failed. Any
|
|
347
|
-
|
|
347
|
+
Sous tried every way it has to read the repository's index, and each line says why that one failed. Any
|
|
348
|
+
one fix lets sous read the index. Recipe files are a different matter: sous downloads them with git alone,
|
|
349
|
+
so a build needs git access to the host (an SSH key, or a credential helper) even when a token is set. A
|
|
350
|
+
token in the environment only makes reading the index faster. `gh` and `glab` are not needed to read.
|
|
348
351
|
The order sous tries, and where it finds a token, are under
|
|
349
352
|
[Private repositories](repositories-providers.md#private-repositories).
|
|
350
353
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sous-io/sous",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
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,44 +39,44 @@
|
|
|
39
39
|
"sous.config.schema.json"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@sous-io/plugin-api": "1.0.
|
|
42
|
+
"@sous-io/plugin-api": "1.0.15"
|
|
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/core": "1.0.
|
|
50
|
-
"@sous-io/documents": "1.0.
|
|
51
|
-
"@sous-io/plugin-
|
|
52
|
-
"@sous-io/plugin-claude-code": "1.0.
|
|
53
|
-
"@sous-io/plugin-
|
|
54
|
-
"@sous-io/plugin-
|
|
55
|
-
"@sous-io/plugin-
|
|
56
|
-
"@sous-io/plugin-
|
|
57
|
-
"@sous-io/plugin-formats": "1.0.
|
|
58
|
-
"@sous-io/plugin-
|
|
59
|
-
"@sous-io/plugin-
|
|
60
|
-
"@sous-io/plugin-
|
|
61
|
-
"@sous-io/plugin-
|
|
62
|
-
"@sous-io/plugin-harnesses": "1.0.
|
|
63
|
-
"@sous-io/plugin-
|
|
64
|
-
"@sous-io/plugin-host": "1.0.
|
|
65
|
-
"@sous-io/plugin-inspect": "1.0.
|
|
66
|
-
"@sous-io/plugin-
|
|
67
|
-
"@sous-io/plugin-
|
|
68
|
-
"@sous-io/plugin-
|
|
69
|
-
"@sous-io/plugin-
|
|
70
|
-
"@sous-io/plugin-memories": "1.0.
|
|
71
|
-
"@sous-io/plugin-
|
|
72
|
-
"@sous-io/plugin-
|
|
73
|
-
"@sous-io/plugin-
|
|
74
|
-
"@sous-io/plugin-
|
|
75
|
-
"@sous-io/plugin-
|
|
76
|
-
"@sous-io/plugin-update": "1.0.
|
|
77
|
-
"@sous-io/plugin-
|
|
78
|
-
"@sous-io/plugin-
|
|
79
|
-
"@sous-io/plugin-
|
|
49
|
+
"@sous-io/core": "1.0.15",
|
|
50
|
+
"@sous-io/documents": "1.0.15",
|
|
51
|
+
"@sous-io/plugin-authoring": "1.0.15",
|
|
52
|
+
"@sous-io/plugin-claude-code": "1.0.15",
|
|
53
|
+
"@sous-io/plugin-cli": "1.0.15",
|
|
54
|
+
"@sous-io/plugin-confd": "1.0.15",
|
|
55
|
+
"@sous-io/plugin-config-files": "1.0.15",
|
|
56
|
+
"@sous-io/plugin-expressions": "1.0.15",
|
|
57
|
+
"@sous-io/plugin-formats": "1.0.15",
|
|
58
|
+
"@sous-io/plugin-git": "1.0.15",
|
|
59
|
+
"@sous-io/plugin-github": "1.0.15",
|
|
60
|
+
"@sous-io/plugin-gitlab": "1.0.15",
|
|
61
|
+
"@sous-io/plugin-build": "1.0.15",
|
|
62
|
+
"@sous-io/plugin-harnesses": "1.0.15",
|
|
63
|
+
"@sous-io/plugin-compiler": "1.0.15",
|
|
64
|
+
"@sous-io/plugin-host": "1.0.15",
|
|
65
|
+
"@sous-io/plugin-inspect": "1.0.15",
|
|
66
|
+
"@sous-io/plugin-liquid": "1.0.15",
|
|
67
|
+
"@sous-io/plugin-init": "1.0.15",
|
|
68
|
+
"@sous-io/plugin-mcp": "1.0.15",
|
|
69
|
+
"@sous-io/plugin-local": "1.0.15",
|
|
70
|
+
"@sous-io/plugin-memories": "1.0.15",
|
|
71
|
+
"@sous-io/plugin-npm": "1.0.15",
|
|
72
|
+
"@sous-io/plugin-pnpm": "1.0.15",
|
|
73
|
+
"@sous-io/plugin-recipe-answers": "1.0.15",
|
|
74
|
+
"@sous-io/plugin-refs": "1.0.15",
|
|
75
|
+
"@sous-io/plugin-yarn": "1.0.15",
|
|
76
|
+
"@sous-io/plugin-update": "1.0.15",
|
|
77
|
+
"@sous-io/plugin-skills": "1.0.15",
|
|
78
|
+
"@sous-io/plugin-variables": "1.0.15",
|
|
79
|
+
"@sous-io/plugin-recipes": "1.0.15"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": ">=22"
|