@yagni-app/code-staging 1.2.7-staging.2031.1 → 1.2.7-staging.2035.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.
|
@@ -127,9 +127,10 @@ export declare function canonicalCheckCommand(command: string): string;
|
|
|
127
127
|
* True when a command changes the checkout's git state: a commit, a branch
|
|
128
128
|
* created or switched, a reset, a stash, a push. `git branch`, `git remote`
|
|
129
129
|
* and `git config` count as reads only in their listing forms. The same rule
|
|
130
|
-
* as `changesGitState` in the backend's
|
|
131
|
-
* a check out of the session's `checks.json`; both test files
|
|
132
|
-
* command corpus (test/fixtures/gitStateCommands.json), so they
|
|
130
|
+
* as `changesGitState` in the backend's repos/capabilities/repositoryChecks.ts,
|
|
131
|
+
* which leaves such a check out of the session's `checks.json`; both test files
|
|
132
|
+
* read one command corpus (test/fixtures/gitStateCommands.json), so they
|
|
133
|
+
* cannot drift.
|
|
133
134
|
*/
|
|
134
135
|
export declare function changesGitState(command: string): boolean;
|
|
135
136
|
/** One command the gate ran, and how it went. */
|
|
@@ -166,9 +166,10 @@ const GIT_CALL =
|
|
|
166
166
|
* True when a command changes the checkout's git state: a commit, a branch
|
|
167
167
|
* created or switched, a reset, a stash, a push. `git branch`, `git remote`
|
|
168
168
|
* and `git config` count as reads only in their listing forms. The same rule
|
|
169
|
-
* as `changesGitState` in the backend's
|
|
170
|
-
* a check out of the session's `checks.json`; both test files
|
|
171
|
-
* command corpus (test/fixtures/gitStateCommands.json), so they
|
|
169
|
+
* as `changesGitState` in the backend's repos/capabilities/repositoryChecks.ts,
|
|
170
|
+
* which leaves such a check out of the session's `checks.json`; both test files
|
|
171
|
+
* read one command corpus (test/fixtures/gitStateCommands.json), so they
|
|
172
|
+
* cannot drift.
|
|
172
173
|
*/
|
|
173
174
|
export function changesGitState(command) {
|
|
174
175
|
const calls = command.matchAll(GIT_CALL);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yagni-app/code-staging",
|
|
3
|
-
"version": "1.2.7-staging.
|
|
3
|
+
"version": "1.2.7-staging.2035.1",
|
|
4
4
|
"description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"turndown": "^7.2.4",
|
|
59
59
|
"typebox": "^1.3.15"
|
|
60
60
|
},
|
|
61
|
-
"yagniSourceSha": "
|
|
61
|
+
"yagniSourceSha": "83d927d6ece210d0734c46e6654c34bf89ecb565"
|
|
62
62
|
}
|