codedna 0.2.4__tar.gz → 0.2.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {codedna-0.2.4 → codedna-0.2.6}/PKG-INFO +1 -1
- {codedna-0.2.4 → codedna-0.2.6}/codedna/__init__.py +1 -1
- {codedna-0.2.4 → codedna-0.2.6}/codedna/ai.py +30 -14
- codedna-0.2.6/codedna/ai_box.py +94 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/cli.py +47 -0
- {codedna-0.2.4 → codedna-0.2.6}/pyproject.toml +1 -1
- {codedna-0.2.4 → codedna-0.2.6}/.env.example +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.env.ls +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.github/CODEOWNERS +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.github/dependabot.yml +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.github/workflows/codedna.yml +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.github/workflows/codeql.yml +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.github/workflows/test.yml +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.gitignore +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/.python-version +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/CHANGELOG.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/CONTRIBUTING.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/LICENSE +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/README.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/SECURITY.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/ai_fingerprint.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/analyzer.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/api.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/auth.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/bus_factor.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/db.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/git_hook.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/integrations/__init__.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/integrations/github_bot.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/integrations/jira.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/integrations/lemonsqueezy.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/interview.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/onboarding.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/plan.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/protection.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/rate_limit.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/scorer.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/sprint_health.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/survey.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/codedna/tech_debt.py +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/.env.local.example +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/.gitignore +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/README.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/ai-compare/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/api/auth/login/route.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/api/auth/logout/route.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/api/auth/me/route.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/api/auth/register/route.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/api/billing/checkout/route.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/billing/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/bus-factor/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/commits/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/debt/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/favicon.ico +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/files/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/fonts/GeistMonoVF.woff +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/fonts/GeistVF.woff +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/globals.css +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/interview/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/layout.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/login/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/onboarding/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/pricing/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/protected/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/register/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/settings/integrations/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/app/sprints/page.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/AnlamaGrafigi.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/AuthProvider.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/ClientProviders.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/CommitTable.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/CostInfoTooltip.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/FeatureGate.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/FileHeatmap.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/HataBanner.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/LanguageSwitcher.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/NavClient.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/OverviewTitles.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/QuickInsights.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/RiskBadge.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/SummaryCards.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/components/UpgradeBanner.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/lib/api.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/lib/auth.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/lib/i18n/en.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/lib/i18n/index.tsx +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/lib/i18n/tr.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/lib/plan.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/next-env.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/next.config.mjs +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/package-lock.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/package.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/postcss.config.mjs +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/tailwind.config.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/dashboard/tsconfig.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/hooks/post-commit +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/uv.lock +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/.bin/tsc +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/.bin/tsserver +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/.package-lock.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/LICENSE +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/README.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/assert/strict.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/assert.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/async_hooks.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/buffer.buffer.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/buffer.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/child_process.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/cluster.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/compatibility/disposable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/compatibility/index.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/compatibility/indexable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/compatibility/iterators.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/console.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/constants.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/crypto.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/dgram.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/diagnostics_channel.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/dns/promises.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/dns.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/domain.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/events.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/fs/promises.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/fs.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/globals.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/globals.typedarray.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/http.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/http2.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/https.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/index.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/inspector.generated.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/module.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/net.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/os.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/package.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/path.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/perf_hooks.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/process.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/punycode.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/querystring.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/readline/promises.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/readline.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/repl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/sea.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/stream/consumers.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/stream/promises.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/stream/web.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/stream.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/string_decoder.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/test.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/timers/promises.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/timers.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/tls.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/trace_events.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/ts5.6/index.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/tty.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/url.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/util.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/v8.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/vm.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/wasi.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/web-globals/domexception.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/web-globals/events.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/web-globals/fetch.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/worker_threads.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/zlib.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/vscode/LICENSE +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/vscode/README.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/vscode/index.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/vscode/package.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/LICENSE.txt +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/README.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/SECURITY.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/ThirdPartyNoticeText.txt +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/bin/tsc +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/bin/tsserver +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/_tsc.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/_tsserver.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/_typingsInstaller.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.decorators.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.dom.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2016.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2017.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2018.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2019.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2021.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2022.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2023.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2024.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es5.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.es6.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.scripthost.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.webworker.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/tsc.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/tsserver.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/tsserverlibrary.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/typesMap.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/typescript.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/typescript.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/typingsInstaller.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/watchGuard.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/typescript/package.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/LICENSE +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/README.md +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/agent.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/api.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/balanced-pool.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/cache.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/client.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/connector.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/content-type.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/cookies.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/diagnostics-channel.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/dispatcher.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/errors.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/eventsource.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/fetch.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/file.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/filereader.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/formdata.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/global-dispatcher.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/global-origin.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/handlers.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/header.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/index.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/interceptors.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/mock-agent.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/mock-client.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/mock-errors.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/mock-interceptor.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/mock-pool.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/package.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/patch.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/pool-stats.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/pool.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/proxy-agent.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/readable.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/retry-agent.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/retry-handler.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/util.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/webidl.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/undici-types/websocket.d.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/out/apiClient.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/out/apiClient.js.map +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/out/decorations.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/out/decorations.js.map +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/out/extension.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/out/extension.js.map +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/out/statusBar.js +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/out/statusBar.js.map +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/package-lock.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/package.json +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/src/apiClient.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/src/decorations.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/src/extension.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/src/statusBar.ts +0 -0
- {codedna-0.2.4 → codedna-0.2.6}/vscode-extension/tsconfig.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codedna
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: AI Code Transparency Tool - detect AI-written code and measure developer understanding
|
|
5
5
|
Project-URL: Homepage, https://codedna.dev
|
|
6
6
|
Project-URL: Repository, https://github.com/natureco-official/codedna
|
|
@@ -155,12 +155,18 @@ def _call_openai(api_key: str, model: str, prompt: str) -> str:
|
|
|
155
155
|
return result.get("choices", [{}])[0].get("message", {}).get("content", "")
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
def ai_analyze(command: str, output: str, config: Optional[AIConfig] = None) -> Optional[str]:
|
|
158
|
+
def ai_analyze(command: str, output: str, config: Optional[AIConfig] = None, extra_context: str = "") -> Optional[str]:
|
|
159
159
|
"""
|
|
160
160
|
Komut ciktisini AI ile analiz et.
|
|
161
161
|
|
|
162
|
+
Args:
|
|
163
|
+
command: Calistirilan komut
|
|
164
|
+
output: Komut ciktisi
|
|
165
|
+
config: AI konfigurasyonu
|
|
166
|
+
extra_context: Ek baglam (dosya icerikleri vs)
|
|
167
|
+
|
|
162
168
|
Returns:
|
|
163
|
-
Analiz metni veya None
|
|
169
|
+
Analiz metni veya None
|
|
164
170
|
"""
|
|
165
171
|
if config is None:
|
|
166
172
|
config = AIConfig.load()
|
|
@@ -176,22 +182,32 @@ def ai_analyze(command: str, output: str, config: Optional[AIConfig] = None) ->
|
|
|
176
182
|
except Exception:
|
|
177
183
|
return None # Plan yuklenemedi, gosterme
|
|
178
184
|
|
|
179
|
-
#
|
|
180
|
-
|
|
185
|
+
# Yeni prompt - dosyalari oku, dogrula, analiz et (oneri degil)
|
|
186
|
+
baglam = f"\n\nDOSYA ICERIKLERI:\n{extra_context}" if extra_context else ""
|
|
187
|
+
prompt = f"""Sen CodeDNA'nin kod dogrulama asistanisin. ASLA genel oneri sunma, sadece analiz et.
|
|
188
|
+
|
|
189
|
+
CIKTI:
|
|
190
|
+
{output[:3000]}{baglam[:4000]}
|
|
191
|
+
|
|
192
|
+
Asagidaki formatta yanit ver:
|
|
193
|
+
|
|
194
|
+
**Dosya Incelemesi**
|
|
195
|
+
Her dosya icin:
|
|
196
|
+
- dosya_adi.py: [AI mi, insan mi, karisik mi?] + [kanit: yorum orani, fonksiyon uzunlugu, vs]
|
|
181
197
|
|
|
182
|
-
|
|
183
|
-
|
|
198
|
+
**Dogrulama**
|
|
199
|
+
- AI olasiligi dogrulugu: [yuksek/orta/dusuk] + [sebep]
|
|
200
|
+
- False positive olabilir mi? [evet/hayir] + [sebep]
|
|
184
201
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
3. Varsa sorun ve cozumu
|
|
202
|
+
**Durum**
|
|
203
|
+
- Guven: [yuksek/orta/dusuk]
|
|
204
|
+
- Endişe: [olasi AI / dogal kod]
|
|
189
205
|
|
|
190
206
|
Kurallar:
|
|
191
|
-
-
|
|
192
|
-
-
|
|
193
|
-
- Turkce
|
|
194
|
-
-
|
|
207
|
+
- Genel tavsiye VERME (ornek: 'daha fazla tarama yapin')
|
|
208
|
+
- Sadece dosyalara BAK ve YORUMLA
|
|
209
|
+
- Turkce, max 250 kelime
|
|
210
|
+
- Kanit tabanli (dosya icerigine dayali) konus"""
|
|
195
211
|
|
|
196
212
|
try:
|
|
197
213
|
if config.provider == "anthropic":
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"""
|
|
2
|
+
AI analiz kutusunu CLI komut çiktilarina ekle.
|
|
3
|
+
Her komut çiktisindan sonra AI analiz kutusu göster.
|
|
4
|
+
"""
|
|
5
|
+
from rich.panel import Panel
|
|
6
|
+
from rich.console import Console
|
|
7
|
+
from rich.box import ROUNDED
|
|
8
|
+
import sys
|
|
9
|
+
from io import StringIO
|
|
10
|
+
|
|
11
|
+
console = Console()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def print_ai_box(command_name: str, output: str, width: int = 80) -> None:
|
|
15
|
+
"""
|
|
16
|
+
Komut çiktisindan sonra AI analiz kutusu yazdir.
|
|
17
|
+
|
|
18
|
+
Args:
|
|
19
|
+
command_name: Çalistirilan komut (örn: "codedna scan")
|
|
20
|
+
output: Komut çiktisi (raw text)
|
|
21
|
+
width: Panel genisligi
|
|
22
|
+
"""
|
|
23
|
+
try:
|
|
24
|
+
from codedna.ai import ai_analyze, is_enabled
|
|
25
|
+
except ImportError:
|
|
26
|
+
return
|
|
27
|
+
|
|
28
|
+
if not is_enabled():
|
|
29
|
+
return # AI kapaliysa gösterme
|
|
30
|
+
|
|
31
|
+
# AI analiz al
|
|
32
|
+
ai_response = ai_analyze(command_name, output)
|
|
33
|
+
|
|
34
|
+
if not ai_response:
|
|
35
|
+
return
|
|
36
|
+
|
|
37
|
+
# Hata durumunda sessizce gec (AI analizi opsiyonel)
|
|
38
|
+
if ai_response.startswith("AI analiz hatasi"):
|
|
39
|
+
return
|
|
40
|
+
|
|
41
|
+
# Renk ve icon
|
|
42
|
+
border_style = "magenta"
|
|
43
|
+
title = "[bold magenta]🤖 AI Analiz (Pro+)[/bold magenta]"
|
|
44
|
+
|
|
45
|
+
# Maksimum 60 satir göster
|
|
46
|
+
lines = ai_response.strip().split("\n")
|
|
47
|
+
if len(lines) > 60:
|
|
48
|
+
lines = lines[:58] + ["... (kisaltildi)"]
|
|
49
|
+
content = "\n".join(lines)
|
|
50
|
+
|
|
51
|
+
panel = Panel(
|
|
52
|
+
content,
|
|
53
|
+
title=title,
|
|
54
|
+
border_style=border_style,
|
|
55
|
+
box=ROUNDED,
|
|
56
|
+
padding=(1, 2),
|
|
57
|
+
width=width,
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
console.print()
|
|
61
|
+
console.print(panel)
|
|
62
|
+
console.print()
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def capture_and_analyze(command_name: str, run_func, *args, **kwargs) -> None:
|
|
66
|
+
"""
|
|
67
|
+
Bir komutu çalistir, çiktiyi yakala, sonra AI analiz göster.
|
|
68
|
+
|
|
69
|
+
Args:
|
|
70
|
+
command_name: Komut adi (analiz için)
|
|
71
|
+
run_func: Çalistirilacak fonksiyon
|
|
72
|
+
*args, **kwargs: Fonksiyona geçilecek argümanlar
|
|
73
|
+
"""
|
|
74
|
+
# Çiktiyi yakala
|
|
75
|
+
old_stdout = sys.stdout
|
|
76
|
+
sys.stdout = buffer = StringIO()
|
|
77
|
+
|
|
78
|
+
try:
|
|
79
|
+
run_func(*args, **kwargs)
|
|
80
|
+
except SystemExit:
|
|
81
|
+
pass
|
|
82
|
+
except Exception as e:
|
|
83
|
+
sys.stdout = old_stdout
|
|
84
|
+
console.print(f"[red]Hata: {e}[/red]")
|
|
85
|
+
return
|
|
86
|
+
finally:
|
|
87
|
+
output = buffer.getvalue()
|
|
88
|
+
sys.stdout = old_stdout
|
|
89
|
+
|
|
90
|
+
# Orijinal çiktiyi göster
|
|
91
|
+
console.print(output, end="")
|
|
92
|
+
|
|
93
|
+
# AI analiz
|
|
94
|
+
print_ai_box(command_name, output)
|
|
@@ -431,6 +431,53 @@ def scan(
|
|
|
431
431
|
f"Risk: [bold {risk_renk}]{risk_etiketi}[/bold {risk_renk}]\n"
|
|
432
432
|
)
|
|
433
433
|
|
|
434
|
+
# AI analiz (Pro+ plan + AI key varsa)
|
|
435
|
+
try:
|
|
436
|
+
from codedna.ai import ai_analyze, is_enabled
|
|
437
|
+
if is_enabled():
|
|
438
|
+
# Dosya iceriklerini topla (AI'a gonder)
|
|
439
|
+
dosya_icerikleri = []
|
|
440
|
+
for s in sonuclar:
|
|
441
|
+
fp = Path(s.file_path) if hasattr(s, "file_path") else None
|
|
442
|
+
if fp and fp.exists():
|
|
443
|
+
try:
|
|
444
|
+
icerik = fp.read_text(encoding="utf-8", errors="ignore")
|
|
445
|
+
satirlar = icerik.split("\n")[:80]
|
|
446
|
+
dosya_icerikleri.append(
|
|
447
|
+
f"### {fp.name} (AI olasiligi: {s.ai_probability:.0%}, "
|
|
448
|
+
f"karma: {s.complexity_score:.1f}, "
|
|
449
|
+
f"yorum: {s.comment_ratio:.0%}, "
|
|
450
|
+
f"satir: {len(satirlar)})\n```\n"
|
|
451
|
+
+ "\n".join(satirlar) + "\n```"
|
|
452
|
+
)
|
|
453
|
+
except Exception:
|
|
454
|
+
pass
|
|
455
|
+
extra_context = "\n\n".join(dosya_icerikleri[:5])
|
|
456
|
+
|
|
457
|
+
output_text = (
|
|
458
|
+
f"codedna scan: {len(sonuclar)} dosya tarandi, ortalama AI olasiligi "
|
|
459
|
+
f"%{ortalama_ai:.0f}, risk: {risk_etiketi}"
|
|
460
|
+
)
|
|
461
|
+
ai_response = ai_analyze("codedna scan", output_text, extra_context=extra_context)
|
|
462
|
+
if ai_response and not ai_response.startswith("AI analiz hatasi"):
|
|
463
|
+
from rich.panel import Panel
|
|
464
|
+
from rich.box import ROUNDED
|
|
465
|
+
lines = ai_response.strip().split("\n")
|
|
466
|
+
if len(lines) > 50:
|
|
467
|
+
lines = lines[:48] + ["... (kisaltildi)"]
|
|
468
|
+
content = "\n".join(lines)
|
|
469
|
+
panel = Panel(
|
|
470
|
+
content,
|
|
471
|
+
title="[bold magenta]AI Analiz (Pro+)[/bold magenta]",
|
|
472
|
+
border_style="magenta",
|
|
473
|
+
box=ROUNDED,
|
|
474
|
+
padding=(1, 2),
|
|
475
|
+
)
|
|
476
|
+
console.print(panel)
|
|
477
|
+
console.print()
|
|
478
|
+
except Exception:
|
|
479
|
+
pass
|
|
480
|
+
|
|
434
481
|
|
|
435
482
|
# ---------------------------------------------------------------------------
|
|
436
483
|
# codedna status
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/assert/strict.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/buffer.buffer.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/child_process.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/compatibility/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/diagnostics_channel.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/globals.typedarray.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/inspector.generated.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/readline/promises.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/stream/consumers.d.ts
RENAMED
|
File without changes
|
{codedna-0.2.4 → codedna-0.2.6}/vscode-extension/node_modules/@types/node/stream/promises.d.ts
RENAMED
|
File without changes
|
|
File without changes
|