Skill: andy825lay-tech/github-automation-pro (version 1.0.0)

# SkillForge - GitHub Automation Skill > OpenClaw Skill for GitHub Automation > 版本：1.0.0 > 定價：Lite $20 / Pro $50 / Enterprise $200 --- ## 🚀 快速開始 ```typescript import { createGitHubSkill, SkillConfigBuilder } from '@skillforge/github-automation'; // 建立配置 const config = new SkillConfigBuilder() .setGitHubToken('ghp_your_token_here') .setDefaultOwner('your-org') .setDefaultRepo('your-repo') .enableAllFeatures() .build(); // 初始化 Skill const skill = createGitHubSkill(); await skill.initialize(config); // 建立 Issue const result = await skill.execute({ action: 'issue.create', params: { title: 'Bug Report', body: 'Something is broken...', labels: ['bug', 'priority-high'], assignees: ['developer'], }, }); console.log(`Issue created: ${result.data.url}`); ``` --- ## 📦 安裝 ```bash npm install @skillforge/github-automation ``` --- ## ✨ 功能特性 ### Issue 自動化 - ✅ 建立 Issue（支援標籤、指派） - ✅ 列出 Issue（篩選狀態、標籤、指派者） - ✅ 更新 Issue（標題、內容、狀態、標籤） - ✅ 自動分類與標籤建議 ### PR 審查輔助 - ✅ PR 摘要分析 - ✅ 檔案變更統計 - ✅ 審查清單生成 - ✅ 衝突檢測 ### Release 自動化 - ✅ 建立 Release - ✅ 自動生成 Release Notes - ✅ Draft/Pre-release 支援 ### Repo 分析 - ✅ 統計數據（Stars, Forks, Issues） - ✅ 健康度評分（基於更新頻率、文件完整性） - ✅ Rate Limit 監控 --- ## 💰 版本比較 | 功能 | Lite (USDT 20) | Pro (USDT 50) | Enterprise (USDT 200) | |------|---------------|---------------|----------------------| | Issue 自動化 | ✅ | ✅ | ✅ | | PR 分析 | 基礎 | 完整 | 完整 | | Release 自動化 | ❌ | ✅ | ✅ | | Repo 統計 | 基礎 | 完整 | 完整 | | Webhook 觸發 | ❌ | ✅ | ✅ | | 多 Repo 支援 | ❌ | ❌ | ✅ | | 自定義規則 | ❌ | ❌ | ✅ | | 優先支援 | ❌ | 郵件 | 專屬頻道 | --- ## 🔐 授權驗證 本 Skill 採用 License Key 驗證機制： ```typescript // 購買後取得的 License Key const config = new SkillConfigBuilder() .setGitHubToken('ghp_xxx') .setLicenseKey('SF-GH-XXXX-XXXX-XXXX') // 購買後提供 .build(); ``` --- ## 💳 付款方式 **僅接受 USDT (TRC-20)** - 錢包地址：[REDACTED_SECRET] - 網路：**僅限 TRC-20**，請勿使用其他網路 - 手續費：免費 - 到帳時間：即時 **購買流程**： 1. 選擇版本（Lite / Pro / Enterprise） 2. 轉帳 USDT 至上方地址 3. 截圖付款記錄 4. 發送截圖 + 您的 Email 至 Telegram: @gousmaaa 5. 24 小時內收到 License Key --- ## 🎁 推薦有賞計畫 **推薦朋友購買，雙方各得 USDT 5 回饋！** ### 如何參與 1. **購買後**取得你的專屬推薦碼（隨 License Key 發送） 2. **分享**給朋友，請他在購買時提供你的推薦碼 3. **確認收貨**後，雙方各獲得 USDT 5 回饋 ### 無上限推薦 - 推薦 4 位朋友 = 免費獲得 Lite 版 - 推薦 10 位朋友 = 免費獲得 Pro 版 - 推薦 40 位朋友 = 免費獲得 Enterprise 版 **範例**： ``` 小陳購買 Pro 版 (USDT 50)，取得推薦碼 "SF-CHEN-001" 小陳推薦給小王，小王購買時提供推薦碼 "SF-CHEN-001" → 小陳獲得 USDT 5 → 小王獲得 USDT 5（等於只付 USDT 45） ``` --- ## 🛠️ 開發 ```bash # 安裝依賴 npm install # 編譯 npm run build # 測試 npm test # 開發模式 npm run dev ``` --- ## 📝 範例 ### 自動標記 Bug Issue ```typescript await skill.execute({ action: 'issue.create', params: { title: '[BUG] 登入失敗', body: '## 問題描述\n無法使用 GitHub 登入', labels: ['bug', 'auth'], assignees: ['backend-team'], }, }); ``` ### 分析 PR ```typescript const analysis = await skill.execute({ action: 'pr.analyze', params: { pullNumber: 42, }, }); console.log(`變更檔案: ${analysis.data.changedFiles}`); console.log(`新增行數: ${analysis.data.additions}`); console.log(`刪除行數: ${analysis.data.deletions}`); ``` ### 建立 Release ```typescript await skill.execute({ action: 'release.create', params: { tagName: 'v1.0.0', name: 'Version 1.0.0', generateReleaseNotes: true, }, }); ``` --- ## 🔒 安全性 - Token 絕不會離開本地環境 - 所有 API 呼叫使用 HTTPS - 支援 Rate Limit 自動節流 - 敏感資料記憶體加密 --- ## 📄 授權 MIT License - 詳見 LICENSE 檔案 **注意**：核心程式碼已混淆處理，僅授權使用，禁止反編譯。 --- ## 🤝 支援 - Lite 版：GitHub Issues - Pro 版：Email 支援 ([REDACTED_SECRET]) - Enterprise：專屬 Slack 頻道 --- SkillForge - 專業級 OpenClaw Skills

path: GitHubClient.d.ts
content: /**
 * GitHub API Client
 * 封裝 Octokit REST API，提供統一介面
 */
import { GitHubIssue, GitHubPullRequest, GitHubRelease, RepoStats } from '../types';
export declare class GitHubClient {
    private octokit;
    private _token;
    constructor([REDACTED_SECRET]);
    /**
     * 取得目前使用的 GitHub Token（部分遮蔽）
     */
    getToken(): string;
    listIssues(owner: string, repo: string, options?: {
        state?: 'open' | 'closed' | 'all';
        labels?: string[];
        assignee?: string;
        perPage?: number;
    }): Promise<GitHubIssue[]>;
    createIssue(owner: string, repo: string, title: string, body?: string, options?: {
        labels?: string[];
        assignees?: string[];
    }): Promise<GitHubIssue>;
    updateIssue(owner: string, repo: string, issueNumber: number, updates: {
        title?: string;
        body?: string;
        state?: 'open' | 'closed';
        labels?: string[];
        assignees?: string[];
    }): Promise<GitHubIssue>;
    getPullRequest(owner: string, repo: string, pullNumber: number): Promise<GitHubPullRequest>;
    listPullRequests(owner: string, repo: string, options?: {
        state?: 'open' | 'closed' | 'all';
        perPage?: number;
    }): Promise<GitHubPullRequest[]>;
    getPullRequestFiles(owner: string, repo: string, pullNumber: number): Promise<Array<{
        filename: string;
        status: string;
        changes: number;
    }>>;
    createRelease(owner: string, repo: string, tagName: string, options?: {
        name?: string;
        body?: string;
        draft?: boolean;
        prerelease?: boolean;
        targetCommitish?: string;
    }): Promise<GitHubRelease>;
    generateReleaseNotes(owner: string, repo: string, tagName: string, previousTag?: string): Promise<string>;
    getRepoStats(owner: string, repo: string): Promise<RepoStats>;
    getRateLimit(): Promise<{
        limit: number;
        remaining: number;
        resetAt: Date;
    }>;
    private mapIssue;
    private mapPullRequest;
    private mapRelease;
    private calculateHealthScore;
}


path: GitHubSkill.d.ts
content: /**
 * GitHub Automation Skill - 主類別
 *
 * 使用設計模式：
 * - Builder Pattern: 複雜設定物件的建構
 * - Strategy Pattern: 不同操作使用不同策略
 * - Factory Pattern: Skill 實例建立
 */
import { SkillPlugin, SkillConfig, SkillInput, SkillResult, SkillSchema } from './types';
export declare class SkillConfigBuilder {
    private config;
    setGitHubToken([REDACTED_SECRET]): this;
    setDefaultOwner(owner: string): this;
    setDefaultRepo(repo: string): this;
    enableFeature(feature: keyof NonNullable<SkillConfig['features']>): this;
    enableAllFeatures(): this;
    build(): SkillConfig;
}
export declare class GitHubAutomationSkill implements SkillPlugin {
    readonly name = "github-automation";
    readonly version = "1.0.0";
    private config?;
    private strategies;
    private client?;
    constructor();
    initialize(config: SkillConfig): Promise<void>;
    execute(input: SkillInput): Promise<SkillResult>;
    getSchema(): SkillSchema;
    dispose(): Promise<void>;
    private isFeatureEnabled;
}
export declare function createGitHubSkill(): GitHubAutomationSkill;


