nococli 1.0.0 → 1.0.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/README.md +2 -2
- package/dist/cli.js +4472 -4504
- package/dist/install.js +711 -741
- package/dist/types.js +7 -14
- package/dist/uninstall.js +705 -720
- package/dist/utils/git.js +119 -0
- package/dist/utils/hook.js +87 -0
- package/dist/utils/logger.js +3190 -0
- package/dist/utils/paths.js +83 -0
- package/package.json +4 -4
package/dist/types.js
CHANGED
|
@@ -47,20 +47,13 @@ var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
|
47
47
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
48
48
|
|
|
49
49
|
// src/types.ts
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
{ name: "OpenAI", pattern: "^Co-Authored-By: OpenAI" },
|
|
58
|
-
{ name: "Cursor AI", pattern: "^Co-Authored-By: Cursor AI" },
|
|
59
|
-
{ name: "AI Assistant", pattern: "^Co-Authored-By: AI Assistant" }
|
|
60
|
-
];
|
|
61
|
-
});
|
|
62
|
-
init_types();
|
|
63
|
-
|
|
50
|
+
var AI_PATTERN_REGEX = "^Co-Authored-By: (Claude|GitHub Copilot|ChatGPT|Anthropic|OpenAI|Cursor AI|AI Assistant|Tabnine|CodeWhisperer|Codeium|Replit Ghostwriter|Sourcegraph Cody|Cody).*";
|
|
51
|
+
var DEFAULT_AI_PATTERNS = [
|
|
52
|
+
{
|
|
53
|
+
name: "AI Co-Authors",
|
|
54
|
+
pattern: AI_PATTERN_REGEX
|
|
55
|
+
}
|
|
56
|
+
];
|
|
64
57
|
export {
|
|
65
58
|
DEFAULT_AI_PATTERNS
|
|
66
59
|
};
|