@guiho/mirror 3.1.1 → 3.1.2
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/CHANGELOG.md +1 -0
- package/DOCS.md +1 -1
- package/README.md +1 -1
- package/jsr.json +1 -1
- package/library/cli.d.ts.map +1 -1
- package/library/cli.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
- Changed Mirror skill installation paths to the standard `.agents/skills` and `~/.agents/skills` directories.
|
|
13
13
|
- Changed automatic skill installation to global-only by default while keeping explicit local installation available through `mirror agents install local`.
|
|
14
|
+
- Changed no-argument `mirror` startup to run configured agent setup before showing help.
|
|
14
15
|
- Updated documentation, schema text, and tests to describe the standard agent skill directories.
|
|
15
16
|
|
|
16
17
|
## [3.1.0] - 2026-06-07
|
package/DOCS.md
CHANGED
|
@@ -319,7 +319,7 @@ Mirror uses standard agent skill directories:
|
|
|
319
319
|
|
|
320
320
|
Mirror can self-provision AI-agent instructions for projects that use standard agent skill directories.
|
|
321
321
|
|
|
322
|
-
When automation is enabled, project commands check for `AGENTS.md` and for global `guiho-as-mirror` skill installation. If guidance is missing, Mirror notifies the user and writes the missing global skill or AGENTS section. Mirror does not automatically write a local skill file; local installation is explicit.
|
|
322
|
+
When automation is enabled, project commands check for `AGENTS.md` and for global `guiho-as-mirror` skill installation. If guidance is missing, Mirror notifies the user and writes the missing global skill or AGENTS section. Running `mirror` with no arguments performs this configured setup before showing help. Mirror does not automatically write a local skill file; local installation is explicit.
|
|
323
323
|
|
|
324
324
|
Automation is controlled by `[agents]`.
|
|
325
325
|
|
package/README.md
CHANGED
|
@@ -137,7 +137,7 @@ auto_skill_install = true # Optional. Install guiho-as-mirror globa
|
|
|
137
137
|
|
|
138
138
|
### Agent Automation
|
|
139
139
|
|
|
140
|
-
Mirror is designed to be safely used by AI agents. Project commands automatically check for `AGENTS.md` and the `guiho-as-mirror` skill, then add the Mirror guidance or install the missing skill when automation is enabled.
|
|
140
|
+
Mirror is designed to be safely used by AI agents. Project commands automatically check for `AGENTS.md` and the `guiho-as-mirror` skill, then add the Mirror guidance or install the missing skill when automation is enabled. Running `mirror` with no arguments also performs this configured agent setup before showing help.
|
|
141
141
|
|
|
142
142
|
Set `write_changelog = false` when agents should skip changelog edits during release preparation. Set `changelog_path = "docs/CHANGELOG.md"` when the changelog is not at the project root. Set `auto_agents_md = false` to opt out of automatic guidance insertion, or `auto_skill_install = false` to opt out of automatic global skill installation.
|
|
143
143
|
|
package/jsr.json
CHANGED
package/library/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../source/cli.ts"],"names":[],"mappings":"AAAA;;GAEG;AA2DH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;EAc5B,CAAA;AAEJ,eAAO,MAAM,YAAY,GAAU,kBAA+B,
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../source/cli.ts"],"names":[],"mappings":"AAAA;;GAEG;AA2DH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;EAc5B,CAAA;AAEJ,eAAO,MAAM,YAAY,GAAU,kBAA+B,kBAwEjE,CAAA"}
|
package/library/cli.js
CHANGED
|
@@ -61,6 +61,9 @@ export const runMirrorCli = async (rawArgs = process.argv.slice(2)) => {
|
|
|
61
61
|
try {
|
|
62
62
|
if (effectiveArgs.includes('--no-color'))
|
|
63
63
|
process.env['NO_COLOR'] = '1';
|
|
64
|
+
if (rawArgs.length === 0) {
|
|
65
|
+
await prepareAgents({});
|
|
66
|
+
}
|
|
64
67
|
if (effectiveArgs.includes('--help')) {
|
|
65
68
|
const parsed = parseMirrorCliOptions(effectiveArgs);
|
|
66
69
|
const cwd = resolve(parsed.cwd ?? process.cwd());
|
package/package.json
CHANGED