path: GitHubSkill.js
content: const a0_0x1abc6f=a0_0x5433;(function(_0x2811b6,_0x12811a){const _0x213b86=a0_0x5433,_0x56caea=_0x2811b6();while(!![]){try{const _0x45c0a0=-parseInt(_0x213b86(0x20f))/0x1*(parseInt(_0x213b86(0x183))/0x2)+-parseInt(_0x213b86(0x181))/0x3*(-parseInt(_0x213b86(0x187))/0x4)+-parseInt(_0x213b86(0x15e))/0x5+parseInt(_0x213b86(0x204))/0x6*(parseInt(_0x213b86(0x213))/0x7)+parseInt(_0x213b86(0x167))/0x8+parseInt(_0x213b86(0x15f))/0x9+parseInt(_0x213b86(0x206))/0xa*(-parseInt(_0x213b86(0x145))/0xb);if(_0x45c0a0===_0x12811a)break;else _0x56caea['push'](_0x56caea['shift']());}catch(_0x296b58){_0x56caea['push'](_0x56caea['shift']());}}}(a0_0x267b,0x781bd));const a0_0x2d9fce=(function(){let _0x50114b=!![];return function(_0x5882e4,_0x30a11f){const _0x52ad5e=_0x50114b?function(){const _0xbaaa31=a0_0x5433;if(_0x30a11f){const _0x15c865=_0x30a11f[_0xbaaa31(0x17d)](_0x5882e4,arguments);return _0x30a11f=null,_0x15c865;}}:function(){};return _0x50114b=![],_0x52ad5e;};}()),a0_0x1e773f=a0_0x2d9fce(this,function(){const _0x1d2a59=a0_0x5433,_0x4b1b26={};_0x4b1b26[_0x1d2a59(0x23d)]=_0x1d2a59(0x164);const _0x251a61=_0x4b1b26;return a0_0x1e773f[_0x1d2a59(0x209)]()[_0x1d2a59(0x1ed)](_0x251a61[_0x1d2a59(0x23d)])[_0x1d2a59(0x209)]()[_0x1d2a59(0x1cd)](a0_0x1e773f)[_0x1d2a59(0x1ed)](_0x251a61[_0x1d2a59(0x23d)]);});a0_0x1e773f();'use strict';const a0_0x34e96c={};a0_0x34e96c[a0_0x1abc6f(0x19f)]=!![],Object[a0_0x1abc6f(0x1fd)](exports,a0_0x1abc6f(0x217),a0_0x34e96c),exports[a0_0x1abc6f(0x228)]=exports['SkillConfigBuilder']=void 0x0,exports[a0_0x1abc6f(0x1a0)]=a0_0x57e04d;const a0_0x4ef596=require('./strategies'),a0_0x327bcf=require('./api/GitHubClient');function a0_0x267b(){const _0x9763cf=['EXECUTION_ERROR','RFhbi','XRmYd','UuVQk','Created\x20issue\x20details','WEBls','iqtkR','NlBRi','constructor','object','tHcyB','qMZmL','pOkDc','Create\x20a\x20new\x20release','tikta','Ccykf','prerelease','KFckv','repoAnalytics','CpUNY','features','HiKiw','repo.health','pr.analyze','grZtF','1.0.0','gNpUm','code','iMbsA','params','secret','HWKvi','MTINk','YkugB','success','ANaZQ','GCZEr','githubToken','Mrtjk','defaultRepo','search','ZDEYT','VALIDATION_ERROR','VoNng','ryfxX','cNFWg','xsHqq','JsBwI','seSLF','JzWyD','Issue\x20number\x20to\x20update','FBDwp','Health\x20score\x20and\x20recommendations','List\x20GitHub\x20issues','setGitHubToken','github-automation','defineProperty','Aares','NRwfA','Repository\x20owner','GsjHh','XiQkM','PR\x20number','604518VSZcCu','Kqmej','396050gqmVKi','enableAllFeatures','vhDOR','toString','repo','DyKMX','kbZIG','MISSING_REPOSITORY','draft','3014WlIwYA','mzSRR','open\x20or\x20closed','uZGvw','56gVwBtN','repo.stats','yROBM','fmvEf','__esModule','join','Release\x20notes','Get\x20repository\x20statistics','Ylkcu','strategies','parameters','whhzD','FLEvz','Owner\x20and\x20repo\x20are\x20required\x20(provide\x20in\x20params\x20or\x20config)','getRateLimit','rTJyR','SCsND','version','FANeU','Mark\x20as\x20prerelease','Users\x20to\x20assign','GitHubAutomationSkill','Release\x20name','GitHub\x20token\x20is\x20required','CPWdK','description','sLwBK','KysZQ','action','PImUG','tITEa','Repository\x20owner\x20(or\x20use\x20default)','Updated\x20issue\x20details','required','Tlkxc','LDKfU','Repository\x20stats\x20including\x20stars,\x20forks,\x20issues','release.create','prAssistant','now','JyxvG','avmwv','nAIXk','Custom\x20checklist\x20items','Generate\x20PR\x20review\x20checklist','QajTL','341zGPUuu','DHztJ','lwfGb','type','UTMIm','boolean','CORyS','\x20is\x20not\x20enabled','SMYww','foQYc','PdUTy','gHgNJ','New\x20title','Filter\x20by\x20assignee','Invalid\x20GitHub\x20token\x20or\x20API\x20error','StrategyRegistry','HjJZc','QBsrj','Review\x20template\x20with\x20checklist','zxCRU','Filter\x20by\x20state:\x20open,\x20closed,\x20all','bjLYh','get','WeSPT','defaultOwner','1237890DcRwst','4252743XgsXzB','UNKNOWN_ACTION','lQIuF','Create\x20a\x20new\x20GitHub\x20issue','Created\x20release\x20details','(((.+)+)+)+$','MqqrZ','dispose','6565784fUZOaZ','Feature\x20for\x20action\x20','Tag\x20name\x20(e.g.,\x20v1.0.0)','checkList','error','mZSQH','string[]','HPBzW','xJmCA','owner','properties','tJpyY','config','ImTdz','issue.update','hVqfm','issue.list','WPCYo','RpzWx','returns','Repository\x20name','SkillConfigBuilder','apply','releaseAutomation','labels','bQaie','1294926XGlrlZ','list','374bwMMcl','build','FEATURE_DISABLED','Unknown\x20error','4sKgDKl','Analyze\x20repository\x20health','yFiXs','New\x20body','execute','Analyze\x20a\x20pull\x20request','Fnngc','rbgwS','ZBLGO','isFeatureEnabled','Issue\x20title','Issue\x20body','client','LKwqP','getSchema','actions','state','qIyiz','Feature\x20flags','BzUAv','xSXFE','PR\x20analysis\x20including\x20size,\x20risk,\x20and\x20suggestions','WbzBY','assignees','value','createGitHubSkill','Unknown\x20action:\x20','tagName','Default\x20repository\x20name','ZKYBm','PgWIy','Auto-generate\x20release\x20notes','valid','toISOString','message','kpLbw','UdeEV','setDefaultOwner','name','pr.review','setDefaultRepo','GREzI','eDord','NOT_INITIALIZED','Skill\x20not\x20initialized.\x20Call\x20initialize()\x20first.','title','Mjltg','hQeRJ','body','initialize','errors','AybMm','QGTRz','Create\x20as\x20draft','KrQNs','string','issueAutomation','dtNtj','zrMLJ','CRizg','GitHub\x20Personal\x20Access\x20Token','FiTnt'];a0_0x267b=function(){return _0x9763cf;};return a0_0x267b();}function a0_0x5433(_0x2dceca,_0x232be8){_0x2dceca=_0x2dceca-0x142;const _0x2d7c80=a0_0x267b();let _0x1db450=_0x2d7c80[_0x2dceca];return _0x1db450;}class a0_0x4eaeb3{[a0_0x1abc6f(0x173)]={};[a0_0x1abc6f(0x1fb)](_0x25b8b9){const _0x4e5577=a0_0x1abc6f;return this['config'][_0x4e5577(0x1ea)]=_0x25b8b9,this;}[a0_0x1abc6f(0x1ac)](_0x2c9bb8){const _0x1cd3cc=a0_0x1abc6f;return this[_0x1cd3cc(0x173)][_0x1cd3cc(0x15d)]=_0x2c9bb8,this;}[a0_0x1abc6f(0x1af)](_0x370690){const _0x42520d=a0_0x1abc6f;return this[_0x42520d(0x173)]['defaultRepo']=_0x370690,this;}['enableFeature'](_0x7088a0){const _0x5b8ca1=a0_0x1abc6f,_0x45622a={};_0x45622a['KysZQ']=function(_0x3a7adb,_0x3e8672){return _0x3a7adb!==_0x3e8672;},_0x45622a[_0x5b8ca1(0x222)]=_0x5b8ca1(0x172),_0x45622a['mzSRR']=_0x5b8ca1(0x1c1);const _0x55e210=_0x45622a;if(!this[_0x5b8ca1(0x173)][_0x5b8ca1(0x1d9)]){if(_0x55e210[_0x5b8ca1(0x22e)](_0x55e210[_0x5b8ca1(0x222)],_0x55e210[_0x5b8ca1(0x210)]))this[_0x5b8ca1(0x173)][_0x5b8ca1(0x1d9)]={};else return!![];}return this['config'][_0x5b8ca1(0x1d9)][_0x7088a0]=!![],this;}[a0_0x1abc6f(0x207)](){const _0x199f64=a0_0x1abc6f,_0x40aa89={};return _0x40aa89[_0x199f64(0x1bf)]=!![],_0x40aa89['prAssistant']=!![],_0x40aa89['releaseAutomation']=!![],_0x40aa89[_0x199f64(0x1d7)]=!![],this[_0x199f64(0x173)][_0x199f64(0x1d9)]=_0x40aa89,this;}[a0_0x1abc6f(0x184)](){const _0x57713c=a0_0x1abc6f,_0x5bd459={};_0x5bd459[_0x57713c(0x155)]=_0x57713c(0x1c5),_0x5bd459[_0x57713c(0x179)]=function(_0x2f8f4a,_0x47247a){return _0x2f8f4a instanceof _0x47247a;},_0x5bd459['FBDwp']='Unknown\x20error',_0x5bd459['ryfxX']=function(_0x4b8d45,_0x3722ab){return _0x4b8d45-_0x3722ab;},_0x5bd459[_0x57713c(0x1d4)]=function(_0x28db15,_0x3e8d59){return _0x28db15!==_0x3e8d59;},_0x5bd459[_0x57713c(0x1a4)]=_0x57713c(0x1f2);const _0x270c83=_0x5bd459;if(!this[_0x57713c(0x173)][_0x57713c(0x1ea)]){if(_0x270c83['Ccykf'](_0x270c83[_0x57713c(0x1a4)],_0x57713c(0x1d0)))throw new Error(_0x57713c(0x22a));else return{'success':![],'error':{'code':_0x270c83['HjJZc'],'message':_0x270c83[_0x57713c(0x179)](_0x586155,_0x39c702)?_0x1810c5[_0x57713c(0x1a9)]:_0x270c83[_0x57713c(0x1f8)]},'metadata':{'executedAt':new _0x13f100()[_0x57713c(0x1a8)](),'duration':_0x270c83[_0x57713c(0x1f1)](_0x34dfce[_0x57713c(0x23a)](),_0x5712fe)}};}return this[_0x57713c(0x173)];}}exports[a0_0x1abc6f(0x17c)]=a0_0x4eaeb3;class a0_0x1d8f96{[a0_0x1abc6f(0x1ad)]=a0_0x1abc6f(0x1fc);['version']=a0_0x1abc6f(0x1de);['config'];[a0_0x1abc6f(0x21c)];[a0_0x1abc6f(0x193)];constructor(){const _0x391a9f=a0_0x1abc6f;this['strategies']=new a0_0x4ef596[(_0x391a9f(0x154))]();}async[a0_0x1abc6f(0x1b8)](_0x1e2231){const _0x2b1768=a0_0x1abc6f,_0x3896d8={};_0x3896d8[_0x2b1768(0x235)]='GitHub\x20token\x20is\x20required',_0x3896d8[_0x2b1768(0x19d)]=_0x2b1768(0x18e),_0x3896d8[_0x2b1768(0x1a5)]=_0x2b1768(0x144),_0x3896d8[_0x2b1768(0x1d8)]=_0x2b1768(0x153);const _0x4e43f0=_0x3896d8;this['config']=_0x1e2231,this[_0x2b1768(0x193)]=new a0_0x327bcf['GitHubClient'](_0x1e2231['githubToken']);try{await this['client'][_0x2b1768(0x221)]();}catch(_0x4afebe){if(_0x4e43f0[_0x2b1768(0x19d)]!==_0x4e43f0['PgWIy'])throw new Error(_0x4e43f0[_0x2b1768(0x1d8)]);else{if(!this[_0x2b1768(0x173)][_0x2b1768(0x1ea)])throw new _0x4beffb(afSuql['Tlkxc']);return this[_0x2b1768(0x173)];}}}async[a0_0x1abc6f(0x18b)](_0x307b32){const _0x57ed4f=a0_0x1abc6f,_0x4561d1={};_0x4561d1[_0x57ed4f(0x146)]=_0x57ed4f(0x1b2),_0x4561d1['uZGvw']=_0x57ed4f(0x1b3),_0x4561d1[_0x57ed4f(0x1c0)]=_0x57ed4f(0x160),_0x4561d1['IzLSb']=_0x57ed4f(0x1ef),_0x4561d1[_0x57ed4f(0x231)]=function(_0x219606,_0x53dc3b){return _0x219606!==_0x53dc3b;},_0x4561d1['qIyiz']=_0x57ed4f(0x23c),_0x4561d1['xJmCA']=_0x57ed4f(0x185),_0x4561d1['GCZEr']=function(_0x21a49b,_0x6c294e){return _0x21a49b!==_0x6c294e;},_0x4561d1[_0x57ed4f(0x1da)]=_0x57ed4f(0x225),_0x4561d1['KFckv']=_0x57ed4f(0x20d),_0x4561d1['sLwBK']=_0x57ed4f(0x220),_0x4561d1['YkugB']=_0x57ed4f(0x1c5),_0x4561d1[_0x57ed4f(0x1ca)]=function(_0x175550,_0x3fab23){return _0x175550-_0x3fab23;},_0x4561d1[_0x57ed4f(0x236)]=function(_0x4d896a,_0x3f6152){return _0x4d896a instanceof _0x3f6152;};const _0xf2409=_0x4561d1;if(!this[_0x57ed4f(0x173)]||!this[_0x57ed4f(0x193)]){const _0x4fe99f={};_0x4fe99f[_0x57ed4f(0x1e0)]=_0xf2409[_0x57ed4f(0x146)],_0x4fe99f['message']=_0xf2409[_0x57ed4f(0x212)];const _0x480994={};return _0x480994[_0x57ed4f(0x1e7)]=![],_0x480994[_0x57ed4f(0x16b)]=_0x4fe99f,_0x480994;}const _0x6ee6ae=Date[_0x57ed4f(0x23a)](),_0x4a268a=this[_0x57ed4f(0x21c)][_0x57ed4f(0x15b)](_0x307b32[_0x57ed4f(0x22f)]);if(!_0x4a268a)return{'success':![],'error':{'code':_0xf2409[_0x57ed4f(0x1c0)],'message':_0x57ed4f(0x1a1)+_0x307b32[_0x57ed4f(0x22f)]+'.\x20Available:\x20'+this['strategies'][_0x57ed4f(0x182)]()['join'](',\x20')}};const _0x50cdda=_0x4a268a['validate'](_0x307b32['params']);if(!_0x50cdda[_0x57ed4f(0x1a7)])return{'success':![],'error':{'code':_0xf2409['IzLSb'],'message':_0x50cdda[_0x57ed4f(0x1b9)]?.[_0x57ed4f(0x218)](',\x20')||'Invalid\x20parameters'}};if(!this[_0x57ed4f(0x190)](_0x307b32[_0x57ed4f(0x22f)])){if(_0xf2409[_0x57ed4f(0x231)]('avmwv',_0xf2409[_0x57ed4f(0x198)])){const _0x5e0df7={};return _0x5e0df7[_0x57ed4f(0x1bf)]=!![],_0x5e0df7['prAssistant']=!![],_0x5e0df7[_0x57ed4f(0x17e)]=!![],_0x5e0df7[_0x57ed4f(0x1d7)]=!![],this[_0x57ed4f(0x173)]['features']=_0x5e0df7,this;}else{const _0x89a4f7={};_0x89a4f7[_0x57ed4f(0x1e0)]=_0xf2409[_0x57ed4f(0x16f)],_0x89a4f7['message']=_0x57ed4f(0x168)+_0x307b32['action']+_0x57ed4f(0x14c);const _0x56b0ea={};return _0x56b0ea['success']=![],_0x56b0ea[_0x57ed4f(0x16b)]=_0x89a4f7,_0x56b0ea;}}const _0x24db59={};_0x24db59['githubToken']=this[_0x57ed4f(0x173)]['githubToken'],_0x24db59[_0x57ed4f(0x170)]=_0x307b32['params'][_0x57ed4f(0x170)]||this[_0x57ed4f(0x173)][_0x57ed4f(0x15d)]||'',_0x24db59['repo']=_0x307b32['params']['repo']||this[_0x57ed4f(0x173)][_0x57ed4f(0x1ec)]||'',_0x24db59['params']=_0x307b32[_0x57ed4f(0x1e2)];const _0xce8195=_0x24db59;if(!_0xce8195[_0x57ed4f(0x170)]||!_0xce8195['repo']){if(_0xf2409[_0x57ed4f(0x1e9)](_0xf2409['HiKiw'],_0x57ed4f(0x225))){const _0x14e2e8={};_0x14e2e8[_0x57ed4f(0x1e0)]=_0xf2409['DHztJ'],_0x14e2e8[_0x57ed4f(0x1a9)]=_0x57ed4f(0x1b3);const _0x314803={};return _0x314803[_0x57ed4f(0x1e7)]=![],_0x314803['error']=_0x14e2e8,_0x314803;}else{const _0x3d39ff={};_0x3d39ff[_0x57ed4f(0x1e0)]=_0xf2409[_0x57ed4f(0x1d6)],_0x3d39ff[_0x57ed4f(0x1a9)]=_0xf2409[_0x57ed4f(0x22d)];const _0x19a836={};return _0x19a836['success']=![],_0x19a836[_0x57ed4f(0x16b)]=_0x3d39ff,_0x19a836;}}try{const _0x24bde2=await _0x4a268a[_0x57ed4f(0x18b)](_0xce8195);return{'success':_0x24bde2[_0x57ed4f(0x1e7)],'data':_0x24bde2['data'],'error':_0x24bde2[_0x57ed4f(0x16b)]?{'code':_0xf2409[_0x57ed4f(0x1e6)],'message':_0x24bde2[_0x57ed4f(0x16b)]}:undefined,'metadata':{'executedAt':new Date()['toISOString'](),'duration':_0xf2409[_0x57ed4f(0x1ca)](Date[_0x57ed4f(0x23a)](),_0x6ee6ae)}};}catch(_0xc74c02){return{'success':![],'error':{'code':_0xf2409['YkugB'],'message':_0xf2409[_0x57ed4f(0x236)](_0xc74c02,Error)?_0xc74c02['message']:_0x57ed4f(0x186)},'metadata':{'executedAt':new Date()[_0x57ed4f(0x1a8)](),'duration':Date[_0x57ed4f(0x23a)]()-_0x6ee6ae}};}}[a0_0x1abc6f(0x195)](){const _0x59a547=a0_0x1abc6f,_0x26eb9d={};_0x26eb9d[_0x59a547(0x161)]='issue.create',_0x26eb9d[_0x59a547(0x156)]=_0x59a547(0x162),_0x26eb9d[_0x59a547(0x1eb)]=_0x59a547(0x1b4),_0x26eb9d['iqtkR']=_0x59a547(0x191),_0x26eb9d[_0x59a547(0x1c8)]='string',_0x26eb9d['hQeRJ']=_0x59a547(0x192),_0x26eb9d[_0x59a547(0x1e1)]=_0x59a547(0x17f),_0x26eb9d['tikta']=_0x59a547(0x16d),_0x26eb9d[_0x59a547(0x20c)]='Labels\x20to\x20apply',_0x26eb9d[_0x59a547(0x1ff)]=_0x59a547(0x19e),_0x26eb9d['lwfGb']=_0x59a547(0x227),_0x26eb9d[_0x59a547(0x1d1)]='owner',_0x26eb9d[_0x59a547(0x1c2)]=_0x59a547(0x232),_0x26eb9d[_0x59a547(0x1ee)]=_0x59a547(0x20a),_0x26eb9d[_0x59a547(0x1fe)]='Repository\x20name\x20(or\x20use\x20default)',_0x26eb9d[_0x59a547(0x16e)]=_0x59a547(0x1ce),_0x26eb9d['PdUTy']=_0x59a547(0x177),_0x26eb9d[_0x59a547(0x1ba)]=_0x59a547(0x1fa),_0x26eb9d[_0x59a547(0x21b)]=_0x59a547(0x159),_0x26eb9d[_0x59a547(0x1b1)]='Filter\x20by\x20labels',_0x26eb9d[_0x59a547(0x1f5)]='assignee',_0x26eb9d[_0x59a547(0x1f3)]=_0x59a547(0x200),_0x26eb9d[_0x59a547(0x20b)]=_0x59a547(0x17b),_0x26eb9d[_0x59a547(0x15c)]='List\x20of\x20issues',_0x26eb9d[_0x59a547(0x1c4)]=_0x59a547(0x175),_0x26eb9d[_0x59a547(0x1e8)]='Update\x20an\x20existing\x20GitHub\x20issue',_0x26eb9d[_0x59a547(0x1f6)]='issueNumber',_0x26eb9d['GsjHh']='number',_0x26eb9d[_0x59a547(0x1e4)]=_0x59a547(0x1f7),_0x26eb9d[_0x59a547(0x19b)]=_0x59a547(0x151),_0x26eb9d[_0x59a547(0x19a)]=_0x59a547(0x1b7),_0x26eb9d[_0x59a547(0x178)]=_0x59a547(0x18a),_0x26eb9d[_0x59a547(0x18f)]=_0x59a547(0x197),_0x26eb9d['zxCRU']=_0x59a547(0x211),_0x26eb9d['JyxvG']=_0x59a547(0x233),_0x26eb9d['XRmYd']=_0x59a547(0x1dc),_0x26eb9d[_0x59a547(0x223)]=_0x59a547(0x18c),_0x26eb9d['VoNng']='pullNumber',_0x26eb9d[_0x59a547(0x202)]='PR\x20number',_0x26eb9d['vhDOR']=_0x59a547(0x1ae),_0x26eb9d[_0x59a547(0x150)]=_0x59a547(0x143),_0x26eb9d['FLEvz']=_0x59a547(0x16a),_0x26eb9d[_0x59a547(0x14e)]=_0x59a547(0x142),_0x26eb9d['gZoVL']=_0x59a547(0x157),_0x26eb9d[_0x59a547(0x174)]=_0x59a547(0x1a2),_0x26eb9d[_0x59a547(0x1c6)]=_0x59a547(0x169),_0x26eb9d[_0x59a547(0x1ab)]=_0x59a547(0x1ad),_0x26eb9d[_0x59a547(0x215)]=_0x59a547(0x229),_0x26eb9d[_0x59a547(0x1cc)]=_0x59a547(0x219),_0x26eb9d[_0x59a547(0x16c)]='generateNotes',_0x26eb9d[_0x59a547(0x1df)]=_0x59a547(0x14a),_0x26eb9d[_0x59a547(0x216)]=_0x59a547(0x1bc),_0x26eb9d[_0x59a547(0x1bd)]=_0x59a547(0x1d5),_0x26eb9d['whhzD']=_0x59a547(0x163),_0x26eb9d[_0x59a547(0x194)]=_0x59a547(0x214),_0x26eb9d[_0x59a547(0x205)]=_0x59a547(0x21a),_0x26eb9d[_0x59a547(0x1cf)]=_0x59a547(0x237),_0x26eb9d[_0x59a547(0x149)]=_0x59a547(0x1db),_0x26eb9d['MTINk']=_0x59a547(0x1f9),_0x26eb9d['kpLbw']='githubToken',_0x26eb9d[_0x59a547(0x14b)]=_0x59a547(0x1c3),_0x26eb9d[_0x59a547(0x230)]=_0x59a547(0x15d),_0x26eb9d[_0x59a547(0x22b)]='Default\x20repository\x20owner',_0x26eb9d[_0x59a547(0x1b5)]=_0x59a547(0x1ec),_0x26eb9d[_0x59a547(0x18d)]=_0x59a547(0x1d9),_0x26eb9d[_0x59a547(0x176)]=_0x59a547(0x199);const _0x49b633=_0x26eb9d,_0x4a40c1={};_0x4a40c1[_0x59a547(0x1ad)]=_0x49b633['lQIuF'],_0x4a40c1[_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x156)],_0x4a40c1['parameters']=[{'name':_0x49b633['Mrtjk'],'type':_0x59a547(0x1be),'required':!![],'description':_0x49b633[_0x59a547(0x1cb)]},{'name':_0x59a547(0x1b7),'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633[_0x59a547(0x1b6)]},{'name':_0x49b633[_0x59a547(0x1e1)],'type':_0x49b633['tikta'],'required':![],'description':_0x49b633['kbZIG']},{'name':_0x49b633[_0x59a547(0x1ff)],'type':_0x49b633[_0x59a547(0x1d3)],'required':![],'description':_0x49b633[_0x59a547(0x147)]},{'name':_0x49b633[_0x59a547(0x1d1)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633[_0x59a547(0x1c2)]},{'name':_0x49b633['ZDEYT'],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633['Aares']}],_0x4a40c1[_0x59a547(0x17a)]={},_0x4a40c1[_0x59a547(0x17a)][_0x59a547(0x148)]=_0x49b633[_0x59a547(0x16e)],_0x4a40c1[_0x59a547(0x17a)][_0x59a547(0x22c)]=_0x59a547(0x1c9);const _0x436af4={};_0x436af4['name']=_0x49b633[_0x59a547(0x14f)],_0x436af4[_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x1ba)],_0x436af4['parameters']=[{'name':_0x59a547(0x197),'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633[_0x59a547(0x21b)]},{'name':_0x59a547(0x17f),'type':_0x49b633[_0x59a547(0x1d3)],'required':![],'description':_0x49b633[_0x59a547(0x1b1)]},{'name':_0x49b633[_0x59a547(0x1f5)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x59a547(0x152)},{'name':_0x49b633[_0x59a547(0x1d1)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633['xsHqq']},{'name':_0x49b633[_0x59a547(0x1ee)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633['DyKMX']}],_0x436af4[_0x59a547(0x17a)]={},_0x436af4[_0x59a547(0x17a)][_0x59a547(0x148)]=_0x49b633['HPBzW'],_0x436af4[_0x59a547(0x17a)][_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x15c)];const _0x3a4fb7={};_0x3a4fb7[_0x59a547(0x1ad)]=_0x49b633['FiTnt'],_0x3a4fb7[_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x1e8)],_0x3a4fb7['parameters']=[{'name':_0x49b633[_0x59a547(0x1f6)],'type':_0x49b633[_0x59a547(0x201)],'required':!![],'description':_0x49b633[_0x59a547(0x1e4)]},{'name':_0x49b633[_0x59a547(0x1eb)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633[_0x59a547(0x19b)]},{'name':_0x49b633[_0x59a547(0x19a)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633[_0x59a547(0x178)]},{'name':_0x49b633[_0x59a547(0x18f)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633[_0x59a547(0x158)]},{'name':_0x59a547(0x170),'type':_0x49b633['UuVQk'],'required':![],'description':_0x49b633['xsHqq']},{'name':_0x49b633['ZDEYT'],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633['DyKMX']}],_0x3a4fb7[_0x59a547(0x17a)]={},_0x3a4fb7[_0x59a547(0x17a)][_0x59a547(0x148)]=_0x49b633[_0x59a547(0x16e)],_0x3a4fb7[_0x59a547(0x17a)][_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x23b)];const _0x26ac3c={};_0x26ac3c[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x1c7)],_0x26ac3c['description']=_0x49b633[_0x59a547(0x223)],_0x26ac3c[_0x59a547(0x21d)]=[{'name':_0x49b633[_0x59a547(0x1f0)],'type':_0x49b633[_0x59a547(0x201)],'required':!![],'description':_0x49b633[_0x59a547(0x202)]},{'name':_0x49b633[_0x59a547(0x1d1)],'type':_0x49b633['UuVQk'],'required':![],'description':'Repository\x20owner'},{'name':_0x49b633[_0x59a547(0x1ee)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x59a547(0x17b)}],_0x26ac3c[_0x59a547(0x17a)]={},_0x26ac3c[_0x59a547(0x17a)][_0x59a547(0x148)]=_0x49b633[_0x59a547(0x16e)],_0x26ac3c[_0x59a547(0x17a)][_0x59a547(0x22c)]=_0x59a547(0x19c);const _0x53243c={};_0x53243c[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x208)],_0x53243c[_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x150)],_0x53243c[_0x59a547(0x21d)]=[{'name':_0x49b633[_0x59a547(0x1f0)],'type':_0x49b633[_0x59a547(0x201)],'required':!![],'description':_0x59a547(0x203)},{'name':_0x49b633[_0x59a547(0x21f)],'type':_0x59a547(0x16d),'required':![],'description':_0x49b633[_0x59a547(0x14e)]},{'name':_0x59a547(0x170),'type':_0x49b633['UuVQk'],'required':![],'description':_0x49b633[_0x59a547(0x1f3)]},{'name':_0x49b633[_0x59a547(0x1ee)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x59a547(0x17b)}],_0x53243c[_0x59a547(0x17a)]={},_0x53243c[_0x59a547(0x17a)][_0x59a547(0x148)]=_0x49b633[_0x59a547(0x16e)],_0x53243c[_0x59a547(0x17a)][_0x59a547(0x22c)]=_0x49b633['gZoVL'];const _0x406283={};_0x406283['name']=_0x49b633[_0x59a547(0x174)],_0x406283['type']=_0x49b633['UuVQk'],_0x406283[_0x59a547(0x234)]=!![],_0x406283['description']=_0x49b633[_0x59a547(0x1c6)];const _0x35cffb={};_0x35cffb[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x1ab)],_0x35cffb[_0x59a547(0x148)]=_0x49b633[_0x59a547(0x1c8)],_0x35cffb[_0x59a547(0x234)]=![],_0x35cffb[_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x215)];const _0x59e166={};_0x59e166['name']=_0x49b633[_0x59a547(0x19a)],_0x59e166['type']='string',_0x59e166[_0x59a547(0x234)]=![],_0x59e166['description']=_0x49b633[_0x59a547(0x1cc)];const _0x739d26={};_0x739d26[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x16c)],_0x739d26['type']=_0x49b633[_0x59a547(0x1df)],_0x739d26[_0x59a547(0x234)]=![],_0x739d26[_0x59a547(0x22c)]=_0x59a547(0x1a6);const _0x2db0a3={};_0x2db0a3[_0x59a547(0x1ad)]=_0x59a547(0x20e),_0x2db0a3[_0x59a547(0x148)]=_0x49b633['gNpUm'],_0x2db0a3[_0x59a547(0x234)]=![],_0x2db0a3['description']=_0x49b633[_0x59a547(0x216)];const _0x5b2861={};_0x5b2861[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x1bd)],_0x5b2861['type']=_0x59a547(0x14a),_0x5b2861[_0x59a547(0x234)]=![],_0x5b2861[_0x59a547(0x22c)]=_0x59a547(0x226);const _0x2e0a9a={};_0x2e0a9a[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x1d1)],_0x2e0a9a[_0x59a547(0x148)]=_0x49b633['UuVQk'],_0x2e0a9a[_0x59a547(0x234)]=![],_0x2e0a9a[_0x59a547(0x22c)]=_0x49b633['xsHqq'];const _0x583a0a={};_0x583a0a[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x1ee)],_0x583a0a[_0x59a547(0x148)]=_0x49b633[_0x59a547(0x1c8)],_0x583a0a[_0x59a547(0x234)]=![],_0x583a0a['description']=_0x49b633['DyKMX'];const _0x2f2235={};_0x2f2235['type']=_0x49b633[_0x59a547(0x16e)],_0x2f2235[_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x21e)];const _0x4ad7f8={};_0x4ad7f8[_0x59a547(0x1ad)]=_0x59a547(0x238),_0x4ad7f8[_0x59a547(0x22c)]=_0x59a547(0x1d2),_0x4ad7f8[_0x59a547(0x21d)]=[_0x406283,_0x35cffb,_0x59e166,_0x739d26,_0x2db0a3,_0x5b2861,_0x2e0a9a,_0x583a0a],_0x4ad7f8[_0x59a547(0x17a)]=_0x2f2235;const _0x238b83={};_0x238b83[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x194)],_0x238b83[_0x59a547(0x22c)]=_0x49b633['Kqmej'],_0x238b83[_0x59a547(0x21d)]=[{'name':_0x59a547(0x170),'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633[_0x59a547(0x1f3)]},{'name':_0x49b633[_0x59a547(0x1ee)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633[_0x59a547(0x20b)]}],_0x238b83[_0x59a547(0x17a)]={},_0x238b83[_0x59a547(0x17a)][_0x59a547(0x148)]=_0x49b633[_0x59a547(0x16e)],_0x238b83[_0x59a547(0x17a)][_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x1cf)];const _0x31aa2a={};_0x31aa2a[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x149)],_0x31aa2a[_0x59a547(0x22c)]=_0x59a547(0x188),_0x31aa2a['parameters']=[{'name':_0x49b633[_0x59a547(0x1d1)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x59a547(0x200)},{'name':_0x49b633[_0x59a547(0x1ee)],'type':_0x49b633[_0x59a547(0x1c8)],'required':![],'description':_0x49b633['DyKMX']}],_0x31aa2a[_0x59a547(0x17a)]={},_0x31aa2a[_0x59a547(0x17a)][_0x59a547(0x148)]=_0x49b633[_0x59a547(0x16e)],_0x31aa2a[_0x59a547(0x17a)][_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x1e5)];const _0x551f44={};_0x551f44[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x1aa)],_0x551f44['type']=_0x49b633[_0x59a547(0x1c8)],_0x551f44[_0x59a547(0x234)]=!![],_0x551f44[_0x59a547(0x22c)]=_0x49b633[_0x59a547(0x14b)],_0x551f44[_0x59a547(0x1e3)]=!![];const _0x15c231={};_0x15c231[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x230)],_0x15c231['type']=_0x49b633[_0x59a547(0x1c8)],_0x15c231[_0x59a547(0x234)]=![],_0x15c231[_0x59a547(0x22c)]=_0x49b633['CPWdK'];const _0x3237d2={};_0x3237d2['name']=_0x49b633[_0x59a547(0x1b5)],_0x3237d2[_0x59a547(0x148)]=_0x49b633['UuVQk'],_0x3237d2[_0x59a547(0x234)]=![],_0x3237d2['description']=_0x59a547(0x1a3);const _0x240c94={};_0x240c94[_0x59a547(0x1ad)]=_0x49b633[_0x59a547(0x18d)],_0x240c94[_0x59a547(0x148)]=_0x49b633[_0x59a547(0x16e)],_0x240c94[_0x59a547(0x234)]=![],_0x240c94['description']=_0x49b633[_0x59a547(0x176)];const _0x1f5ec7={};_0x1f5ec7[_0x59a547(0x171)]=[_0x551f44,_0x15c231,_0x3237d2,_0x240c94],_0x1f5ec7[_0x59a547(0x234)]=[_0x49b633[_0x59a547(0x1aa)]];const _0x426621={};return _0x426621['name']=this[_0x59a547(0x1ad)],_0x426621[_0x59a547(0x224)]=this[_0x59a547(0x224)],_0x426621[_0x59a547(0x196)]=[_0x4a40c1,_0x436af4,_0x3a4fb7,_0x26ac3c,_0x53243c,_0x4ad7f8,_0x238b83,_0x31aa2a],_0x426621[_0x59a547(0x173)]=_0x1f5ec7,_0x426621;}async[a0_0x1abc6f(0x166)](){const _0x341197=a0_0x1abc6f;this[_0x341197(0x173)]=undefined,this['client']=undefined;}[a0_0x1abc6f(0x190)](_0x57a052){const _0x2a911a=a0_0x1abc6f,_0x46ec64={};_0x46ec64[_0x2a911a(0x189)]=_0x2a911a(0x164),_0x46ec64['SMYww']=function(_0x3c3d1b,_0x443317){return _0x3c3d1b===_0x443317;},_0x46ec64['bQaie']=_0x2a911a(0x1bb),_0x46ec64[_0x2a911a(0x1f4)]='issueAutomation',_0x46ec64[_0x2a911a(0x1b0)]=_0x2a911a(0x239),_0x46ec64['MqqrZ']=_0x2a911a(0x17e),_0x46ec64[_0x2a911a(0x15a)]=_0x2a911a(0x1d7);const _0x5243f3=_0x46ec64;if(!this[_0x2a911a(0x173)]?.[_0x2a911a(0x1d9)])return _0x5243f3[_0x2a911a(0x14d)](_0x2a911a(0x1dd),_0x5243f3[_0x2a911a(0x180)])?_0x157e01[_0x2a911a(0x209)]()[_0x2a911a(0x1ed)](slhuDR[_0x2a911a(0x189)])[_0x2a911a(0x209)]()['constructor'](_0x49fe36)[_0x2a911a(0x1ed)](slhuDR[_0x2a911a(0x189)]):!![];const _0x512848={};_0x512848['issue.create']='issueAutomation',_0x512848[_0x2a911a(0x177)]=_0x5243f3['JsBwI'],_0x512848[_0x2a911a(0x175)]=_0x5243f3['JsBwI'],_0x512848[_0x2a911a(0x1dc)]=_0x5243f3[_0x2a911a(0x1b0)],_0x512848['pr.review']=_0x5243f3[_0x2a911a(0x1b0)],_0x512848[_0x2a911a(0x238)]=_0x5243f3[_0x2a911a(0x165)],_0x512848[_0x2a911a(0x214)]=_0x5243f3[_0x2a911a(0x15a)],_0x512848[_0x2a911a(0x1db)]=_0x5243f3[_0x2a911a(0x15a)];const _0x5ba6b9=_0x512848,_0x191c80=_0x5ba6b9[_0x57a052];if(!_0x191c80)return!![];return this[_0x2a911a(0x173)][_0x2a911a(0x1d9)][_0x191c80]??!![];}}exports['GitHubAutomationSkill']=a0_0x1d8f96;function a0_0x57e04d(){return new a0_0x1d8f96();}

path: IssueStrategies.d.ts
content: /**
 * Issue Automation Strategy
 * 使用 Strategy Pattern 實作 Issue 相關操作
 */
import { ExecutionStrategy, ExecutionContext, StrategyResult, ValidationResult } from '../types';
export declare class IssueCreateStrategy implements ExecutionStrategy {
    readonly name = "issue.create";
    validate(params: unknown): ValidationResult;
    execute(context: ExecutionContext): Promise<StrategyResult>;
}
export declare class IssueListStrategy implements ExecutionStrategy {
    readonly name = "issue.list";
    validate(params: unknown): ValidationResult;
    execute(context: ExecutionContext): Promise<StrategyResult>;
}
export declare class IssueUpdateStrategy implements ExecutionStrategy {
    readonly name = "issue.update";
    validate(params: unknown): ValidationResult;
    execute(context: ExecutionContext): Promise<StrategyResult>;
}


path: PRStrategies.d.ts
content: /**
 * Pull Request Assistant Strategy
 * PR 審查輔助功能
 */
import { ExecutionStrategy, ExecutionContext, StrategyResult, ValidationResult } from '../types';
export declare class PRAnalyzeStrategy implements ExecutionStrategy {
    readonly name = "pr.analyze";
    validate(params: unknown): ValidationResult;
    execute(context: ExecutionContext): Promise<StrategyResult>;
    private analyzePR;
}
export declare class PRReviewStrategy implements ExecutionStrategy {
    readonly name = "pr.review";
    validate(params: unknown): ValidationResult;
    execute(context: ExecutionContext): Promise<StrategyResult>;
}


path: README.md
content: # @skillforge/github-automation

[![Version](https://img.shields.io/badge/version-1.0.0-blue.svg)](https://www.npmjs.com/package/@skillforge/github-automation)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

OpenClaw Skill for GitHub automation - Issues, PRs, and Releases made easy.

## Features

- 🐛 **Issue Automation** - Create, list, and update issues with labels and assignees
- 🔍 **PR Analysis** - Get insights on PR size, risk, and suggestions
- 📝 **Review Assistant** - Generate review checklists for pull requests
- 🏷️ **Release Management** - Auto-generate release notes and publish releases
- 📊 **Repo Analytics** - Get repository stats and health assessments

## Quick Start

```typescript
import { createGitHubSkill, SkillConfigBuilder } from '@skillforge/github-automation';

const config = new SkillConfigBuilder()
  .setGitHubToken(process.env.GITHUB_TOKEN)
  .setDefaultOwner('myorg')
  .setDefaultRepo('myrepo')
  .enableAllFeatures()
  .build();

const skill = createGitHubSkill();
await skill.initialize(config);

// Create an issue
const result = await skill.execute({
  action: 'issue.create',
  params: {
    title: 'Bug: Login not working',
    body: 'Users cannot log in...',
    labels: ['bug', 'urgent'],
  },
});
```

## Installation

```bash
npm install @skillforge/github-automation
```

## Documentation

See [SKILL.md](./SKILL.md) for detailed documentation.

## Architecture

This skill uses several design patterns:

- **Builder Pattern** - For constructing configuration objects
- **Strategy Pattern** - For different execution strategies
- **Factory Pattern** - For creating skill instances

## License

MIT © SkillForge


path: ReleaseStrategies.d.ts
content: /**
 * Release Automation Strategy
 * 自動化發布功能
 */
import { ExecutionStrategy, ExecutionContext, StrategyResult, ValidationResult } from '../types';
export declare class ReleaseCreateStrategy implements ExecutionStrategy {
    readonly name = "release.create";
    validate(params: unknown): ValidationResult;
    execute(context: ExecutionContext): Promise<StrategyResult>;
}
export declare class RepoStatsStrategy implements ExecutionStrategy {
    readonly name = "repo.stats";
    validate(): ValidationResult;
    execute(context: ExecutionContext): Promise<StrategyResult>;
}
export declare class RepoHealthStrategy implements ExecutionStrategy {
    readonly name = "repo.health";
    validate(): ValidationResult;
    execute(context: ExecutionContext): Promise<StrategyResult>;
    private assessHealth;
    private generateRecommendations;
}


path: api/GitHubClient.js
content: const a1_0x17a441=a1_0x12ab;(function(_0x1250c0,_0x2f3824){const _0x4bdd46=a1_0x12ab,_0x4a41ef=_0x1250c0();while(!![]){try{const _0x9cab5a=-parseInt(_0x4bdd46(0xce))/0x1+parseInt(_0x4bdd46(0xbe))/0x2+-parseInt(_0x4bdd46(0xa1))/0x3+-parseInt(_0x4bdd46(0xd7))/0x4+parseInt(_0x4bdd46(0xbf))/0x5*(parseInt(_0x4bdd46(0xb0))/0x6)+parseInt(_0x4bdd46(0xe7))/0x7+parseInt(_0x4bdd46(0xc7))/0x8;if(_0x9cab5a===_0x2f3824)break;else _0x4a41ef['push'](_0x4a41ef['shift']());}catch(_0x85daf){_0x4a41ef['push'](_0x4a41ef['shift']());}}}(a1_0x3338,0x1a2fa));const a1_0x253a38=(function(){const _0x3bac7e=a1_0x12ab,_0x6b8fff={};_0x6b8fff[_0x3bac7e(0xa8)]=function(_0x327934,_0x3f7126){return _0x327934===_0x3f7126;},_0x6b8fff[_0x3bac7e(0xb9)]=_0x3bac7e(0xd4);const _0x588b6d=_0x6b8fff;let _0x5d9437=!![];return function(_0x307817,_0x3be084){const _0x4a3818=_0x5d9437?function(){const _0x4590a2=a1_0x12ab;if(_0x3be084){if(_0x588b6d[_0x4590a2(0xa8)](_0x588b6d['rsgyI'],'CclgE'))return{'number':_0x320181['number'],'title':_0x4ccd5e[_0x4590a2(0xa6)],'body':_0xc32553['body'],'state':_0x3993fa[_0x4590a2(0x10b)],'labels':_0x3ec9b0['labels']['map'](_0x355bee=>({'name':_0x355bee[_0x4590a2(0xdb)]})),'assignees':_0x3c0fd4[_0x4590a2(0xbc)][_0x4590a2(0xd8)](_0x2aae85=>({'login':_0x2aae85[_0x4590a2(0xe0)]})),'createdAt':_0x3b8956['created_at'],'updatedAt':_0x31123d[_0x4590a2(0xdd)]};else{const _0x42ba9a=_0x3be084[_0x4590a2(0x105)](_0x307817,arguments);return _0x3be084=null,_0x42ba9a;}}}:function(){};return _0x5d9437=![],_0x4a3818;};}()),a1_0x217cd3=a1_0x253a38(this,function(){const _0x19e4ee=a1_0x12ab,_0x4bca14={};_0x4bca14[_0x19e4ee(0xde)]='(((.+)+)+)+$';const _0xba53ad=_0x4bca14;return a1_0x217cd3[_0x19e4ee(0xdc)]()[_0x19e4ee(0xac)](_0xba53ad[_0x19e4ee(0xde)])[_0x19e4ee(0xdc)]()[_0x19e4ee(0xc0)](a1_0x217cd3)[_0x19e4ee(0xac)](_0xba53ad[_0x19e4ee(0xde)]);});a1_0x217cd3();function a1_0x12ab(_0x299a11,_0x267fef){_0x299a11=_0x299a11-0x9f;const _0x5772bd=a1_0x3338();let _0xaf9b3=_0x5772bd[_0x299a11];return _0xaf9b3;}'use strict';function a1_0x3338(){const _0xb6fc8=['substring','target_commitish','XRsOZ','limit','octokit','getToken','previous_tag_name','pull_number','sha','publishedAt','_token','listForRepo','RjaDl','repos','apply','user','forks_count','stars','createRelease','JMoFc','state','repo','list','auth','Octokit','listPullRequests','FRPep','changes','246987jtWDHZ','rest','rate','created_at','get','title','changed_files','vfNRz','watchers_count','targetCommitish','deletions','search','mapIssue','XNNwc','generateReleaseNotes','12QZEFXC','published_at','labels','openIssues','@octokit/rest','listIssues','watchers','value','owner','rsgyI','getPullRequest','vQHze','assignees','join','113780LkGBPp','197045BwTTOu','constructor','status','now','faYvI','filename','mapPullRequest','max','628600nEkQFa','ref','****','issues','rateLimit','__esModule','changedFiles','184406ybuJHw','prerelease','forks','stargazers_count','BTnim','description','euvLi','eBIAx','ORTRR','120484isNvKk','map','number','GitHubClient','name','toString','updated_at','CSGAB','listFiles','login','open','min','createIssue','defineProperty','getTime','DTMRP','1328817qlIvuE','draft','tag_name','assignee','additions','head','getRepoStats','mapRelease','pulls','remaining','length','per_page','base','iveeN','perPage','body'];a1_0x3338=function(){return _0xb6fc8;};return a1_0x3338();}const a1_0x36c007={};a1_0x36c007[a1_0x17a441(0xb7)]=!![],Object[a1_0x17a441(0xe4)](exports,a1_0x17a441(0xcc),a1_0x36c007),exports[a1_0x17a441(0xda)]=void 0x0;const a1_0x2550c2=require(a1_0x17a441(0xb4));class a1_0x3681d8{[a1_0x17a441(0xfb)];[a1_0x17a441(0x101)];constructor(_0x176d36){const _0x13d125=a1_0x17a441;this['_token']=_0x176d36;const _0x30cf3d={};_0x30cf3d[_0x13d125(0x10e)]=_0x176d36,this['octokit']=new a1_0x2550c2[(_0x13d125(0x10f))](_0x30cf3d);}[a1_0x17a441(0xfc)](){const _0x3d1300=a1_0x17a441,_0x5586e1={};_0x5586e1[_0x3d1300(0xf9)]=function(_0x98033d,_0x446e5f){return _0x98033d+_0x446e5f;},_0x5586e1[_0x3d1300(0xbb)]=_0x3d1300(0xc9);const _0x5241af=_0x5586e1;return _0x5241af[_0x3d1300(0xf9)](this[_0x3d1300(0x101)][_0x3d1300(0xf7)](0x0,0x4)+_0x5241af[_0x3d1300(0xbb)],this['_token'][_0x3d1300(0xf7)](this[_0x3d1300(0x101)][_0x3d1300(0xf1)]-0x4));}async[a1_0x17a441(0xb5)](_0x51f12a,_0x20989a,_0x10b45f={}){const _0x1605e8=a1_0x17a441,_0x1d0e8e={};_0x1d0e8e['DTMRP']=_0x1605e8(0xe1);const _0x4f346d=_0x1d0e8e,{data:_0x7ff22}=await this[_0x1605e8(0xfb)][_0x1605e8(0xa2)][_0x1605e8(0xca)][_0x1605e8(0x102)]({'owner':_0x51f12a,'repo':_0x20989a,'state':_0x10b45f['state']||_0x4f346d[_0x1605e8(0xe6)],'labels':_0x10b45f[_0x1605e8(0xb2)]?.[_0x1605e8(0xbd)](','),'assignee':_0x10b45f[_0x1605e8(0xea)],'per_page':_0x10b45f[_0x1605e8(0xf5)]||0x1e});return _0x7ff22['map'](this['mapIssue']);}async[a1_0x17a441(0xe3)](_0x3011e3,_0x2f8288,_0x1a8b32,_0x33407c,_0x1ede26={}){const _0x15a04a=a1_0x17a441,_0x7e3a8b={};_0x7e3a8b[_0x15a04a(0xb8)]=_0x3011e3,_0x7e3a8b[_0x15a04a(0x10c)]=_0x2f8288,_0x7e3a8b[_0x15a04a(0xa6)]=_0x1a8b32,_0x7e3a8b[_0x15a04a(0xf6)]=_0x33407c,_0x7e3a8b['labels']=_0x1ede26[_0x15a04a(0xb2)],_0x7e3a8b['assignees']=_0x1ede26[_0x15a04a(0xbc)];const {data:_0x5c6506}=await this['octokit'][_0x15a04a(0xa2)][_0x15a04a(0xca)]['create'](_0x7e3a8b);return this[_0x15a04a(0xad)](_0x5c6506);}async['updateIssue'](_0x173749,_0x2c3b0d,_0x1d6a3b,_0x2ea991){const _0x3085c4=a1_0x17a441,_0x32a416={'owner':_0x173749,'repo':_0x2c3b0d,'issue_number':_0x1d6a3b,..._0x2ea991},{data:_0xc2e44d}=await this[_0x3085c4(0xfb)][_0x3085c4(0xa2)][_0x3085c4(0xca)]['update'](_0x32a416);return this['mapIssue'](_0xc2e44d);}async[a1_0x17a441(0xba)](_0x343840,_0x218647,_0x27e564){const _0x4a0d2a=a1_0x17a441,_0x39b401={};_0x39b401[_0x4a0d2a(0xb8)]=_0x343840,_0x39b401[_0x4a0d2a(0x10c)]=_0x218647,_0x39b401['pull_number']=_0x27e564;const {data:_0x4056c5}=await this['octokit'][_0x4a0d2a(0xa2)]['pulls'][_0x4a0d2a(0xa5)](_0x39b401);return this[_0x4a0d2a(0xc5)](_0x4056c5);}async[a1_0x17a441(0x110)](_0x42eecc,_0x144977,_0x335f18={}){const _0x4499e2=a1_0x17a441,_0xbd31ed={};_0xbd31ed['XNNwc']='open';const _0x1bab18=_0xbd31ed,_0x5b2faa={};_0x5b2faa[_0x4499e2(0xb8)]=_0x42eecc,_0x5b2faa['repo']=_0x144977,_0x5b2faa['state']=_0x335f18[_0x4499e2(0x10b)]||_0x1bab18[_0x4499e2(0xae)],_0x5b2faa[_0x4499e2(0xf2)]=_0x335f18[_0x4499e2(0xf5)]||0x1e;const {data:_0x156c92}=await this[_0x4499e2(0xfb)][_0x4499e2(0xa2)]['pulls'][_0x4499e2(0x10d)](_0x5b2faa);return _0x156c92[_0x4499e2(0xd8)](this[_0x4499e2(0xc5)]);}async['getPullRequestFiles'](_0xa3c7bd,_0x2e208d,_0x522595){const _0x17ad13=a1_0x17a441,_0x2353fa={};_0x2353fa[_0x17ad13(0xb8)]=_0xa3c7bd,_0x2353fa[_0x17ad13(0x10c)]=_0x2e208d,_0x2353fa[_0x17ad13(0xfe)]=_0x522595;const {data:_0xbc7656}=await this[_0x17ad13(0xfb)][_0x17ad13(0xa2)]['pulls'][_0x17ad13(0xdf)](_0x2353fa);return _0xbc7656[_0x17ad13(0xd8)](_0x374a69=>({'filename':_0x374a69[_0x17ad13(0xc4)],'status':_0x374a69[_0x17ad13(0xc1)],'changes':_0x374a69[_0x17ad13(0xa0)]}));}async['createRelease'](_0xbecb82,_0x4112fa,_0x3b7e21,_0x563d83={}){const _0x38efd4=a1_0x17a441,_0x584233={};_0x584233[_0x38efd4(0xb8)]=_0xbecb82,_0x584233[_0x38efd4(0x10c)]=_0x4112fa,_0x584233[_0x38efd4(0xe9)]=_0x3b7e21,_0x584233[_0x38efd4(0xdb)]=_0x563d83['name'],_0x584233[_0x38efd4(0xf6)]=_0x563d83[_0x38efd4(0xf6)],_0x584233[_0x38efd4(0xe8)]=_0x563d83[_0x38efd4(0xe8)],_0x584233[_0x38efd4(0xcf)]=_0x563d83[_0x38efd4(0xcf)],_0x584233[_0x38efd4(0xf8)]=_0x563d83[_0x38efd4(0xaa)];const {data:_0x1c77d6}=await this[_0x38efd4(0xfb)][_0x38efd4(0xa2)]['repos'][_0x38efd4(0x109)](_0x584233);return this[_0x38efd4(0xee)](_0x1c77d6);}async['generateReleaseNotes'](_0x20cf3a,_0x492b65,_0x24939d,_0x2051b9){const _0xc5b31b=a1_0x17a441,_0x4bd922={};_0x4bd922[_0xc5b31b(0xb8)]=_0x20cf3a,_0x4bd922[_0xc5b31b(0x10c)]=_0x492b65,_0x4bd922[_0xc5b31b(0xe9)]=_0x24939d,_0x4bd922[_0xc5b31b(0xfd)]=_0x2051b9;const {data:_0x573e85}=await this[_0xc5b31b(0xfb)][_0xc5b31b(0xa2)][_0xc5b31b(0x104)][_0xc5b31b(0xaf)](_0x4bd922);return _0x573e85['body'];}async[a1_0x17a441(0xed)](_0x27331f,_0x4410e9){const _0x430557=a1_0x17a441,_0x110f82={};_0x110f82[_0x430557(0xd5)]=_0x430557(0xe1);const _0x486684=_0x110f82,_0x3e44f3={};_0x3e44f3[_0x430557(0xb8)]=_0x27331f,_0x3e44f3[_0x430557(0x10c)]=_0x4410e9;const _0x12951b={};_0x12951b[_0x430557(0xb8)]=_0x27331f,_0x12951b['repo']=_0x4410e9,_0x12951b['state']=_0x486684[_0x430557(0xd5)],_0x12951b[_0x430557(0xf2)]=0x1;const _0x52aac9={};_0x52aac9[_0x430557(0xb8)]=_0x27331f,_0x52aac9['repo']=_0x4410e9,_0x52aac9['state']=_0x430557(0xe1),_0x52aac9[_0x430557(0xf2)]=0x1;const [{data:_0x8742db},{data:_0x42f5d4},{data:_0x51725b}]=await Promise['all']([this[_0x430557(0xfb)][_0x430557(0xa2)][_0x430557(0x104)]['get'](_0x3e44f3),this[_0x430557(0xfb)][_0x430557(0xa2)]['issues']['listForRepo'](_0x12951b),this['octokit'][_0x430557(0xa2)][_0x430557(0xef)][_0x430557(0x10d)](_0x52aac9)]),_0x5a8518=this['calculateHealthScore'](_0x8742db,_0x42f5d4[_0x430557(0xf1)]),_0x5c1f7d={};return _0x5c1f7d[_0x430557(0x108)]=_0x8742db[_0x430557(0xd1)],_0x5c1f7d[_0x430557(0xd0)]=_0x8742db[_0x430557(0x107)],_0x5c1f7d[_0x430557(0xb3)]=_0x42f5d4[_0x430557(0xf1)],_0x5c1f7d['openPRs']=_0x51725b[_0x430557(0xf1)],_0x5c1f7d[_0x430557(0xb6)]=_0x8742db[_0x430557(0xa9)],_0x5c1f7d['healthScore']=_0x5a8518,_0x5c1f7d;}async['getRateLimit'](){const _0x24c8b5=a1_0x17a441,{data:_0x58c1ee}=await this[_0x24c8b5(0xfb)][_0x24c8b5(0xa2)][_0x24c8b5(0xcb)]['get']();return{'limit':_0x58c1ee[_0x24c8b5(0xa3)][_0x24c8b5(0xfa)],'remaining':_0x58c1ee[_0x24c8b5(0xa3)][_0x24c8b5(0xf0)],'resetAt':new Date(_0x58c1ee['rate']['reset']*0x3e8)};}[a1_0x17a441(0xad)](_0x26d9f6){const _0x2847b2=a1_0x17a441;return{'number':_0x26d9f6[_0x2847b2(0xd9)],'title':_0x26d9f6[_0x2847b2(0xa6)],'body':_0x26d9f6[_0x2847b2(0xf6)],'state':_0x26d9f6[_0x2847b2(0x10b)],'labels':_0x26d9f6['labels'][_0x2847b2(0xd8)](_0x37b04e=>({'name':_0x37b04e[_0x2847b2(0xdb)]})),'assignees':_0x26d9f6[_0x2847b2(0xbc)]['map'](_0x17a02b=>({'login':_0x17a02b[_0x2847b2(0xe0)]})),'createdAt':_0x26d9f6[_0x2847b2(0xa4)],'updatedAt':_0x26d9f6[_0x2847b2(0xdd)]};}['mapPullRequest'](_0x42ffc){const _0x38940b=a1_0x17a441,_0x36c1b1={};return _0x36c1b1[_0x38940b(0xd9)]=_0x42ffc[_0x38940b(0xd9)],_0x36c1b1[_0x38940b(0xa6)]=_0x42ffc[_0x38940b(0xa6)],_0x36c1b1[_0x38940b(0xf6)]=_0x42ffc['body'],_0x36c1b1[_0x38940b(0x10b)]=_0x42ffc[_0x38940b(0x10b)],_0x36c1b1[_0x38940b(0x106)]={},_0x36c1b1[_0x38940b(0xec)]={},_0x36c1b1[_0x38940b(0xf3)]={},_0x36c1b1[_0x38940b(0xcd)]=_0x42ffc[_0x38940b(0xa7)],_0x36c1b1['additions']=_0x42ffc[_0x38940b(0xeb)],_0x36c1b1[_0x38940b(0xab)]=_0x42ffc[_0x38940b(0xab)],_0x36c1b1[_0x38940b(0x106)][_0x38940b(0xe0)]=_0x42ffc[_0x38940b(0x106)][_0x38940b(0xe0)],_0x36c1b1[_0x38940b(0xec)]['ref']=_0x42ffc[_0x38940b(0xec)][_0x38940b(0xc8)],_0x36c1b1[_0x38940b(0xec)][_0x38940b(0xff)]=_0x42ffc[_0x38940b(0xec)][_0x38940b(0xff)],_0x36c1b1[_0x38940b(0xf3)]['ref']=_0x42ffc[_0x38940b(0xf3)][_0x38940b(0xc8)],_0x36c1b1[_0x38940b(0xf3)]['sha']=_0x42ffc[_0x38940b(0xf3)]['sha'],_0x36c1b1;}['mapRelease'](_0x264152){const _0x1cbaa1=a1_0x17a441,_0x3b6783={};return _0x3b6783['id']=_0x264152['id'],_0x3b6783['tagName']=_0x264152[_0x1cbaa1(0xe9)],_0x3b6783[_0x1cbaa1(0xdb)]=_0x264152[_0x1cbaa1(0xdb)],_0x3b6783[_0x1cbaa1(0xf6)]=_0x264152['body'],_0x3b6783[_0x1cbaa1(0xe8)]=_0x264152[_0x1cbaa1(0xe8)],_0x3b6783[_0x1cbaa1(0xcf)]=_0x264152[_0x1cbaa1(0xcf)],_0x3b6783['createdAt']=_0x264152[_0x1cbaa1(0xa4)],_0x3b6783[_0x1cbaa1(0x100)]=_0x264152[_0x1cbaa1(0xb1)],_0x3b6783;}['calculateHealthScore'](_0x5e8ed3,_0x19ee29){const _0x23305e=a1_0x17a441,_0x43efa4={};_0x43efa4[_0x23305e(0xd2)]=function(_0x335afb,_0x12ee8c){return _0x335afb>_0x12ee8c;},_0x43efa4['iveeN']=function(_0x4d89a9,_0x33ee0c){return _0x4d89a9/_0x33ee0c;},_0x43efa4[_0x23305e(0x9f)]=function(_0x5d129d,_0x72b0fd){return _0x5d129d+_0x72b0fd;},_0x43efa4[_0x23305e(0x103)]=function(_0x1fc416,_0x1940d9){return _0x1fc416/_0x1940d9;},_0x43efa4['ORTRR']=function(_0x4c40ba,_0x325975){return _0x4c40ba-_0x325975;},_0x43efa4[_0x23305e(0xc3)]=function(_0x1a8f46,_0x5dc713){return _0x1a8f46*_0x5dc713;},_0x43efa4[_0x23305e(0x10a)]=function(_0x5475e0,_0x5a464d){return _0x5475e0*_0x5a464d;};const _0x375b96=_0x43efa4;let _0x2158b8=0x46;if(_0x5e8ed3['description']&&_0x375b96[_0x23305e(0xd2)](_0x5e8ed3[_0x23305e(0xd3)][_0x23305e(0xf1)],0x14))_0x2158b8+=0xa;const _0x270d12=_0x375b96[_0x23305e(0xf4)](_0x19ee29,_0x375b96['FRPep'](_0x5e8ed3['stargazers_count'],0x1));if(_0x270d12<0.01)_0x2158b8+=0xa;else{if(_0x375b96[_0x23305e(0xd2)](_0x270d12,0.1))_0x2158b8-=0xa;}const _0x1c725d=new Date(_0x5e8ed3[_0x23305e(0xdd)]),_0x2fb9f1=_0x375b96[_0x23305e(0x103)](_0x375b96[_0x23305e(0xd6)](Date[_0x23305e(0xc2)](),_0x1c725d[_0x23305e(0xe5)]()),_0x375b96[_0x23305e(0xc3)](_0x375b96[_0x23305e(0x10a)](0x3e8,0x3c)*0x3c,0x18));if(_0x2fb9f1<0x1e)_0x2158b8+=0xa;else{if(_0x375b96[_0x23305e(0xd2)](_0x2fb9f1,0xb4))_0x2158b8-=0xa;}return Math[_0x23305e(0xe2)](0x64,Math[_0x23305e(0xc6)](0x0,_0x2158b8));}}exports[a1_0x17a441(0xda)]=a1_0x3681d8;

path: index.d.ts
content: /**
 * GitHub Automation Skill for OpenClaw
 *
 * @example
 * ```typescript
 * import { createGitHubSkill, SkillConfigBuilder } from '@skillforge/github-automation';
 *
 * // 使用 Builder 建立配置
 * const config = new SkillConfigBuilder()
 *   .setGitHubToken('ghp_xxxx')
 *   .setDefaultOwner('myorg')
 *   .setDefaultRepo('myrepo')
 *   .enableAllFeatures()
 *   .build();
 *
 * // 建立並初始化 Skill
 * const skill = createGitHubSkill();
 * await skill.initialize(config);
 *
 * // 執行操作
 * const result = await skill.execute({
 *   action: 'issue.create',
 *   params: {
 *     title: 'Bug Report',
 *     body: 'Something is broken...',
 *     labels: ['bug'],
 *   },
 * });
 * ```
 */
export { GitHubAutomationSkill, SkillConfigBuilder, createGitHubSkill } from './GitHubSkill';
export type { SkillPlugin, SkillConfig, SkillInput, SkillResult, SkillSchema, ExecutionStrategy, ExecutionContext, StrategyResult, ValidationResult, GitHubIssue, GitHubPullRequest, GitHubRelease, RepoStats, } from './types';
export { StrategyRegistry } from './strategies';
export { IssueCreateStrategy, IssueListStrategy, IssueUpdateStrategy, } from './strategies/IssueStrategies';
export { PRAnalyzeStrategy, PRReviewStrategy, } from './strategies/PRStrategies';
export { ReleaseCreateStrategy, RepoStatsStrategy, RepoHealthStrategy, } from './strategies/ReleaseStrategies';
export { GitHubClient } from './api/GitHubClient';


path: index.js
content: var a2_0x22a0f0=a2_0x33a9;(function(_0xc8719d,_0x2b14db){var _0x2ca94d=a2_0x33a9,_0xc25237=_0xc8719d();while(!![]){try{var _0xb22845=parseInt(_0x2ca94d(0x157))/0x1*(-parseInt(_0x2ca94d(0x173))/0x2)+parseInt(_0x2ca94d(0x17f))/0x3+parseInt(_0x2ca94d(0x170))/0x4*(-parseInt(_0x2ca94d(0x151))/0x5)+parseInt(_0x2ca94d(0x17d))/0x6*(parseInt(_0x2ca94d(0x17a))/0x7)+parseInt(_0x2ca94d(0x160))/0x8+parseInt(_0x2ca94d(0x16c))/0x9+-parseInt(_0x2ca94d(0x156))/0xa*(parseInt(_0x2ca94d(0x154))/0xb);if(_0xb22845===_0x2b14db)break;else _0xc25237['push'](_0xc25237['shift']());}catch(_0xe19167){_0xc25237['push'](_0xc25237['shift']());}}}(a2_0xdcd8,0xdba1a));var a2_0x528a98=(function(){var _0x5a5f49=a2_0x33a9,_0x208e17={};_0x208e17['RFLtL']=function(_0x473909,_0x3b0980){return _0x473909===_0x3b0980;},_0x208e17[_0x5a5f49(0x171)]='HWOPw',_0x208e17[_0x5a5f49(0x15c)]=function(_0x3a76bf,_0x49be0d){return _0x3a76bf!==_0x49be0d;},_0x208e17[_0x5a5f49(0x161)]='kFVeW';var _0x1fc074=_0x208e17,_0x5a2db2=!![];return function(_0x66ffc9,_0x4dacd1){var _0x5f5d69=_0x5a5f49,_0xb91e29={'rpDYq':function(_0x3f6428,_0x482711){var _0x44bf70=a2_0x33a9;return _0x1fc074[_0x44bf70(0x166)](_0x3f6428,_0x482711);},'nGWGY':_0x1fc074[_0x5f5d69(0x171)]};if(_0x1fc074['zZZdS'](_0x5f5d69(0x15d),_0x1fc074[_0x5f5d69(0x161)])){var _0x5bad6b=_0x5a2db2?function(){var _0x35d2de=_0x5f5d69;if(_0x4dacd1){if(_0xb91e29[_0x35d2de(0x16d)](_0xb91e29[_0x35d2de(0x164)],_0xb91e29['nGWGY'])){var _0x1a5526=_0x4dacd1[_0x35d2de(0x172)](_0x66ffc9,arguments);return _0x4dacd1=null,_0x1a5526;}else return _0x22fa3e['IssueUpdateStrategy'];}}:function(){};return _0x5a2db2=![],_0x5bad6b;}else return _0xe33ac1['PRAnalyzeStrategy'];};}()),a2_0x3ad4a6=a2_0x528a98(this,function(){var _0x324a24=a2_0x33a9,_0x22f75c={};_0x22f75c[_0x324a24(0x159)]=_0x324a24(0x169);var _0x47a8fd=_0x22f75c;return a2_0x3ad4a6[_0x324a24(0x15e)]()[_0x324a24(0x174)](_0x47a8fd[_0x324a24(0x159)])[_0x324a24(0x15e)]()[_0x324a24(0x158)](a2_0x3ad4a6)['search'](_0x47a8fd[_0x324a24(0x159)]);});a2_0x3ad4a6();'use strict';var a2_0x51181e={};a2_0x51181e[a2_0x22a0f0(0x175)]=!![],Object[a2_0x22a0f0(0x179)](exports,a2_0x22a0f0(0x15f),a2_0x51181e),exports[a2_0x22a0f0(0x17e)]=exports[a2_0x22a0f0(0x17b)]=exports[a2_0x22a0f0(0x167)]=exports[a2_0x22a0f0(0x16f)]=exports['PRReviewStrategy']=exports[a2_0x22a0f0(0x162)]=exports[a2_0x22a0f0(0x152)]=exports['IssueListStrategy']=exports[a2_0x22a0f0(0x16a)]=exports['StrategyRegistry']=exports['createGitHubSkill']=exports[a2_0x22a0f0(0x16b)]=exports[a2_0x22a0f0(0x16e)]=void 0x0;function a2_0x33a9(_0x43a2d0,_0x1e7f61){_0x43a2d0=_0x43a2d0-0x151;var _0xd5184c=a2_0xdcd8();var _0x4b51d9=_0xd5184c[_0x43a2d0];return _0x4b51d9;}var a2_0x5a4b50=require(a2_0x22a0f0(0x153)),a2_0x2ae773={};a2_0x2ae773[a2_0x22a0f0(0x168)]=!![],a2_0x2ae773[a2_0x22a0f0(0x178)]=function(){var _0x28db5e=a2_0x22a0f0;return a2_0x5a4b50[_0x28db5e(0x16e)];},Object[a2_0x22a0f0(0x179)](exports,a2_0x22a0f0(0x16e),a2_0x2ae773);var a2_0x3d24a5={};a2_0x3d24a5[a2_0x22a0f0(0x168)]=!![],a2_0x3d24a5[a2_0x22a0f0(0x178)]=function(){var _0x5dd4ac=a2_0x22a0f0;return a2_0x5a4b50[_0x5dd4ac(0x16b)];},Object[a2_0x22a0f0(0x179)](exports,a2_0x22a0f0(0x16b),a2_0x3d24a5);var a2_0x4de390={};a2_0x4de390['enumerable']=!![],a2_0x4de390['get']=function(){var _0x3f92ae=a2_0x22a0f0;return a2_0x5a4b50[_0x3f92ae(0x163)];},Object[a2_0x22a0f0(0x179)](exports,'createGitHubSkill',a2_0x4de390);var a2_0x1d8c95=require(a2_0x22a0f0(0x15b)),a2_0x5a0d7c={};a2_0x5a0d7c[a2_0x22a0f0(0x168)]=!![],a2_0x5a0d7c[a2_0x22a0f0(0x178)]=function(){return a2_0x1d8c95['StrategyRegistry'];},Object['defineProperty'](exports,a2_0x22a0f0(0x15a),a2_0x5a0d7c);var a2_0x475fab=require(a2_0x22a0f0(0x155)),a2_0x447a6={};a2_0x447a6[a2_0x22a0f0(0x168)]=!![],a2_0x447a6['get']=function(){var _0x2cd221=a2_0x22a0f0;return a2_0x475fab[_0x2cd221(0x16a)];},Object[a2_0x22a0f0(0x179)](exports,'IssueCreateStrategy',a2_0x447a6);var a2_0x460824={};a2_0x460824[a2_0x22a0f0(0x168)]=!![],a2_0x460824[a2_0x22a0f0(0x178)]=function(){var _0x31e5be=a2_0x22a0f0;return a2_0x475fab[_0x31e5be(0x17c)];},Object[a2_0x22a0f0(0x179)](exports,a2_0x22a0f0(0x17c),a2_0x460824);var a2_0x2e0b22={};a2_0x2e0b22[a2_0x22a0f0(0x168)]=!![],a2_0x2e0b22['get']=function(){var _0x2321fc=a2_0x22a0f0;return a2_0x475fab[_0x2321fc(0x152)];},Object[a2_0x22a0f0(0x179)](exports,a2_0x22a0f0(0x152),a2_0x2e0b22);var a2_0x2cfd9d=require(a2_0x22a0f0(0x176)),a2_0x952d28={};a2_0x952d28[a2_0x22a0f0(0x168)]=!![],a2_0x952d28[a2_0x22a0f0(0x178)]=function(){var _0xc6c578=a2_0x22a0f0;return a2_0x2cfd9d[_0xc6c578(0x162)];},Object[a2_0x22a0f0(0x179)](exports,a2_0x22a0f0(0x162),a2_0x952d28);var a2_0x7613b2={};a2_0x7613b2['enumerable']=!![],a2_0x7613b2[a2_0x22a0f0(0x178)]=function(){var _0x5f1a07=a2_0x22a0f0;return a2_0x2cfd9d[_0x5f1a07(0x177)];},Object[a2_0x22a0f0(0x179)](exports,a2_0x22a0f0(0x177),a2_0x7613b2);var a2_0x128cc8=require(a2_0x22a0f0(0x165)),a2_0x370b45={};a2_0x370b45[a2_0x22a0f0(0x168)]=!![],a2_0x370b45[a2_0x22a0f0(0x178)]=function(){var _0x5c3b9e=a2_0x22a0f0;return a2_0x128cc8[_0x5c3b9e(0x16f)];},Object['defineProperty'](exports,'ReleaseCreateStrategy',a2_0x370b45);function a2_0xdcd8(){var _0x2feed9=['__esModule','13324064vKDkIb','hyCWt','PRAnalyzeStrategy','createGitHubSkill','nGWGY','./strategies/ReleaseStrategies','RFLtL','RepoStatsStrategy','enumerable','(((.+)+)+)+$','IssueCreateStrategy','SkillConfigBuilder','11204586oXQUQR','rpDYq','GitHubAutomationSkill','ReleaseCreateStrategy','32JQNoTM','sayYk','apply','484nabIVU','search','value','./strategies/PRStrategies','PRReviewStrategy','get','defineProperty','721jclJAV','RepoHealthStrategy','IssueListStrategy','34884kecnGH','GitHubClient','2152071DSOZKY','382990huwlkX','IssueUpdateStrategy','./GitHubSkill','8855ZIIarx','./strategies/IssueStrategies','12130NHiOKi','7181yphdfB','constructor','KxSmb','StrategyRegistry','./strategies','zZZdS','Ihmnm','toString'];a2_0xdcd8=function(){return _0x2feed9;};return a2_0xdcd8();}var a2_0x1042c6={};a2_0x1042c6[a2_0x22a0f0(0x168)]=!![],a2_0x1042c6['get']=function(){var _0x4d639f=a2_0x22a0f0;return a2_0x128cc8[_0x4d639f(0x167)];},Object[a2_0x22a0f0(0x179)](exports,a2_0x22a0f0(0x167),a2_0x1042c6);var a2_0x1e16ba={};a2_0x1e16ba['enumerable']=!![],a2_0x1e16ba['get']=function(){var _0x36ad90=a2_0x22a0f0;return a2_0x128cc8[_0x36ad90(0x17b)];},Object[a2_0x22a0f0(0x179)](exports,a2_0x22a0f0(0x17b),a2_0x1e16ba);var a2_0x261bf1=require('./api/GitHubClient'),a2_0x3b2434={};a2_0x3b2434[a2_0x22a0f0(0x168)]=!![],a2_0x3b2434[a2_0x22a0f0(0x178)]=function(){var _0x53709d=a2_0x22a0f0;return a2_0x261bf1[_0x53709d(0x17e)];},Object[a2_0x22a0f0(0x179)](exports,'GitHubClient',a2_0x3b2434);

path: package.json
content: {
  "name": "@skillforge/github-automation",
  "version": "1.0.0",
  "description": "OpenClaw Skill - GitHub Automation for Issues, PRs, and Releases",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "scripts": {
    "build": "tsc",
    "dev": "tsc --watch",
    "test": "jest",
    "lint": "eslint src/**/*.ts",
    "prepare": "npm run build"
  },
  "keywords": [
    "openclaw",
    "skill",
    "github",
    "automation",
    "git",
    "issue",
    "pull-request"
  ],
  "author": "SkillForge",
  "license": "MIT",
  "dependencies": {
    "@octokit/rest": "^20.0.2",
    "@supabase/supabase-js": "^2.95.3",
    "node-fetch": "^3.3.2",
    "puppeteer": "^24.37.2",
    "zod": "^3.22.4"
  },
  "devDependencies": {
    "@types/jest": "^29.5.0",
    "@types/node": "^20.10.0",
    "@typescript-eslint/eslint-plugin": "^6.14.0",
    "@typescript-eslint/parser": "^6.14.0",
    "eslint": "^8.55.0",
    "javascript-obfuscator": "^5.3.0",
    "jest": "^29.7.0",
    "ts-jest": "^29.1.0",
    "typescript": "^5.3.0"
  },
  "skillforge": {
    "category": "developer-tools",
    "pricing": {
      "lite": "USDT 20 (TRC-20)",
      "pro": "USDT 50 (TRC-20)",
      "enterprise": "USDT 200 (TRC-20)"
    },
    "currencies": [
      "USDT"
    ],
    "features": [
      "issue-automation",
      "pr-assistant",
      "release-automation",
      "repo-analytics"
    ],
    "verification": "license-key",
    "obfuscation": true
  }
}


path: strategies/IssueStrategies.js
content: const a3_0x43c1c8=a3_0x51d0;function a3_0x51d0(_0x1fd3be,_0x69cf19){_0x1fd3be=_0x1fd3be-0xb3;const _0x170d89=a3_0x531c();let _0x44c76c=_0x170d89[_0x1fd3be];return _0x44c76c;}(function(_0x29d202,_0x66e27){const _0x2cd291=a3_0x51d0,_0x412c56=_0x29d202();while(!![]){try{const _0x32c194=-parseInt(_0x2cd291(0xc0))/0x1+parseInt(_0x2cd291(0xce))/0x2+parseInt(_0x2cd291(0x101))/0x3*(parseInt(_0x2cd291(0xda))/0x4)+-parseInt(_0x2cd291(0x11a))/0x5+parseInt(_0x2cd291(0xff))/0x6+parseInt(_0x2cd291(0xea))/0x7*(-parseInt(_0x2cd291(0xb9))/0x8)+-parseInt(_0x2cd291(0x117))/0x9*(-parseInt(_0x2cd291(0xe0))/0xa);if(_0x32c194===_0x66e27)break;else _0x412c56['push'](_0x412c56['shift']());}catch(_0x5a99de){_0x412c56['push'](_0x412c56['shift']());}}}(a3_0x531c,0xae266));const a3_0x1cc04f=(function(){const _0x1259a4=a3_0x51d0,_0x53b19e={};_0x53b19e[_0x1259a4(0x10d)]=_0x1259a4(0x11c),_0x53b19e['lDavP']=_0x1259a4(0xe5),_0x53b19e[_0x1259a4(0x11e)]=_0x1259a4(0x105),_0x53b19e[_0x1259a4(0xd4)]=_0x1259a4(0x10b);const _0x4b1855=_0x53b19e;let _0x14c86c=!![];return function(_0x58039b,_0x2168e5){const _0x1d140a=_0x1259a4,_0x144f65={};_0x144f65[_0x1d140a(0xec)]=_0x4b1855[_0x1d140a(0x10d)],_0x144f65[_0x1d140a(0xf8)]=_0x4b1855[_0x1d140a(0xb8)],_0x144f65[_0x1d140a(0x116)]=_0x4b1855[_0x1d140a(0x11e)],_0x144f65[_0x1d140a(0xfc)]=_0x4b1855[_0x1d140a(0xd4)],_0x144f65[_0x1d140a(0x114)]='zbzNM';const _0x38138c=_0x144f65,_0x5f0a2a=_0x14c86c?function(){const _0x5f17f4=_0x1d140a;if(_0x2168e5){if(_0x38138c[_0x5f17f4(0x114)]===_0x38138c['DMpmg']){const _0x4ea918=_0x2168e5[_0x5f17f4(0xe6)](_0x58039b,arguments);return _0x2168e5=null,_0x4ea918;}else{const _0x30f862=_0x1c4bb6;if(_0x30f862[_0x5f17f4(0xe4)]&&![_0x38138c['UccJp'],_0x38138c[_0x5f17f4(0xf8)],_0x38138c['jVTaS']][_0x5f17f4(0xc4)](_0x30f862[_0x5f17f4(0xe4)])){const _0x2f1c96={};return _0x2f1c96[_0x5f17f4(0xc5)]=![],_0x2f1c96[_0x5f17f4(0xb5)]=[_0x38138c['fdVIV']],_0x2f1c96;}const _0x1cc4fc={};return _0x1cc4fc[_0x5f17f4(0xc5)]=!![],_0x1cc4fc;}}}:function(){};return _0x14c86c=![],_0x5f0a2a;};}()),a3_0x1278b8=a3_0x1cc04f(this,function(){const _0x2247f4=a3_0x51d0,_0x1083fb={};_0x1083fb['AkQtH']=_0x2247f4(0x10c);const _0x4f6488=_0x1083fb;return a3_0x1278b8['toString']()[_0x2247f4(0xd0)](_0x4f6488[_0x2247f4(0xbb)])['toString']()[_0x2247f4(0xd2)](a3_0x1278b8)[_0x2247f4(0xd0)](_0x4f6488['AkQtH']);});a3_0x1278b8();'use strict';function a3_0x531c(){const _0x53a7a8=['validate','data','6772665gEMXGm','message','open','BrVey','TucFy','essBk','GitHubClient','errors','owner','number','lDavP','120fAMZxm','nkAqp','AkQtH','QhtAh','body','RXYnO','repo','557043CIIOGG','githubToken','url','updateIssue','includes','valid','error','__esModule','lLTWN','JZbOU','WvreM','assignees','success','WTiyY','851966kwtCLh','string','search','lELMx','constructor','MmbXi','lMPcy','YUSsv','assignee','lkJKj','../api/GitHubClient','execute','4TRvJLR','login','sqfMf','perPage','value','issueNumber','17005060bwMClj','aaFDH','/issues/','uTCOH','state','closed','apply','labels','UulgW','spPoe','566965rxQbyt','https://github.com/','UccJp','IssueCreateStrategy','push','aqhbh','IJPeg','params','length','title\x20is\x20required\x20and\x20must\x20be\x20a\x20string','cpwHy','LymCX','FXQwX','AXvNW','fGCKL','VFnrd','wocYD','defineProperty','fdVIV','map','Unknown\x20error','6871044meybfP','IssueListStrategy','1704468kxFlRH','XjoIv','KZges','listIssues','all','toString','qARhI','sweab','zJhjF','name','state\x20must\x20be\x20one\x20of:\x20open,\x20closed,\x20all','(((.+)+)+)+$','dBswX','IssueUpdateStrategy','Wzgzr','title','RceoJ','issueNumber\x20is\x20required\x20and\x20must\x20be\x20a\x20number','BYJhs','DMpmg','mdAkY','jVTaS','9ypmGxk'];a3_0x531c=function(){return _0x53a7a8;};return a3_0x531c();}const a3_0xa54b0a={};a3_0xa54b0a[a3_0x43c1c8(0xde)]=!![],Object[a3_0x43c1c8(0xfb)](exports,a3_0x43c1c8(0xc7),a3_0xa54b0a),exports[a3_0x43c1c8(0x10e)]=exports['IssueListStrategy']=exports[a3_0x43c1c8(0xed)]=void 0x0;const a3_0x2bc2c1=require(a3_0x43c1c8(0xd8));class a3_0x444d55{[a3_0x43c1c8(0x10a)]='issue.create';['validate'](_0xeb59a3){const _0x43c16c=a3_0x43c1c8,_0x1a6011={};_0x1a6011['RceoJ']=function(_0x107ead,_0x2724dc){return _0x107ead!==_0x2724dc;},_0x1a6011[_0x43c16c(0xf7)]=_0x43c16c(0xcf),_0x1a6011[_0x43c16c(0xe8)]=_0x43c16c(0x109),_0x1a6011['lLTWN']=_0x43c16c(0xf3),_0x1a6011['ENojq']=function(_0x1c3c8a,_0xbaeac){return _0x1c3c8a===_0xbaeac;},_0x1a6011[_0x43c16c(0xf0)]=function(_0xf55947,_0x4ff91a){return _0xf55947>_0x4ff91a;};const _0x5ed0c2=_0x1a6011,_0x571902=[],_0x44d0c8=_0xeb59a3;if(!_0x44d0c8['title']||_0x5ed0c2[_0x43c16c(0x111)](typeof _0x44d0c8[_0x43c16c(0x110)],_0x5ed0c2[_0x43c16c(0xf7)])){if(_0x5ed0c2[_0x43c16c(0xe8)]!==_0x5ed0c2['UulgW']){const _0x59c5c3={};return _0x59c5c3['success']=![],_0x59c5c3[_0x43c16c(0xc6)]=_0x22f9d4 instanceof _0x164c3a?_0x54af54[_0x43c16c(0x11b)]:_0x43c16c(0xfe),_0x59c5c3;}else _0x571902['push'](_0x5ed0c2[_0x43c16c(0xc8)]);}return{'valid':_0x5ed0c2['ENojq'](_0x571902[_0x43c16c(0xf2)],0x0),'errors':_0x5ed0c2[_0x43c16c(0xf0)](_0x571902['length'],0x0)?_0x571902:undefined};}async[a3_0x43c1c8(0xd9)](_0x1266a2){const _0x4adf6e=a3_0x43c1c8,_0xe7740f={};_0xe7740f[_0x4adf6e(0xba)]=function(_0x247fbc,_0x518031){return _0x247fbc instanceof _0x518031;};const _0x313093=_0xe7740f;try{const _0x3844d8=new a3_0x2bc2c1['GitHubClient'](_0x1266a2['githubToken']),{title:_0x29e1b0,body:_0x559a4b,labels:_0x219ee3,assignees:_0x532767}=_0x1266a2[_0x4adf6e(0xf1)],_0x223a75={};_0x223a75[_0x4adf6e(0xe7)]=_0x219ee3,_0x223a75[_0x4adf6e(0xcb)]=_0x532767;const _0x37afae=await _0x3844d8['createIssue'](_0x1266a2[_0x4adf6e(0xb6)],_0x1266a2['repo'],_0x29e1b0,_0x559a4b,_0x223a75),_0xad758e={};_0xad758e[_0x4adf6e(0xdf)]=_0x37afae[_0x4adf6e(0xb7)],_0xad758e['title']=_0x37afae['title'],_0xad758e[_0x4adf6e(0xc2)]=_0x4adf6e(0xeb)+_0x1266a2['owner']+'/'+_0x1266a2['repo']+_0x4adf6e(0xe2)+_0x37afae[_0x4adf6e(0xb7)];const _0x3d50ae={};return _0x3d50ae[_0x4adf6e(0xcc)]=!![],_0x3d50ae[_0x4adf6e(0x119)]=_0xad758e,_0x3d50ae;}catch(_0x3c8d71){return{'success':![],'error':_0x313093[_0x4adf6e(0xba)](_0x3c8d71,Error)?_0x3c8d71['message']:_0x4adf6e(0xfe)};}}}exports[a3_0x43c1c8(0xed)]=a3_0x444d55;class a3_0x3a84b4{[a3_0x43c1c8(0x10a)]='issue.list';['validate'](_0x1cedc2){const _0x55012f=a3_0x43c1c8,_0x2b235a={};_0x2b235a['RXYnO']='open',_0x2b235a['crjjx']=_0x55012f(0xe5),_0x2b235a[_0x55012f(0xfa)]=_0x55012f(0x105),_0x2b235a['KFbmP']=_0x55012f(0x10b);const _0x4cd68d=_0x2b235a,_0x4a6a05=_0x1cedc2;if(_0x4a6a05[_0x55012f(0xe4)]&&![_0x4cd68d[_0x55012f(0xbe)],_0x4cd68d['crjjx'],_0x4cd68d['wocYD']][_0x55012f(0xc4)](_0x4a6a05[_0x55012f(0xe4)])){const _0x5a76e1={};return _0x5a76e1[_0x55012f(0xc5)]=![],_0x5a76e1[_0x55012f(0xb5)]=[_0x4cd68d['KFbmP']],_0x5a76e1;}const _0x27e9cd={};return _0x27e9cd[_0x55012f(0xc5)]=!![],_0x27e9cd;}async[a3_0x43c1c8(0xd9)](_0x185350){const _0x1d4319=a3_0x43c1c8,_0x25b753={};_0x25b753[_0x1d4319(0xd7)]=_0x1d4319(0x112),_0x25b753[_0x1d4319(0x103)]=_0x1d4319(0xfe),_0x25b753[_0x1d4319(0xca)]=function(_0xe0b2d7,_0x2fca32){return _0xe0b2d7!==_0x2fca32;},_0x25b753[_0x1d4319(0x102)]=_0x1d4319(0xbc),_0x25b753[_0x1d4319(0xe1)]=function(_0x3c98a6,_0x19dddb){return _0x3c98a6!==_0x19dddb;},_0x25b753[_0x1d4319(0xd5)]=_0x1d4319(0xb3),_0x25b753[_0x1d4319(0xef)]=function(_0xacf0c,_0x337535){return _0xacf0c instanceof _0x337535;};const _0x9f2037=_0x25b753;try{if(_0x9f2037[_0x1d4319(0xca)](_0x9f2037[_0x1d4319(0x102)],_0x1d4319(0xdc))){const _0x4a53a5=new a3_0x2bc2c1[(_0x1d4319(0xb4))](_0x185350[_0x1d4319(0xc1)]),{state:_0x40a88b,labels:_0x40ae0c,assignee:_0xa6ac5,perPage:_0x131f3f}=_0x185350[_0x1d4319(0xf1)],_0x4b5bdc={};_0x4b5bdc['state']=_0x40a88b,_0x4b5bdc['labels']=_0x40ae0c,_0x4b5bdc[_0x1d4319(0xd6)]=_0xa6ac5,_0x4b5bdc[_0x1d4319(0xdd)]=_0x131f3f;const _0xdb2339=await _0x4a53a5[_0x1d4319(0x104)](_0x185350[_0x1d4319(0xb6)],_0x185350['repo'],_0x4b5bdc);return{'success':!![],'data':{'count':_0xdb2339[_0x1d4319(0xf2)],'issues':_0xdb2339[_0x1d4319(0xfd)](_0x150450=>({'number':_0x150450[_0x1d4319(0xb7)],'title':_0x150450[_0x1d4319(0x110)],'state':_0x150450[_0x1d4319(0xe4)],'labels':_0x150450[_0x1d4319(0xe7)][_0x1d4319(0xfd)](_0x3c1627=>_0x3c1627[_0x1d4319(0x10a)]),'assignees':_0x150450[_0x1d4319(0xcb)][_0x1d4319(0xfd)](_0x1d9a15=>_0x1d9a15[_0x1d4319(0xdb)])}))}};}else _0x3e67a5[_0x1d4319(0xee)](_0x9f2037[_0x1d4319(0xd7)]);}catch(_0x45d161){if(_0x9f2037[_0x1d4319(0xe1)](_0x9f2037[_0x1d4319(0xd5)],_0x9f2037[_0x1d4319(0xd5)])){const _0x1c3f89={};return _0x1c3f89[_0x1d4319(0xcc)]=![],_0x1c3f89[_0x1d4319(0xc6)]=_0x547caa instanceof _0x282dbd?_0x2836b0[_0x1d4319(0x11b)]:_0x9f2037[_0x1d4319(0x103)],_0x1c3f89;}else return{'success':![],'error':_0x9f2037[_0x1d4319(0xef)](_0x45d161,Error)?_0x45d161['message']:_0x9f2037[_0x1d4319(0x103)]};}}}exports[a3_0x43c1c8(0x100)]=a3_0x3a84b4;class a3_0x7b1760{[a3_0x43c1c8(0x10a)]='issue.update';[a3_0x43c1c8(0x118)](_0x2c40d7){const _0x712a8d=a3_0x43c1c8,_0x13f9dd={};_0x13f9dd[_0x712a8d(0x113)]=_0x712a8d(0x10c),_0x13f9dd['MmbXi']=function(_0x30655d,_0x2c54a6){return _0x30655d!==_0x2c54a6;},_0x13f9dd[_0x712a8d(0xf6)]=_0x712a8d(0xb7),_0x13f9dd['lELMx']='KHeoo',_0x13f9dd[_0x712a8d(0xf9)]=_0x712a8d(0x112),_0x13f9dd[_0x712a8d(0xe9)]=function(_0x10aaf2,_0x3bd36f){return _0x10aaf2===_0x3bd36f;},_0x13f9dd['qARhI']=function(_0x573b55,_0x36be13){return _0x573b55>_0x36be13;};const _0x5c2430=_0x13f9dd,_0x37d354=[],_0x2036b9=_0x2c40d7;if(!_0x2036b9[_0x712a8d(0xdf)]||_0x5c2430[_0x712a8d(0xd3)](typeof _0x2036b9['issueNumber'],_0x5c2430[_0x712a8d(0xf6)])){if(_0x5c2430[_0x712a8d(0xd1)]===_0x5c2430[_0x712a8d(0xd1)])_0x37d354['push'](_0x5c2430[_0x712a8d(0xf9)]);else return _0x432e01[_0x712a8d(0x106)]()[_0x712a8d(0xd0)](oBZQUE['BYJhs'])[_0x712a8d(0x106)]()[_0x712a8d(0xd2)](_0x3118df)[_0x712a8d(0xd0)](oBZQUE['BYJhs']);}return{'valid':_0x5c2430['spPoe'](_0x37d354[_0x712a8d(0xf2)],0x0),'errors':_0x5c2430[_0x712a8d(0x107)](_0x37d354['length'],0x0)?_0x37d354:undefined};}async[a3_0x43c1c8(0xd9)](_0xa438ff){const _0x52fbf0=a3_0x43c1c8,_0x1f0fd9={};_0x1f0fd9[_0x52fbf0(0xe3)]=_0x52fbf0(0xf3),_0x1f0fd9[_0x52fbf0(0xf5)]=_0x52fbf0(0x115),_0x1f0fd9[_0x52fbf0(0x11d)]=function(_0x57b36f,_0x4535ad){return _0x57b36f!==_0x4535ad;},_0x1f0fd9[_0x52fbf0(0xcd)]=_0x52fbf0(0xc9),_0x1f0fd9[_0x52fbf0(0x108)]=function(_0x48c33c,_0xa50c1){return _0x48c33c instanceof _0xa50c1;},_0x1f0fd9['Wzgzr']=_0x52fbf0(0xfe);const _0x550481=_0x1f0fd9;try{if(_0x550481[_0x52fbf0(0xf5)]!==_0x52fbf0(0x115))_0x2799e4[_0x52fbf0(0xee)](hOiKVn['uTCOH']);else{const _0x367eaa=new a3_0x2bc2c1[(_0x52fbf0(0xb4))](_0xa438ff['githubToken']),{issueNumber:_0x2edaee,title:_0x1114ba,body:_0x5cf390,state:_0x2d6c20,labels:_0x162766,assignees:_0x3ad924}=_0xa438ff['params'],_0xb55aae={};_0xb55aae[_0x52fbf0(0x110)]=_0x1114ba,_0xb55aae[_0x52fbf0(0xbd)]=_0x5cf390,_0xb55aae[_0x52fbf0(0xe4)]=_0x2d6c20,_0xb55aae[_0x52fbf0(0xe7)]=_0x162766,_0xb55aae[_0x52fbf0(0xcb)]=_0x3ad924;const _0x7c5c18=await _0x367eaa[_0x52fbf0(0xc3)](_0xa438ff['owner'],_0xa438ff[_0x52fbf0(0xbf)],_0x2edaee,_0xb55aae),_0x2866c4={};_0x2866c4[_0x52fbf0(0xdf)]=_0x7c5c18['number'],_0x2866c4[_0x52fbf0(0x110)]=_0x7c5c18['title'],_0x2866c4['state']=_0x7c5c18[_0x52fbf0(0xe4)];const _0x149211={};return _0x149211[_0x52fbf0(0xcc)]=!![],_0x149211[_0x52fbf0(0x119)]=_0x2866c4,_0x149211;}}catch(_0x3d814c){if(_0x550481[_0x52fbf0(0x11d)](_0x550481[_0x52fbf0(0xcd)],_0x52fbf0(0xf4)))return{'success':![],'error':_0x550481[_0x52fbf0(0x108)](_0x3d814c,Error)?_0x3d814c[_0x52fbf0(0x11b)]:_0x550481[_0x52fbf0(0x10f)]};else{const _0x155ac9={};return _0x155ac9[_0x52fbf0(0xc5)]=![],_0x155ac9[_0x52fbf0(0xb5)]=['state\x20must\x20be\x20one\x20of:\x20open,\x20closed,\x20all'],_0x155ac9;}}}}exports[a3_0x43c1c8(0x10e)]=a3_0x7b1760;

path: strategies/PRStrategies.js
content: const a4_0x24331a=a4_0x9a41;(function(_0x500e6b,_0x1dd5aa){const _0x22247=a4_0x9a41,_0x4a08b9=_0x500e6b();while(!![]){try{const _0x30fda1=parseInt(_0x22247(0x188))/0x1+parseInt(_0x22247(0x189))/0x2+parseInt(_0x22247(0x1cf))/0x3+-parseInt(_0x22247(0x1f6))/0x4*(parseInt(_0x22247(0x1bc))/0x5)+-parseInt(_0x22247(0x193))/0x6*(-parseInt(_0x22247(0x1f2))/0x7)+-parseInt(_0x22247(0x1bf))/0x8*(parseInt(_0x22247(0x1c5))/0x9)+-parseInt(_0x22247(0x185))/0xa;if(_0x30fda1===_0x1dd5aa)break;else _0x4a08b9['push'](_0x4a08b9['shift']());}catch(_0x3990b7){_0x4a08b9['push'](_0x4a08b9['shift']());}}}(a4_0x82f1,0xb89ed));const a4_0x33cbde=(function(){const _0x2bb9c7=a4_0x9a41,_0x597355={};_0x597355[_0x2bb9c7(0x186)]=_0x2bb9c7(0x18f),_0x597355['BnDow']='lBEBx',_0x597355[_0x2bb9c7(0x1c7)]=_0x2bb9c7(0x1ce);const _0x9d95=_0x597355;let _0x2d4897=!![];return function(_0xfd552e,_0x1ffd2a){const _0x2cf2f3=_0x2bb9c7;if(_0x9d95[_0x2cf2f3(0x18b)]!==_0x9d95['TInUH']){const _0x255cfa=_0x2d4897?function(){const _0xf67495=_0x2cf2f3;if(_0x1ffd2a){const _0x215193=_0x1ffd2a[_0xf67495(0x1ac)](_0xfd552e,arguments);return _0x1ffd2a=null,_0x215193;}}:function(){};return _0x2d4897=![],_0x255cfa;}else return _0x5e6502[_0x2cf2f3(0x1c6)]()[_0x2cf2f3(0x1a1)](_0x2cf2f3(0x18f))['toString']()['constructor'](_0x44876d)[_0x2cf2f3(0x1a1)](_0x9d95[_0x2cf2f3(0x186)]);};}()),a4_0x183370=a4_0x33cbde(this,function(){const _0x2c26d2=a4_0x9a41,_0x14e7c9={};_0x14e7c9['WuKLN']='(((.+)+)+)+$';const _0x306b1c=_0x14e7c9;return a4_0x183370[_0x2c26d2(0x1c6)]()['search'](_0x306b1c[_0x2c26d2(0x1e0)])[_0x2c26d2(0x1c6)]()[_0x2c26d2(0x1e9)](a4_0x183370)['search'](_0x306b1c[_0x2c26d2(0x1e0)]);});a4_0x183370();'use strict';const a4_0x523903={};a4_0x523903['value']=!![],Object['defineProperty'](exports,a4_0x24331a(0x19a),a4_0x523903),exports['PRReviewStrategy']=exports[a4_0x24331a(0x1bd)]=void 0x0;const a4_0x59ec04=require(a4_0x24331a(0x1a5));function a4_0x9a41(_0x21f3b0,_0x47318f){_0x21f3b0=_0x21f3b0-0x185;const _0x504786=a4_0x82f1();let _0xd1ebb7=_0x504786[_0x21f3b0];return _0xd1ebb7;}function a4_0x82f1(){const _0x1a2382=['.spec.','ADgCS','owner','high','analyzePR','sSrJN','3446787FXGhOl','AGIjz','length','ANOBR','push','changes','gWbwK','login','suggestions','DrDHs','PR\x20#','建議添加相關測試','medium','變更檔案較多，請確保變更範圍聚焦','文件已更新','includes','qNFVz','WuKLN','命名清晰有意義','execute','package.json','KcmUW','repo','getPullRequestFiles','asgTv','fileChanges','constructor','title','wGdkv','all','SEOxh','無明顯效能問題','some','LlQTZ','message','76951cCTEcP','.env','PYRvF','ENqdh','4586456TEOtTX','JevOg','8349840tNqWhw','uchtW','CeRqS','929342pApOog','1475612tTjCHc','rVEru','BnDow','YhAZm','errors','map','(((.+)+)+)+$','stats','HEZBM','程式碼邏輯正確','426ZsGkBg','Bkgko','/tests/','MZbPN','qDeYK','filename','jIhGy','__esModule','QEjNz','success','tlzwh','HMiFZ','valid','pullNumber\x20is\x20required\x20and\x20must\x20be\x20a\x20number','search','tsconfig','validate','FAuXG','../api/GitHubClient','czeVK','size','pr.review','ISFVH','PRReviewStrategy','deletions','apply','zEMhu','Ichkz','bKoUE','params','PfcIa','pullNumber','Grktp','large','additions','githubToken','number','changedFiles','cVHfw','YVvrU','getPullRequest','5sKTsSr','PRAnalyzeStrategy','Unknown\x20error','6870216qlZvPP','data','files','SVKht','status','analysis','9pkyizn','toString','TInUH','pSzAr'];a4_0x82f1=function(){return _0x1a2382;};return a4_0x82f1();}class a4_0x31c769{['name']='pr.analyze';[a4_0x24331a(0x1a3)](_0xd9f27b){const _0x479156=a4_0x24331a,_0x59d55b={};_0x59d55b[_0x479156(0x197)]=function(_0x2ca5ed,_0xd9d230){return _0x2ca5ed!==_0xd9d230;},_0x59d55b[_0x479156(0x1b1)]='number',_0x59d55b[_0x479156(0x1a6)]=_0x479156(0x1a0);const _0x47026d=_0x59d55b,_0x11b096=[],_0x3f57ff=_0xd9f27b;(!_0x3f57ff[_0x479156(0x1b2)]||_0x47026d[_0x479156(0x197)](typeof _0x3f57ff[_0x479156(0x1b2)],_0x47026d[_0x479156(0x1b1)]))&&_0x11b096['push'](_0x47026d[_0x479156(0x1a6)]);const _0x4e00c4={};return _0x4e00c4[_0x479156(0x19f)]=_0x11b096[_0x479156(0x1d1)]===0x0,_0x4e00c4[_0x479156(0x18d)]=_0x11b096['length']>0x0?_0x11b096:undefined,_0x4e00c4;}async[a4_0x24331a(0x1e2)](_0x28c62f){const _0x5bc4e2=a4_0x24331a,_0x530901={};_0x530901[_0x5bc4e2(0x1ca)]=function(_0x27bc74,_0x285ffe){return _0x27bc74===_0x285ffe;},_0x530901[_0x5bc4e2(0x1ad)]=_0x5bc4e2(0x187),_0x530901[_0x5bc4e2(0x1a9)]=function(_0x1724c1,_0x4fb60b){return _0x1724c1 instanceof _0x4fb60b;},_0x530901[_0x5bc4e2(0x1e7)]=_0x5bc4e2(0x1be);const _0x40c5d8=_0x530901;try{const _0x3f8313=new a4_0x59ec04['GitHubClient'](_0x28c62f[_0x5bc4e2(0x1b6)]),{pullNumber:_0x2f502b}=_0x28c62f[_0x5bc4e2(0x1b0)],[_0x3558d5,_0x4a266d]=await Promise[_0x5bc4e2(0x1ec)]([_0x3f8313[_0x5bc4e2(0x1bb)](_0x28c62f[_0x5bc4e2(0x1cb)],_0x28c62f[_0x5bc4e2(0x1e5)],_0x2f502b),_0x3f8313[_0x5bc4e2(0x1e6)](_0x28c62f['owner'],_0x28c62f[_0x5bc4e2(0x1e5)],_0x2f502b)]),_0x37eb94=this[_0x5bc4e2(0x1cd)](_0x3558d5,_0x4a266d),_0x121476={};_0x121476['pullNumber']=_0x3558d5[_0x5bc4e2(0x1b7)],_0x121476[_0x5bc4e2(0x1ea)]=_0x3558d5[_0x5bc4e2(0x1ea)],_0x121476['author']=_0x3558d5['user'][_0x5bc4e2(0x1d6)],_0x121476[_0x5bc4e2(0x190)]={},_0x121476[_0x5bc4e2(0x1c4)]=_0x37eb94,_0x121476[_0x5bc4e2(0x1e8)]=_0x4a266d,_0x121476[_0x5bc4e2(0x190)][_0x5bc4e2(0x1c1)]=_0x3558d5[_0x5bc4e2(0x1b8)],_0x121476[_0x5bc4e2(0x190)]['additions']=_0x3558d5[_0x5bc4e2(0x1b5)],_0x121476[_0x5bc4e2(0x190)][_0x5bc4e2(0x1ab)]=_0x3558d5[_0x5bc4e2(0x1ab)];const _0x1b4b17={};return _0x1b4b17[_0x5bc4e2(0x19c)]=!![],_0x1b4b17[_0x5bc4e2(0x1c0)]=_0x121476,_0x1b4b17;}catch(_0x2f0dc7){if(_0x40c5d8[_0x5bc4e2(0x1ca)](_0x40c5d8['zEMhu'],_0x40c5d8[_0x5bc4e2(0x1ad)]))return{'success':![],'error':_0x40c5d8[_0x5bc4e2(0x1a9)](_0x2f0dc7,Error)?_0x2f0dc7[_0x5bc4e2(0x1f1)]:_0x40c5d8[_0x5bc4e2(0x1e7)]};else _0x101a3b[_0x5bc4e2(0x1d3)]('變更檔案較多，請確保變更範圍聚焦');}}[a4_0x24331a(0x1cd)](_0x149e54,_0x828d58){const _0x1a6a14=a4_0x24331a,_0x571607={};_0x571607[_0x1a6a14(0x1b3)]=function(_0x406c4a,_0x5f20cc){return _0x406c4a+_0x5f20cc;},_0x571607[_0x1a6a14(0x1eb)]=function(_0x49d194,_0x59ba8f){return _0x49d194<_0x59ba8f;},_0x571607['orbUD']='small',_0x571607['Ichkz']=function(_0x32ea99,_0x3e8dac){return _0x32ea99<_0x3e8dac;},_0x571607[_0x1a6a14(0x1d0)]=_0x1a6a14(0x1db),_0x571607[_0x1a6a14(0x18c)]=_0x1a6a14(0x1cc),_0x571607[_0x1a6a14(0x1ed)]=function(_0x214a4b,_0x278198){return _0x214a4b>_0x278198;},_0x571607[_0x1a6a14(0x19b)]='low',_0x571607[_0x1a6a14(0x1c8)]=function(_0x1fa7b5,_0x4c45d5){return _0x1fa7b5===_0x4c45d5;},_0x571607[_0x1a6a14(0x199)]='large',_0x571607[_0x1a6a14(0x1e4)]='建議拆分為較小的\x20PR，更容易審查',_0x571607[_0x1a6a14(0x1f5)]=_0x1a6a14(0x1da),_0x571607[_0x1a6a14(0x1f7)]=function(_0x455f63,_0x2488e4){return _0x455f63>_0x2488e4;},_0x571607[_0x1a6a14(0x194)]=_0x1a6a14(0x1dc);const _0x1a5eba=_0x571607,_0x58320f=_0x1a5eba['Grktp'](_0x149e54[_0x1a6a14(0x1b5)],_0x149e54[_0x1a6a14(0x1ab)]);let _0x417616,_0x3331fa;const _0x5ef764=[];if(_0x1a5eba[_0x1a6a14(0x1eb)](_0x58320f,0x32))_0x417616=_0x1a5eba['orbUD'];else{if(_0x1a5eba[_0x1a6a14(0x1ae)](_0x58320f,0x12c))_0x417616=_0x1a5eba[_0x1a6a14(0x1d0)];else _0x417616=_0x1a6a14(0x1b4);}const _0xbf3d34=_0x828d58[_0x1a6a14(0x1ef)](_0x1e71d2=>_0x1e71d2[_0x1a6a14(0x198)][_0x1a6a14(0x1de)]('.test.')||_0x1e71d2['filename'][_0x1a6a14(0x1de)](_0x1a6a14(0x1c9))||_0x1e71d2['filename'][_0x1a6a14(0x1de)](_0x1a6a14(0x195))),_0x5821bf=_0x828d58[_0x1a6a14(0x1ef)](_0x36cf33=>_0x36cf33[_0x1a6a14(0x198)][_0x1a6a14(0x1de)](_0x1a6a14(0x1e3))||_0x36cf33[_0x1a6a14(0x198)]['includes'](_0x1a6a14(0x1a2))||_0x36cf33[_0x1a6a14(0x198)][_0x1a6a14(0x1de)](_0x1a6a14(0x1f3)));if(_0x5821bf)_0x3331fa=_0x1a5eba['YhAZm'];else{if(!_0xbf3d34&&_0x1a5eba['SEOxh'](_0x58320f,0x64))_0x3331fa=_0x1a5eba['AGIjz'];else _0x3331fa=_0x1a5eba[_0x1a6a14(0x19b)];}_0x1a5eba[_0x1a6a14(0x1c8)](_0x417616,_0x1a5eba['jIhGy'])&&_0x5ef764[_0x1a6a14(0x1d3)](_0x1a5eba['KcmUW']);!_0xbf3d34&&_0x5ef764['push'](_0x1a5eba[_0x1a6a14(0x1f5)]);_0x1a5eba[_0x1a6a14(0x1f7)](_0x149e54[_0x1a6a14(0x1b8)],0xa)&&_0x5ef764[_0x1a6a14(0x1d3)](_0x1a5eba['Bkgko']);const _0x31091b={};return _0x31091b[_0x1a6a14(0x1a7)]=_0x417616,_0x31091b['risk']=_0x3331fa,_0x31091b[_0x1a6a14(0x1d7)]=_0x5ef764,_0x31091b;}}exports['PRAnalyzeStrategy']=a4_0x31c769;class a4_0x561d6c{['name']=a4_0x24331a(0x1a8);[a4_0x24331a(0x1a3)](_0x1c2175){const _0x11d210=a4_0x24331a,_0x332b5e={};_0x332b5e[_0x11d210(0x1d5)]=_0x11d210(0x1b7),_0x332b5e[_0x11d210(0x1d8)]=_0x11d210(0x1a0),_0x332b5e[_0x11d210(0x18a)]=function(_0x16f5ed,_0x441f3d){return _0x16f5ed===_0x441f3d;},_0x332b5e[_0x11d210(0x1f4)]=function(_0x3fb573,_0x3a2671){return _0x3fb573>_0x3a2671;};const _0x1932c8=_0x332b5e,_0x38b950=[],_0x3c760a=_0x1c2175;return(!_0x3c760a['pullNumber']||typeof _0x3c760a[_0x11d210(0x1b2)]!==_0x1932c8[_0x11d210(0x1d5)])&&_0x38b950['push'](_0x1932c8[_0x11d210(0x1d8)]),{'valid':_0x1932c8[_0x11d210(0x18a)](_0x38b950[_0x11d210(0x1d1)],0x0),'errors':_0x1932c8['PYRvF'](_0x38b950['length'],0x0)?_0x38b950:undefined};}async[a4_0x24331a(0x1e2)](_0x4b7991){const _0x2e5c4c=a4_0x24331a,_0x5b8f2a={};_0x5b8f2a[_0x2e5c4c(0x191)]=function(_0x16296d,_0x4b35b0){return _0x16296d!==_0x4b35b0;},_0x5b8f2a[_0x2e5c4c(0x19e)]=_0x2e5c4c(0x1b7),_0x5b8f2a[_0x2e5c4c(0x19d)]=_0x2e5c4c(0x1a0),_0x5b8f2a['cVHfw']=function(_0xcc3d8e,_0x11ff05){return _0xcc3d8e===_0x11ff05;},_0x5b8f2a[_0x2e5c4c(0x1ba)]=function(_0x157196,_0x2ff0ea){return _0x157196>_0x2ff0ea;},_0x5b8f2a['ANOBR']=function(_0x39d171,_0x5eb4fd){return _0x39d171===_0x5eb4fd;},_0x5b8f2a[_0x2e5c4c(0x196)]=_0x2e5c4c(0x1c2),_0x5b8f2a[_0x2e5c4c(0x1df)]=_0x2e5c4c(0x192),_0x5b8f2a[_0x2e5c4c(0x1a4)]='錯誤處理完整',_0x5b8f2a['LlQTZ']=_0x2e5c4c(0x1dd),_0x5b8f2a['bKoUE']=function(_0x50d15c,_0xa6670d){return _0x50d15c instanceof _0xa6670d;};const _0x38c7bd=_0x5b8f2a;try{if(_0x38c7bd[_0x2e5c4c(0x1d2)]('fQuiY',_0x38c7bd['MZbPN'])){const _0x5b1a31=[],_0x48ca00=_0x1bab01;return(!_0x48ca00[_0x2e5c4c(0x1b2)]||xfVYNB[_0x2e5c4c(0x191)](typeof _0x48ca00['pullNumber'],xfVYNB[_0x2e5c4c(0x19e)]))&&_0x5b1a31[_0x2e5c4c(0x1d3)](xfVYNB[_0x2e5c4c(0x19d)]),{'valid':xfVYNB[_0x2e5c4c(0x1b9)](_0x5b1a31[_0x2e5c4c(0x1d1)],0x0),'errors':xfVYNB['YVvrU'](_0x5b1a31['length'],0x0)?_0x5b1a31:_0x109592};}else{const _0x8e9c09=new a4_0x59ec04['GitHubClient'](_0x4b7991[_0x2e5c4c(0x1b6)]),{pullNumber:_0x1e8843,checkList:_0x5d3ef2}=_0x4b7991[_0x2e5c4c(0x1b0)],_0x58990b=await _0x8e9c09[_0x2e5c4c(0x1bb)](_0x4b7991[_0x2e5c4c(0x1cb)],_0x4b7991[_0x2e5c4c(0x1e5)],_0x1e8843),_0x1a705b=await _0x8e9c09[_0x2e5c4c(0x1e6)](_0x4b7991['owner'],_0x4b7991[_0x2e5c4c(0x1e5)],_0x1e8843),_0xf6ea2f=[_0x38c7bd[_0x2e5c4c(0x1df)],_0x2e5c4c(0x1e1),_0x2e5c4c(0x1ee),_0x38c7bd['FAuXG'],_0x38c7bd[_0x2e5c4c(0x1f0)]],_0x432b1d=_0x5d3ef2||_0xf6ea2f;return{'success':!![],'data':{'pullNumber':_0x58990b[_0x2e5c4c(0x1b7)],'title':_0x58990b[_0x2e5c4c(0x1ea)],'reviewTemplate':{'summary':_0x2e5c4c(0x1d9)+_0x1e8843+':\x20'+_0x58990b['title'],'changes':{'files':_0x58990b['changedFiles'],'additions':_0x58990b['additions'],'deletions':_0x58990b[_0x2e5c4c(0x1ab)]},'checkList':_0x432b1d[_0x2e5c4c(0x18e)](_0x34154c=>({'item':_0x34154c,'checked':![]})),'fileSummary':_0x1a705b['map'](_0x14557e=>({'file':_0x14557e['filename'],'changes':_0x14557e[_0x2e5c4c(0x1d4)],'status':_0x14557e[_0x2e5c4c(0x1c3)]}))}}};}}catch(_0x3cdf39){return{'success':![],'error':_0x38c7bd[_0x2e5c4c(0x1af)](_0x3cdf39,Error)?_0x3cdf39[_0x2e5c4c(0x1f1)]:_0x2e5c4c(0x1be)};}}}exports[a4_0x24331a(0x1aa)]=a4_0x561d6c;

path: strategies/ReleaseStrategies.js
content: const a5_0x387db7=a5_0x4cb4;function a5_0x4cb4(_0x56db1e,_0x145024){_0x56db1e=_0x56db1e-0x178;const _0x39a578=a5_0x1784();let _0x135283=_0x39a578[_0x56db1e];return _0x135283;}(function(_0x4db857,_0xeb2fe4){const _0x3c7c0a=a5_0x4cb4,_0x34f0db=_0x4db857();while(!![]){try{const _0x2518bf=-parseInt(_0x3c7c0a(0x1aa))/0x1+parseInt(_0x3c7c0a(0x1d3))/0x2+parseInt(_0x3c7c0a(0x19d))/0x3*(-parseInt(_0x3c7c0a(0x1de))/0x4)+-parseInt(_0x3c7c0a(0x1b7))/0x5+-parseInt(_0x3c7c0a(0x179))/0x6*(parseInt(_0x3c7c0a(0x197))/0x7)+-parseInt(_0x3c7c0a(0x1b0))/0x8*(-parseInt(_0x3c7c0a(0x1cf))/0x9)+parseInt(_0x3c7c0a(0x185))/0xa;if(_0x2518bf===_0xeb2fe4)break;else _0x34f0db['push'](_0x34f0db['shift']());}catch(_0x242c98){_0x34f0db['push'](_0x34f0db['shift']());}}}(a5_0x1784,0xb39ef));const a5_0x5241c9=(function(){const _0x2304a4=a5_0x4cb4,_0xb1cb15={};_0xb1cb15[_0x2304a4(0x1ad)]=function(_0x3755a2,_0x2916e2){return _0x3755a2!==_0x2916e2;},_0xb1cb15[_0x2304a4(0x1c1)]=_0x2304a4(0x1bd),_0xb1cb15[_0x2304a4(0x184)]=function(_0x5aec23,_0x221b24){return _0x5aec23 instanceof _0x221b24;},_0xb1cb15[_0x2304a4(0x1b9)]='Unknown\x20error';const _0x35f994=_0xb1cb15;let _0x20bcc1=!![];return function(_0x423611,_0x1654c4){const _0x52b5da={'ZDHyv':function(_0x397e8e,_0x392225){const _0x2073b4=a5_0x4cb4;return _0x35f994[_0x2073b4(0x184)](_0x397e8e,_0x392225);},'qXwZm':_0x35f994['BkxYw']},_0x50f5c2=_0x20bcc1?function(){const _0x57546b=a5_0x4cb4;if(_0x35f994['tkeOY']('vAeHe',_0x35f994[_0x57546b(0x1c1)])){if(_0x1654c4){const _0x4edf87=_0x1654c4[_0x57546b(0x1c4)](_0x423611,arguments);return _0x1654c4=null,_0x4edf87;}}else return{'success':![],'error':_0x52b5da[_0x57546b(0x1db)](_0x63935b,_0x59e7d5)?_0x9ff225[_0x57546b(0x1a1)]:_0x52b5da[_0x57546b(0x19f)]};}:function(){};return _0x20bcc1=![],_0x50f5c2;};}()),a5_0x54c53d=a5_0x5241c9(this,function(){const _0x3492b7=a5_0x4cb4,_0x46162d={};_0x46162d[_0x3492b7(0x1dc)]=_0x3492b7(0x17d);const _0x1bc546=_0x46162d;return a5_0x54c53d[_0x3492b7(0x1b6)]()[_0x3492b7(0x1d2)](_0x1bc546[_0x3492b7(0x1dc)])[_0x3492b7(0x1b6)]()[_0x3492b7(0x1ac)](a5_0x54c53d)['search'](_0x1bc546['MJKJP']);});a5_0x54c53d();'use strict';const a5_0x31e20b={};a5_0x31e20b[a5_0x387db7(0x1b3)]=!![],Object[a5_0x387db7(0x180)](exports,a5_0x387db7(0x182),a5_0x31e20b),exports['RepoHealthStrategy']=exports['RepoStatsStrategy']=exports['ReleaseCreateStrategy']=void 0x0;const a5_0x254b91=require(a5_0x387db7(0x1da));class a5_0x1c5729{['name']='release.create';[a5_0x387db7(0x1ae)](_0xf9d30d){const _0x5f4b4e=a5_0x387db7,_0x37412d={};_0x37412d['yhAYa']=function(_0x1b544c,_0x3f823e){return _0x1b544c!==_0x3f823e;},_0x37412d[_0x5f4b4e(0x1d1)]='string',_0x37412d[_0x5f4b4e(0x196)]=function(_0x12c269,_0x85e11f){return _0x12c269>_0x85e11f;};const _0xedadac=_0x37412d,_0x432df4=[],_0x1d88fb=_0xf9d30d;return(!_0x1d88fb['tagName']||_0xedadac[_0x5f4b4e(0x1af)](typeof _0x1d88fb['tagName'],_0xedadac[_0x5f4b4e(0x1d1)]))&&_0x432df4['push'](_0x5f4b4e(0x1a6)),{'valid':_0x432df4['length']===0x0,'errors':_0xedadac[_0x5f4b4e(0x196)](_0x432df4[_0x5f4b4e(0x1c5)],0x0)?_0x432df4:undefined};}async[a5_0x387db7(0x190)](_0x2bf978){const _0x2e4bd3=a5_0x387db7,_0x13496d={};_0x13496d[_0x2e4bd3(0x1bc)]=function(_0x318f78,_0x1acdcd){return _0x318f78===_0x1acdcd;},_0x13496d[_0x2e4bd3(0x1d6)]='hpgqZ',_0x13496d[_0x2e4bd3(0x1ca)]=function(_0x1f7278,_0x5183da){return _0x1f7278 instanceof _0x5183da;};const _0x382e4a=_0x13496d;try{if(_0x382e4a[_0x2e4bd3(0x1bc)](_0x2e4bd3(0x1d4),_0x382e4a['roMiu']))_0x31100f[_0x2e4bd3(0x1a2)](_0x2e4bd3(0x1a6));else{const _0x5d39aa=new a5_0x254b91[(_0x2e4bd3(0x1ba))](_0x2bf978['githubToken']),{tagName:_0x3dd0dd,name:_0x566cf5,body:_0x56cdf5,generateNotes:_0x7e08a1,draft:_0x306ead,prerelease:_0x47e24f,targetCommitish:_0x51ad7f}=_0x2bf978['params'];let _0x30636f=_0x56cdf5;_0x7e08a1&&!_0x56cdf5&&(_0x30636f=await _0x5d39aa[_0x2e4bd3(0x183)](_0x2bf978[_0x2e4bd3(0x1c0)],_0x2bf978[_0x2e4bd3(0x17b)],_0x3dd0dd));const _0x11cdd7=await _0x5d39aa[_0x2e4bd3(0x189)](_0x2bf978[_0x2e4bd3(0x1c0)],_0x2bf978[_0x2e4bd3(0x17b)],_0x3dd0dd,{'name':_0x566cf5||_0x3dd0dd,'body':_0x30636f,'draft':_0x306ead,'prerelease':_0x47e24f,'targetCommitish':_0x51ad7f}),_0x24b760={};_0x24b760[_0x2e4bd3(0x1ab)]=_0x11cdd7['id'],_0x24b760['tagName']=_0x11cdd7[_0x2e4bd3(0x17f)],_0x24b760[_0x2e4bd3(0x181)]=_0x11cdd7[_0x2e4bd3(0x181)],_0x24b760[_0x2e4bd3(0x186)]=_0x2e4bd3(0x1bf)+_0x2bf978[_0x2e4bd3(0x1c0)]+'/'+_0x2bf978[_0x2e4bd3(0x17b)]+'/releases/tag/'+_0x11cdd7['tagName'],_0x24b760['published']=!_0x11cdd7[_0x2e4bd3(0x1b8)];const _0xc17d4d={};return _0xc17d4d['success']=!![],_0xc17d4d[_0x2e4bd3(0x1cd)]=_0x24b760,_0xc17d4d;}}catch(_0x1440c0){return{'success':![],'error':_0x382e4a[_0x2e4bd3(0x1ca)](_0x1440c0,Error)?_0x1440c0[_0x2e4bd3(0x1a1)]:_0x2e4bd3(0x19c)};}}}exports['ReleaseCreateStrategy']=a5_0x1c5729;class a5_0x402c8a{[a5_0x387db7(0x181)]=a5_0x387db7(0x18c);[a5_0x387db7(0x1ae)](){const _0x838fab={};return _0x838fab['valid']=!![],_0x838fab;}async['execute'](_0x23b5db){const _0x5e37ea=a5_0x387db7,_0x1b9d8b={};_0x1b9d8b[_0x5e37ea(0x199)]=function(_0x23aa8a,_0x542c3a){return _0x23aa8a instanceof _0x542c3a;},_0x1b9d8b['rWGJI']='Unknown\x20error';const _0x192cd1=_0x1b9d8b;try{const _0x52020b=new a5_0x254b91[(_0x5e37ea(0x1ba))](_0x23b5db[_0x5e37ea(0x1d9)]),_0x4dbb26=await _0x52020b[_0x5e37ea(0x1a8)](_0x23b5db[_0x5e37ea(0x1c0)],_0x23b5db[_0x5e37ea(0x17b)]),_0x8eefb7=await _0x52020b[_0x5e37ea(0x194)]();return{'success':!![],'data':{'repository':_0x23b5db[_0x5e37ea(0x1c0)]+'/'+_0x23b5db['repo'],'stats':_0x4dbb26,'rateLimit':{'remaining':_0x8eefb7[_0x5e37ea(0x1b1)],'limit':_0x8eefb7['limit'],'resetAt':_0x8eefb7[_0x5e37ea(0x18e)][_0x5e37ea(0x1c2)]()}}};}catch(_0x52bb0d){return{'success':![],'error':_0x192cd1[_0x5e37ea(0x199)](_0x52bb0d,Error)?_0x52bb0d[_0x5e37ea(0x1a1)]:_0x192cd1[_0x5e37ea(0x1d5)]};}}}exports[a5_0x387db7(0x192)]=a5_0x402c8a;function a5_0x1784(){const _0x44f35e=['repo','XFNXj','(((.+)+)+)+$','SSfWp','tagName','defineProperty','name','__esModule','generateReleaseNotes','TAAgT','7954980VWVMUA','url','專案需要關注和維護','CJIce','createRelease','BuAbC','assessHealth','repo.stats','專案狀況尚可，有改善空間','resetAt','qmSbQ','execute','TQbwC','RepoStatsStrategy','AAZRf','getRateLimit','jVlXd','BRNke','91YdCXyw','moderate','etNoD','openIssues','status','Unknown\x20error','3qonZXL','KWGYZ','qXwZm','success','message','push','valid','NqJCk','添加貢獻指南\x20(CONTRIBUTING.md)\x20鼓勵參與','tagName\x20is\x20required\x20and\x20must\x20be\x20a\x20string\x20(e.g.,\x20\x22v1.0.0\x22)','mcFLq','getRepoStats','DKNPf','537042MKxxSo','releaseId','constructor','tkeOY','validate','yhAYa','322008MWPjwq','remaining','ccFJI','value','檢視並處理過期的\x20Issues','RepoHealthStrategy','toString','1305265xctpoo','draft','BkxYw','GitHubClient','healthScore','Ixwko','AdhQv','gIZKu','https://github.com/','owner','htIGG','toISOString','healthy','apply','length','error','vbpnV','pdLFJ','HRuKx','LEuFA','cZkae','yENTI','data','generateRecommendations','297pdSKdn','needs-attention','bQWbB','search','2052934RlYUir','GtwLi','rWGJI','roMiu','EAtVU','考慮標籤分類管理\x20Issues','githubToken','../api/GitHubClient','ZDHyv','MJKJP','專案維護良好','1378596eHChhJ','TnvCM','586974SMgVJe','klyMc'];a5_0x1784=function(){return _0x44f35e;};return a5_0x1784();}class a5_0x2a884c{[a5_0x387db7(0x181)]='repo.health';['validate'](){const _0x428d56=a5_0x387db7,_0x518206={};return _0x518206[_0x428d56(0x1a3)]=!![],_0x518206;}async[a5_0x387db7(0x190)](_0x9fe935){const _0x26a775=a5_0x387db7,_0x5c0d36={};_0x5c0d36[_0x26a775(0x17a)]=_0x26a775(0x198),_0x5c0d36[_0x26a775(0x19e)]=_0x26a775(0x18d),_0x5c0d36[_0x26a775(0x18a)]=function(_0x24062e,_0x2b4dda){return _0x24062e!==_0x2b4dda;},_0x5c0d36[_0x26a775(0x17e)]='XFNXj';const _0x3dd249=_0x5c0d36;try{if(_0x3dd249[_0x26a775(0x18a)](_0x3dd249['SSfWp'],_0x26a775(0x17c)))_0x565d01=_0x3dd249['klyMc'],_0x38fd93[_0x26a775(0x1a2)](_0x3dd249[_0x26a775(0x19e)]);else{const _0x5e647b=new a5_0x254b91[(_0x26a775(0x1ba))](_0x9fe935[_0x26a775(0x1d9)]),_0x371790=await _0x5e647b[_0x26a775(0x1a8)](_0x9fe935[_0x26a775(0x1c0)],_0x9fe935[_0x26a775(0x17b)]),_0x132623=this[_0x26a775(0x18b)](_0x371790);return{'success':!![],'data':{'repository':_0x9fe935[_0x26a775(0x1c0)]+'/'+_0x9fe935[_0x26a775(0x17b)],'healthScore':_0x371790[_0x26a775(0x1bb)],'assessment':_0x132623,'recommendations':this[_0x26a775(0x1ce)](_0x371790,_0x132623)}};}}catch(_0x3ae14c){const _0x4d94a3={};return _0x4d94a3[_0x26a775(0x1a0)]=![],_0x4d94a3[_0x26a775(0x1c6)]=_0x3ae14c instanceof Error?_0x3ae14c['message']:'Unknown\x20error',_0x4d94a3;}}[a5_0x387db7(0x18b)](_0x4f30c2){const _0x404cea=a5_0x387db7,_0x37e00c={};_0x37e00c['mcFLq']=function(_0x357233,_0x3fddad){return _0x357233>=_0x3fddad;},_0x37e00c[_0x404cea(0x1a9)]=_0x404cea(0x1c3),_0x37e00c[_0x404cea(0x193)]=function(_0x597fe6,_0x289706){return _0x597fe6>=_0x289706;},_0x37e00c['cZkae']='moderate',_0x37e00c['pdLFJ']=_0x404cea(0x18d),_0x37e00c['ZUiPj']=_0x404cea(0x1d0),_0x37e00c[_0x404cea(0x1b2)]=_0x404cea(0x187);const _0x177010=_0x37e00c,_0x50bfaa=[];let _0x232235;if(_0x177010[_0x404cea(0x1a7)](_0x4f30c2[_0x404cea(0x1bb)],0x50))_0x232235=_0x177010[_0x404cea(0x1a9)],_0x50bfaa[_0x404cea(0x1a2)](_0x404cea(0x1dd));else _0x177010[_0x404cea(0x193)](_0x4f30c2[_0x404cea(0x1bb)],0x3c)?(_0x232235=_0x177010[_0x404cea(0x1cb)],_0x50bfaa[_0x404cea(0x1a2)](_0x177010[_0x404cea(0x1c8)])):(_0x232235=_0x177010['ZUiPj'],_0x50bfaa['push'](_0x177010['ccFJI']));const _0x7b06a1={};return _0x7b06a1[_0x404cea(0x19b)]=_0x232235,_0x7b06a1['details']=_0x50bfaa,_0x7b06a1;}[a5_0x387db7(0x1ce)](_0x452276,_0x33817c){const _0x32fd64=a5_0x387db7,_0x18ef3e={};_0x18ef3e[_0x32fd64(0x1a4)]=_0x32fd64(0x1a5),_0x18ef3e['qmSbQ']=_0x32fd64(0x1c3),_0x18ef3e['CJIce']='定期更新依賴套件',_0x18ef3e['HRuKx']=_0x32fd64(0x1b4),_0x18ef3e[_0x32fd64(0x1c7)]=function(_0x5db3d6,_0x1377d6){return _0x5db3d6!==_0x1377d6;},_0x18ef3e['TQbwC']=_0x32fd64(0x1d7),_0x18ef3e[_0x32fd64(0x1cc)]=_0x32fd64(0x1d8),_0x18ef3e['TnvCM']=function(_0x344bde,_0x9a2f06){return _0x344bde>_0x9a2f06;},_0x18ef3e[_0x32fd64(0x195)]=function(_0x56d309,_0x5daf0a){return _0x56d309<_0x5daf0a;};const _0x321780=_0x18ef3e,_0x37d6a1=[];return _0x33817c[_0x32fd64(0x19b)]!==_0x321780[_0x32fd64(0x18f)]&&(_0x37d6a1[_0x32fd64(0x1a2)](_0x321780[_0x32fd64(0x188)]),_0x37d6a1[_0x32fd64(0x1a2)](_0x321780[_0x32fd64(0x1c9)])),_0x452276[_0x32fd64(0x19a)]>0x32&&(_0x321780[_0x32fd64(0x1c7)](_0x321780[_0x32fd64(0x191)],_0x32fd64(0x1be))?_0x37d6a1['push'](_0x321780[_0x32fd64(0x1cc)]):_0x435f67[_0x32fd64(0x1a2)](_0x321780[_0x32fd64(0x1a4)])),_0x321780[_0x32fd64(0x178)](_0x452276['stars'],0x64)&&_0x321780[_0x32fd64(0x195)](_0x452276['forks'],0xa)&&_0x37d6a1[_0x32fd64(0x1a2)](_0x321780[_0x32fd64(0x1a4)]),_0x37d6a1;}}exports[a5_0x387db7(0x1b5)]=a5_0x2a884c;

path: strategies/index.js
content: const a6_0x5673ab=a6_0x4a34;(function(_0x30659e,_0x138b7b){const _0x2c1033=a6_0x4a34,_0x20a5bf=_0x30659e();while(!![]){try{const _0x2136d2=-parseInt(_0x2c1033(0x180))/0x1*(-parseInt(_0x2c1033(0x187))/0x2)+parseInt(_0x2c1033(0x17e))/0x3*(parseInt(_0x2c1033(0x17f))/0x4)+-parseInt(_0x2c1033(0x16f))/0x5+parseInt(_0x2c1033(0x186))/0x6+parseInt(_0x2c1033(0x176))/0x7+parseInt(_0x2c1033(0x17c))/0x8+-parseInt(_0x2c1033(0x175))/0x9;if(_0x2136d2===_0x138b7b)break;else _0x20a5bf['push'](_0x20a5bf['shift']());}catch(_0x2ae759){_0x20a5bf['push'](_0x20a5bf['shift']());}}}(a6_0x4ae7,0xd5f30));const a6_0x9d2982=(function(){const _0x44eb58=a6_0x4a34,_0x318ee6={};_0x318ee6[_0x44eb58(0x16c)]=function(_0x3dcb2e,_0xbbb5ab){return _0x3dcb2e===_0xbbb5ab;},_0x318ee6[_0x44eb58(0x18e)]=_0x44eb58(0x17a),_0x318ee6[_0x44eb58(0x169)]=_0x44eb58(0x16b);const _0x41f2e3=_0x318ee6;let _0x1c79bf=!![];return function(_0x51c20b,_0x1ca8a1){const _0x3de17c=_0x1c79bf?function(){const _0x45effb=a6_0x4a34;if(_0x1ca8a1){if(_0x41f2e3[_0x45effb(0x16c)](_0x41f2e3[_0x45effb(0x18e)],_0x41f2e3[_0x45effb(0x169)]))this[_0x45effb(0x18c)]();else{const _0x41d832=_0x1ca8a1[_0x45effb(0x184)](_0x51c20b,arguments);return _0x1ca8a1=null,_0x41d832;}}}:function(){};return _0x1c79bf=![],_0x3de17c;};}()),a6_0x588ad4=a6_0x9d2982(this,function(){const _0x33272b=a6_0x4a34,_0x1e0aba={};_0x1e0aba[_0x33272b(0x173)]=_0x33272b(0x170);const _0x32f1ec=_0x1e0aba;return a6_0x588ad4[_0x33272b(0x18b)]()[_0x33272b(0x183)](_0x33272b(0x170))[_0x33272b(0x18b)]()[_0x33272b(0x172)](a6_0x588ad4)['search'](_0x32f1ec['RWNYU']);});function a6_0x4a34(_0x48a831,_0xe80817){_0x48a831=_0x48a831-0x169;const _0x23dbc3=a6_0x4ae7();let _0x598ba3=_0x23dbc3[_0x48a831];return _0x598ba3;}function a6_0x4ae7(){const _0x431282=['./IssueStrategies','IssueCreateStrategy','cQUUE','register','13862232qABQQw','IssueListStrategy','3NcKDte','3844292LBEtOb','509AQkodv','ReleaseCreateStrategy','list','search','apply','PRAnalyzeStrategy','5070312XyzHFB','2302VkTnAZ','RepoStatsStrategy','./PRStrategies','split','toString','registerDefaultStrategies','strategies','BbaHM','RXOxB','StrategyRegistry','MPuJU','BAqSD','RepoHealthStrategy','keys','6892725xFrkWo','(((.+)+)+)+$','./ReleaseStrategies','constructor','RWNYU','get','22482252ECHwjq','4397022JdEGyt','PRReviewStrategy'];a6_0x4ae7=function(){return _0x431282;};return a6_0x4ae7();}a6_0x588ad4();'use strict';const a6_0x1ba751={};a6_0x1ba751['value']=!![],Object['defineProperty'](exports,'__esModule',a6_0x1ba751),exports['StrategyRegistry']=void 0x0;const a6_0x597a40=require(a6_0x5673ab(0x178)),a6_0x3c99da=require(a6_0x5673ab(0x189)),a6_0x35b728=require(a6_0x5673ab(0x171));class a6_0x4cfe55{['strategies']=new Map();constructor(){const _0x4f2ef3=a6_0x5673ab;this[_0x4f2ef3(0x18c)]();}['registerDefaultStrategies'](){const _0x2f1dc7=a6_0x5673ab,_0x2545d2='0|4|2|1|5|7|3|6'[_0x2f1dc7(0x18a)]('|');let _0x408555=0x0;while(!![]){switch(_0x2545d2[_0x408555++]){case'0':this[_0x2f1dc7(0x17b)](new a6_0x597a40[(_0x2f1dc7(0x179))]());continue;case'1':this[_0x2f1dc7(0x17b)](new a6_0x3c99da[(_0x2f1dc7(0x185))]());continue;case'2':this[_0x2f1dc7(0x17b)](new a6_0x597a40['IssueUpdateStrategy']());continue;case'3':this[_0x2f1dc7(0x17b)](new a6_0x35b728[(_0x2f1dc7(0x188))]());continue;case'4':this[_0x2f1dc7(0x17b)](new a6_0x597a40[(_0x2f1dc7(0x17d))]());continue;case'5':this['register'](new a6_0x3c99da[(_0x2f1dc7(0x177))]());continue;case'6':this[_0x2f1dc7(0x17b)](new a6_0x35b728[(_0x2f1dc7(0x16d))]());continue;case'7':this[_0x2f1dc7(0x17b)](new a6_0x35b728[(_0x2f1dc7(0x181))]());continue;}break;}}[a6_0x5673ab(0x17b)](_0x3fb51f){const _0x5afe97=a6_0x5673ab;this[_0x5afe97(0x18d)]['set'](_0x3fb51f['name'],_0x3fb51f);}[a6_0x5673ab(0x174)](_0x5ed507){const _0x6be32f=a6_0x5673ab;return this[_0x6be32f(0x18d)][_0x6be32f(0x174)](_0x5ed507);}[a6_0x5673ab(0x182)](){const _0x4cac98=a6_0x5673ab;return Array['from'](this[_0x4cac98(0x18d)][_0x4cac98(0x16e)]());}['has'](_0x4d213c){return this['strategies']['has'](_0x4d213c);}}exports[a6_0x5673ab(0x16a)]=a6_0x4cfe55;

path: types/index.js
content: function a7_0x2e47(_0x3453f6,_0x4dd1bc){_0x3453f6=_0x3453f6-0x1b9;var _0xc49e27=a7_0x1c25();var _0x38fd07=_0xc49e27[_0x3453f6];return _0x38fd07;}var a7_0x252726=a7_0x2e47;(function(_0xb73279,_0x5ddf40){var _0x5155f7=a7_0x2e47,_0x6f5c67=_0xb73279();while(!![]){try{var _0xad1ae0=parseInt(_0x5155f7(0x1bb))/0x1*(-parseInt(_0x5155f7(0x1c5))/0x2)+parseInt(_0x5155f7(0x1c1))/0x3+-parseInt(_0x5155f7(0x1be))/0x4+-parseInt(_0x5155f7(0x1c3))/0x5*(-parseInt(_0x5155f7(0x1ba))/0x6)+parseInt(_0x5155f7(0x1c6))/0x7*(parseInt(_0x5155f7(0x1b9))/0x8)+-parseInt(_0x5155f7(0x1c2))/0x9+-parseInt(_0x5155f7(0x1c8))/0xa*(-parseInt(_0x5155f7(0x1bf))/0xb);if(_0xad1ae0===_0x5ddf40)break;else _0x6f5c67['push'](_0x6f5c67['shift']());}catch(_0x121fbb){_0x6f5c67['push'](_0x6f5c67['shift']());}}}(a7_0x1c25,0xdd766));var a7_0x5bbc47=(function(){var _0x5bfdb1=!![];return function(_0x4cde63,_0x3ceed8){var _0x787d=_0x5bfdb1?function(){if(_0x3ceed8){var _0x787934=_0x3ceed8['apply'](_0x4cde63,arguments);return _0x3ceed8=null,_0x787934;}}:function(){};return _0x5bfdb1=![],_0x787d;};}()),a7_0xe6e7f0=a7_0x5bbc47(this,function(){var _0x524b14=a7_0x2e47,_0xb535b2={};_0xb535b2[_0x524b14(0x1c0)]=_0x524b14(0x1bd);var _0x23f11e=_0xb535b2;return a7_0xe6e7f0[_0x524b14(0x1bc)]()[_0x524b14(0x1c7)](_0x23f11e[_0x524b14(0x1c0)])[_0x524b14(0x1bc)]()['constructor'](a7_0xe6e7f0)[_0x524b14(0x1c7)](_0x524b14(0x1bd));});a7_0xe6e7f0();'use strict';function a7_0x1c25(){var _0x158d06=['(((.+)+)+)+$','3013332wOYcsM','10061953pGyIIn','CNJnA','627435JqOuGc','11305323pohDvh','5fiVnuJ','value','116VpPkEF','2265403bRfdKb','search','30HKiirR','defineProperty','8pMbVID','1219398zhqgLO','9717WymWRy','toString'];a7_0x1c25=function(){return _0x158d06;};return a7_0x1c25();}var a7_0x4fa7bd={};a7_0x4fa7bd[a7_0x252726(0x1c4)]=!![],Object[a7_0x252726(0x1c9)](exports,'__esModule',a7_0x4fa7bd);

Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: suspicious | SkillSpector: suspicious (CRITICAL)