sawbuck 0.1.26 → 0.1.27
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/package.json +1 -1
- package/sawbuck.mjs +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sawbuck",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"description": "Sign your agent to a contract: a deterministic, zero-LLM check re-proves every win from the agent's source edits alone, so a green that came from editing the test, grader, or config is caught and sent back. Works in Claude Code, Codex, git hooks, and CI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
package/sawbuck.mjs
CHANGED
|
@@ -49,7 +49,8 @@ const argv = process.argv.slice(2);
|
|
|
49
49
|
const cmd = argv[0];
|
|
50
50
|
const rest = argv.slice(1);
|
|
51
51
|
const flags = new Set(rest.filter((a) => a.startsWith('--')));
|
|
52
|
-
|
|
52
|
+
// `-n N` (sawbuck log) is a flag with a value, not a repo path.
|
|
53
|
+
const positional = rest.filter((a, i) => !a.startsWith('--') && a !== '-n' && rest[i - 1] !== '-n');
|
|
53
54
|
const repoArg = () => resolve(positional[0] || '.');
|
|
54
55
|
const dry = flags.has('--dry-run');
|
|
55
56
|
|