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/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 DEFAULT_AI_PATTERNS;
51
- var init_types = __esm(() => {
52
- DEFAULT_AI_PATTERNS = [
53
- { name: "Claude Opus", pattern: "^Co-Authored-By: Claude Opus" },
54
- { name: "GitHub Copilot", pattern: "^Co-Authored-By: GitHub Copilot" },
55
- { name: "ChatGPT", pattern: "^Co-Authored-By: ChatGPT" },
56
- { name: "Anthropic", pattern: "^Co-Authored-By: Anthropic" },
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
  };