@colony2/c2j 0.0.100 → 0.0.102

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 +4 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -256,6 +256,10 @@ c2j init --with-op-skills
256
256
 
257
257
  The generated template can derive values from the Go module in the current repo when `base: go` is appropriate. `--stdout` prints only the config and does not install skills.
258
258
 
259
+ `base: go` reads `go.mod` directly, with no Go installation or network access required. It derives the current repository from the `module` directive and discovers only direct dependencies: `require` entries without `// indirect`. Discovery uses declared module paths, not replacement destinations, and does not resolve versions or combine `go.work` modules. Keep `go.mod` current with `go mod tidy` during development.
260
+
261
+ To retain the previous command-based discovery, use `base: gocmd`. It requires Go on `PATH` and runs `go list -m` for the current module and `go list -m all` for dependencies, including transitive dependencies. Both bases retain the same repository normalization, pattern inference, filtering, and explicit config overrides. Automatic Go project detection and `c2j init` default to `base: go`.
262
+
259
263
  Bundled skill install controls:
260
264
 
261
265
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colony2/c2j",
3
- "version": "0.0.100",
3
+ "version": "0.0.102",
4
4
  "description": "c2j job system",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/colony-2/c2j",