@mstar-harness/cli 2.1.0 → 2.1.1
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/mstar-harness.js +44 -46
- package/package.json +2 -2
package/dist/mstar-harness.js
CHANGED
|
@@ -4072,28 +4072,27 @@ function resolveSddDir(harnessDir, planId) {
|
|
|
4072
4072
|
}
|
|
4073
4073
|
var GITIGNORE_SNIPPET = `# Morning Star harness (.mstar/)
|
|
4074
4074
|
# Principle: process stays local; results are shared with the team.
|
|
4075
|
-
#
|
|
4076
|
-
.mstar
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
# Tracked (results): .mstar/AGENTS.md, .mstar/knowledge/, .mstar/specs/
|
|
4075
|
+
# Default-ignore everything under .mstar/, then re-include the tracked results.
|
|
4076
|
+
.mstar/**
|
|
4077
|
+
!.mstar/AGENTS.md
|
|
4078
|
+
!.mstar/knowledge/
|
|
4079
|
+
!.mstar/knowledge/**
|
|
4080
|
+
!.mstar/specs/
|
|
4081
|
+
!.mstar/specs/**
|
|
4083
4082
|
`;
|
|
4084
4083
|
var GITIGNORE_SNIPPET_AGENTS = `# Morning Star harness (.agents/) — legacy
|
|
4085
|
-
.agents
|
|
4086
|
-
.agents
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4084
|
+
# Default-ignore everything under .agents/, then re-include the tracked results.
|
|
4085
|
+
.agents/**
|
|
4086
|
+
!.agents/AGENTS.md
|
|
4087
|
+
!.agents/knowledge/
|
|
4088
|
+
!.agents/knowledge/**
|
|
4089
|
+
!.agents/specs/
|
|
4090
|
+
!.agents/specs/**
|
|
4092
4091
|
`;
|
|
4093
4092
|
var GITIGNORE_PROCESS_ENTRIES = GITIGNORE_SNIPPET.split(`
|
|
4094
|
-
`).filter((line) => line.startsWith(".mstar/")).map((line) => line.trim());
|
|
4093
|
+
`).filter((line) => line.startsWith(".mstar/") || line.startsWith("!.mstar/")).map((line) => line.trim());
|
|
4095
4094
|
var GITIGNORE_PROCESS_ENTRIES_AGENTS = GITIGNORE_SNIPPET_AGENTS.split(`
|
|
4096
|
-
`).filter((line) => line.startsWith(".agents/")).map((line) => line.trim());
|
|
4095
|
+
`).filter((line) => line.startsWith(".agents/") || line.startsWith("!.agents/")).map((line) => line.trim());
|
|
4097
4096
|
function isDirectory(dir) {
|
|
4098
4097
|
try {
|
|
4099
4098
|
return statSync(dir).isDirectory();
|
|
@@ -6379,28 +6378,27 @@ function readHarnessVersion() {
|
|
|
6379
6378
|
}
|
|
6380
6379
|
var GITIGNORE_SNIPPET2 = `# Morning Star harness (.mstar/)
|
|
6381
6380
|
# Principle: process stays local; results are shared with the team.
|
|
6382
|
-
#
|
|
6383
|
-
.mstar
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
# Tracked (results): .mstar/AGENTS.md, .mstar/knowledge/, .mstar/specs/
|
|
6381
|
+
# Default-ignore everything under .mstar/, then re-include the tracked results.
|
|
6382
|
+
.mstar/**
|
|
6383
|
+
!.mstar/AGENTS.md
|
|
6384
|
+
!.mstar/knowledge/
|
|
6385
|
+
!.mstar/knowledge/**
|
|
6386
|
+
!.mstar/specs/
|
|
6387
|
+
!.mstar/specs/**
|
|
6390
6388
|
`;
|
|
6391
6389
|
var GITIGNORE_SNIPPET_AGENTS2 = `# Morning Star harness (.agents/) — legacy
|
|
6392
|
-
.agents
|
|
6393
|
-
.agents
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6390
|
+
# Default-ignore everything under .agents/, then re-include the tracked results.
|
|
6391
|
+
.agents/**
|
|
6392
|
+
!.agents/AGENTS.md
|
|
6393
|
+
!.agents/knowledge/
|
|
6394
|
+
!.agents/knowledge/**
|
|
6395
|
+
!.agents/specs/
|
|
6396
|
+
!.agents/specs/**
|
|
6399
6397
|
`;
|
|
6400
6398
|
var GITIGNORE_PROCESS_ENTRIES2 = GITIGNORE_SNIPPET2.split(`
|
|
6401
|
-
`).filter((line) => line.startsWith(".mstar/")).map((line) => line.trim());
|
|
6399
|
+
`).filter((line) => line.startsWith(".mstar/") || line.startsWith("!.mstar/")).map((line) => line.trim());
|
|
6402
6400
|
var GITIGNORE_PROCESS_ENTRIES_AGENTS2 = GITIGNORE_SNIPPET_AGENTS2.split(`
|
|
6403
|
-
`).filter((line) => line.startsWith(".agents/")).map((line) => line.trim());
|
|
6401
|
+
`).filter((line) => line.startsWith(".agents/") || line.startsWith("!.agents/")).map((line) => line.trim());
|
|
6404
6402
|
function isPlainObject4(value) {
|
|
6405
6403
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6406
6404
|
}
|
|
@@ -7104,18 +7102,18 @@ function validateSymlink(target, linkPath) {
|
|
|
7104
7102
|
return errors2;
|
|
7105
7103
|
}
|
|
7106
7104
|
var HARNESS_PROCESS_GITIGNORE = [
|
|
7107
|
-
".mstar
|
|
7108
|
-
"
|
|
7109
|
-
"
|
|
7110
|
-
"
|
|
7111
|
-
"
|
|
7112
|
-
"
|
|
7113
|
-
".agents
|
|
7114
|
-
"
|
|
7115
|
-
"
|
|
7116
|
-
"
|
|
7117
|
-
"
|
|
7118
|
-
"
|
|
7105
|
+
".mstar/**",
|
|
7106
|
+
"!.mstar/AGENTS.md",
|
|
7107
|
+
"!.mstar/knowledge/",
|
|
7108
|
+
"!.mstar/knowledge/**",
|
|
7109
|
+
"!.mstar/specs/",
|
|
7110
|
+
"!.mstar/specs/**",
|
|
7111
|
+
".agents/**",
|
|
7112
|
+
"!.agents/AGENTS.md",
|
|
7113
|
+
"!.agents/knowledge/",
|
|
7114
|
+
"!.agents/knowledge/**",
|
|
7115
|
+
"!.agents/specs/",
|
|
7116
|
+
"!.agents/specs/**"
|
|
7119
7117
|
];
|
|
7120
7118
|
function missingHarnessProcessGitignoreEntries(gitignoreContent) {
|
|
7121
7119
|
const lines = gitignoreContent.split(/\r?\n/);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mstar-harness/cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Morning Star harness CLI — installer bootstrap + mstar workflow verbs (path/status/lease/sdd/iteration/dispatch/worktree/lint/design-md/audit/compound/host/skill).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@mstar-harness/engine": "2.1.
|
|
37
|
+
"@mstar-harness/engine": "2.1.1"
|
|
38
38
|
}
|
|
39
39
|
}
|