ops-onehit 1.0.2__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.
Files changed (514) hide show
  1. ops_onehit-1.0.2/.dockerignore +82 -0
  2. ops_onehit-1.0.2/.github/ISSUE_TEMPLATE/bug_report.md +59 -0
  3. ops_onehit-1.0.2/.github/ISSUE_TEMPLATE/feature_request.md +70 -0
  4. ops_onehit-1.0.2/.github/dependabot.yml +71 -0
  5. ops_onehit-1.0.2/.github/workflows/ci.yml +477 -0
  6. ops_onehit-1.0.2/.gitignore +88 -0
  7. ops_onehit-1.0.2/CHANGELOG.md +144 -0
  8. ops_onehit-1.0.2/Dockerfile +153 -0
  9. ops_onehit-1.0.2/Dockerfile.dev +36 -0
  10. ops_onehit-1.0.2/LICENSE +21 -0
  11. ops_onehit-1.0.2/MANIFEST.in +30 -0
  12. ops_onehit-1.0.2/PKG-INFO +1180 -0
  13. ops_onehit-1.0.2/README.md +1081 -0
  14. ops_onehit-1.0.2/SECURITY.md +56 -0
  15. ops_onehit-1.0.2/alembic/README +1 -0
  16. ops_onehit-1.0.2/alembic/__init__.py +0 -0
  17. ops_onehit-1.0.2/alembic/env.py +122 -0
  18. ops_onehit-1.0.2/alembic/script.py.mako +28 -0
  19. ops_onehit-1.0.2/alembic/versions/20260913_1746_initial.py +518 -0
  20. ops_onehit-1.0.2/alembic/versions/__init__.py +0 -0
  21. ops_onehit-1.0.2/alembic.ini +151 -0
  22. ops_onehit-1.0.2/dashboard/index.html +13 -0
  23. ops_onehit-1.0.2/dashboard/package-lock.json +3936 -0
  24. ops_onehit-1.0.2/dashboard/package.json +44 -0
  25. ops_onehit-1.0.2/dashboard/postcss.config.js +6 -0
  26. ops_onehit-1.0.2/dashboard/scripts/check-api-contract.mjs +82 -0
  27. ops_onehit-1.0.2/dashboard/scripts/check-heading-order.mjs +60 -0
  28. ops_onehit-1.0.2/dashboard/scripts/check-i18n-keys.mjs +62 -0
  29. ops_onehit-1.0.2/dashboard/scripts/copy-to-static.js +36 -0
  30. ops_onehit-1.0.2/dashboard/scripts/fix-heading-order.mjs +85 -0
  31. ops_onehit-1.0.2/dashboard/src/App.vue +84 -0
  32. ops_onehit-1.0.2/dashboard/src/api/admin.ts +371 -0
  33. ops_onehit-1.0.2/dashboard/src/api/client.ts +42 -0
  34. ops_onehit-1.0.2/dashboard/src/api/dashboard.ts +201 -0
  35. ops_onehit-1.0.2/dashboard/src/api/finops.ts +88 -0
  36. ops_onehit-1.0.2/dashboard/src/api/notifications.ts +174 -0
  37. ops_onehit-1.0.2/dashboard/src/api/runbooks.ts +199 -0
  38. ops_onehit-1.0.2/dashboard/src/components/alerts/AlertChart.vue +37 -0
  39. ops_onehit-1.0.2/dashboard/src/components/alerts/AlertList.vue +122 -0
  40. ops_onehit-1.0.2/dashboard/src/components/alerts/RcaPanel.vue +40 -0
  41. ops_onehit-1.0.2/dashboard/src/components/anomaly/AnomalyChart.vue +39 -0
  42. ops_onehit-1.0.2/dashboard/src/components/anomaly/AnomalyList.vue +117 -0
  43. ops_onehit-1.0.2/dashboard/src/components/audit/AuditLog.vue +52 -0
  44. ops_onehit-1.0.2/dashboard/src/components/common/ChartWrapper.vue +109 -0
  45. ops_onehit-1.0.2/dashboard/src/components/common/DarkTheme.vue +17 -0
  46. ops_onehit-1.0.2/dashboard/src/components/common/DataTable.vue +127 -0
  47. ops_onehit-1.0.2/dashboard/src/components/common/KpiCard.vue +71 -0
  48. ops_onehit-1.0.2/dashboard/src/components/common/LanguageSwitcher.vue +83 -0
  49. ops_onehit-1.0.2/dashboard/src/components/common/StatusBar.vue +74 -0
  50. ops_onehit-1.0.2/dashboard/src/components/episodic/EpisodicMemory.vue +54 -0
  51. ops_onehit-1.0.2/dashboard/src/components/k8s/K8sPods.vue +61 -0
  52. ops_onehit-1.0.2/dashboard/src/components/kg/KgStats.vue +22 -0
  53. ops_onehit-1.0.2/dashboard/src/components/kg/KgTopology.vue +141 -0
  54. ops_onehit-1.0.2/dashboard/src/components/kpi/KpiCard.vue +71 -0
  55. ops_onehit-1.0.2/dashboard/src/components/layout/AppShell.vue +248 -0
  56. ops_onehit-1.0.2/dashboard/src/components/metrics/MetricsTable.vue +34 -0
  57. ops_onehit-1.0.2/dashboard/src/components/metrics/MetricsTimeSeries.vue +72 -0
  58. ops_onehit-1.0.2/dashboard/src/components/sop/SopHistory.vue +52 -0
  59. ops_onehit-1.0.2/dashboard/src/components/sop/SopStatus.vue +33 -0
  60. ops_onehit-1.0.2/dashboard/src/composables/useA11y.ts +101 -0
  61. ops_onehit-1.0.2/dashboard/src/composables/useFocusTrap.ts +131 -0
  62. ops_onehit-1.0.2/dashboard/src/composables/usePrefersReducedMotion.ts +63 -0
  63. ops_onehit-1.0.2/dashboard/src/i18n/en-US.ts +421 -0
  64. ops_onehit-1.0.2/dashboard/src/i18n/index.ts +83 -0
  65. ops_onehit-1.0.2/dashboard/src/i18n/zh-CN.ts +421 -0
  66. ops_onehit-1.0.2/dashboard/src/i18n.ts +86 -0
  67. ops_onehit-1.0.2/dashboard/src/locales/en-US.json +343 -0
  68. ops_onehit-1.0.2/dashboard/src/locales/zh-CN.json +343 -0
  69. ops_onehit-1.0.2/dashboard/src/main.ts +13 -0
  70. ops_onehit-1.0.2/dashboard/src/router/index.ts +249 -0
  71. ops_onehit-1.0.2/dashboard/src/stores/auth.ts +91 -0
  72. ops_onehit-1.0.2/dashboard/src/stores/live.ts +131 -0
  73. ops_onehit-1.0.2/dashboard/src/style.css +241 -0
  74. ops_onehit-1.0.2/dashboard/src/styles/a11y.css +194 -0
  75. ops_onehit-1.0.2/dashboard/src/utils/labels.ts +91 -0
  76. ops_onehit-1.0.2/dashboard/src/views/AccuracyView.vue +463 -0
  77. ops_onehit-1.0.2/dashboard/src/views/CmdbView.vue +411 -0
  78. ops_onehit-1.0.2/dashboard/src/views/FinopsView.vue +443 -0
  79. ops_onehit-1.0.2/dashboard/src/views/HomeView.vue +570 -0
  80. ops_onehit-1.0.2/dashboard/src/views/LoginView.vue +132 -0
  81. ops_onehit-1.0.2/dashboard/src/views/NotFoundView.vue +33 -0
  82. ops_onehit-1.0.2/dashboard/src/views/NotificationPrefsView.vue +331 -0
  83. ops_onehit-1.0.2/dashboard/src/views/NotificationsView.vue +533 -0
  84. ops_onehit-1.0.2/dashboard/src/views/OverviewView.vue +320 -0
  85. ops_onehit-1.0.2/dashboard/src/views/RunbookEditorView.vue +708 -0
  86. ops_onehit-1.0.2/dashboard/src/views/RunbookListView.vue +398 -0
  87. ops_onehit-1.0.2/dashboard/src/views/admin/AdminDashboardView.vue +164 -0
  88. ops_onehit-1.0.2/dashboard/src/views/admin/AuditLogView.vue +174 -0
  89. ops_onehit-1.0.2/dashboard/src/views/admin/OrgDetailView.vue +185 -0
  90. ops_onehit-1.0.2/dashboard/src/views/admin/OrgListView.vue +205 -0
  91. ops_onehit-1.0.2/dashboard/src/views/admin/RoleManagerView.vue +149 -0
  92. ops_onehit-1.0.2/dashboard/src/views/admin/TokenManagerView.vue +165 -0
  93. ops_onehit-1.0.2/dashboard/src/views/admin/UserDetailView.vue +244 -0
  94. ops_onehit-1.0.2/dashboard/src/views/admin/UserListView.vue +405 -0
  95. ops_onehit-1.0.2/dashboard/src/vue-i18n.d.ts +29 -0
  96. ops_onehit-1.0.2/dashboard/tailwind.config.js +34 -0
  97. ops_onehit-1.0.2/dashboard/tsconfig.json +29 -0
  98. ops_onehit-1.0.2/dashboard/vite.config.ts +41 -0
  99. ops_onehit-1.0.2/dashboard/vitest.a11y.config.ts +26 -0
  100. ops_onehit-1.0.2/deploy/helm/ops-onehit/Chart.yaml +36 -0
  101. ops_onehit-1.0.2/deploy/helm/ops-onehit/README.md +256 -0
  102. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/_helpers.tpl +62 -0
  103. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/configmap.yaml +17 -0
  104. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/deployment.yaml +161 -0
  105. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/hpa.yaml +40 -0
  106. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/ingress.yaml +45 -0
  107. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/networkpolicy.yaml +35 -0
  108. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/pdb.yaml +26 -0
  109. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/pvc.yaml +24 -0
  110. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/rbac.yaml +36 -0
  111. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/secret.yaml +21 -0
  112. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/service.yaml +29 -0
  113. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/serviceaccount.yaml +24 -0
  114. ops_onehit-1.0.2/deploy/helm/ops-onehit/templates/servicemonitor.yaml +28 -0
  115. ops_onehit-1.0.2/deploy/helm/ops-onehit/values-multi-region.yaml +157 -0
  116. ops_onehit-1.0.2/deploy/helm/ops-onehit/values.yaml +272 -0
  117. ops_onehit-1.0.2/deploy/k8s/01-namespace.yaml +18 -0
  118. ops_onehit-1.0.2/deploy/k8s/02-configmap.yaml +37 -0
  119. ops_onehit-1.0.2/deploy/k8s/03-deployment.yaml +140 -0
  120. ops_onehit-1.0.2/deploy/k8s/04-service.yaml +28 -0
  121. ops_onehit-1.0.2/deploy/k8s/05-pvc.yaml +31 -0
  122. ops_onehit-1.0.2/deploy/k8s/06-serviceaccount.yaml +66 -0
  123. ops_onehit-1.0.2/deploy/k8s/kustomization.yaml +43 -0
  124. ops_onehit-1.0.2/deployment/.env.example +30 -0
  125. ops_onehit-1.0.2/deployment/README.md +168 -0
  126. ops_onehit-1.0.2/deployment/_setup_tools.bat +17 -0
  127. ops_onehit-1.0.2/deployment/k8s/01-namespace.yaml +16 -0
  128. ops_onehit-1.0.2/deployment/k8s/02-configmap.yaml +35 -0
  129. ops_onehit-1.0.2/deployment/k8s/03-deployment.yaml +152 -0
  130. ops_onehit-1.0.2/deployment/k8s/04-service.yaml +46 -0
  131. ops_onehit-1.0.2/deployment/k8s/05-pvc.yaml +29 -0
  132. ops_onehit-1.0.2/deployment/k8s/kustomization.yaml +70 -0
  133. ops_onehit-1.0.2/deployment/nginx/install_nginx.ps1 +453 -0
  134. ops_onehit-1.0.2/deployment/nginx/ops-onehit.conf +80 -0
  135. ops_onehit-1.0.2/deployment/nssm/README.md +109 -0
  136. ops_onehit-1.0.2/deployment/nssm/install_ops_onehit_web.ps1 +305 -0
  137. ops_onehit-1.0.2/deployment/nssm/uninstall_ops_onehit_web.ps1 +106 -0
  138. ops_onehit-1.0.2/docker-compose.dev.yml +38 -0
  139. ops_onehit-1.0.2/docker-compose.yml +82 -0
  140. ops_onehit-1.0.2/docs/A11Y.md +524 -0
  141. ops_onehit-1.0.2/docs/ADMIN.md +486 -0
  142. ops_onehit-1.0.2/docs/ANOMALY_DETECTION.md +439 -0
  143. ops_onehit-1.0.2/docs/AUTH.md +513 -0
  144. ops_onehit-1.0.2/docs/BACKUP.md +482 -0
  145. ops_onehit-1.0.2/docs/BILLING.md +498 -0
  146. ops_onehit-1.0.2/docs/CAPABILITY_MATRIX.md +267 -0
  147. ops_onehit-1.0.2/docs/CHROMADB_MIGRATION.md +189 -0
  148. ops_onehit-1.0.2/docs/CI_AND_DEPLOYMENT.md +909 -0
  149. ops_onehit-1.0.2/docs/CLOUD_LLM.md +553 -0
  150. ops_onehit-1.0.2/docs/CMDB.md +381 -0
  151. ops_onehit-1.0.2/docs/DASHBOARD.md +803 -0
  152. ops_onehit-1.0.2/docs/DEMO.md +137 -0
  153. ops_onehit-1.0.2/docs/DISCOVERY.md +337 -0
  154. ops_onehit-1.0.2/docs/FINOPS.md +426 -0
  155. ops_onehit-1.0.2/docs/HA_DEPLOYMENT.md +372 -0
  156. ops_onehit-1.0.2/docs/I18N.md +161 -0
  157. ops_onehit-1.0.2/docs/INCIDENTS.md +330 -0
  158. ops_onehit-1.0.2/docs/K8S_INTEGRATION.md +502 -0
  159. ops_onehit-1.0.2/docs/KNOWLEDGE_GRAPH.md +543 -0
  160. ops_onehit-1.0.2/docs/LLM_SETUP.md +509 -0
  161. ops_onehit-1.0.2/docs/LOG_AGGREGATOR.md +458 -0
  162. ops_onehit-1.0.2/docs/MULTITENANT.md +339 -0
  163. ops_onehit-1.0.2/docs/MULTI_HOST.md +432 -0
  164. ops_onehit-1.0.2/docs/MULTI_SOURCE_COLLECTORS.md +331 -0
  165. ops_onehit-1.0.2/docs/NOTIFICATIONS.md +520 -0
  166. ops_onehit-1.0.2/docs/ONBOARDING.md +415 -0
  167. ops_onehit-1.0.2/docs/PERFORMANCE.md +360 -0
  168. ops_onehit-1.0.2/docs/PERF_DB.md +250 -0
  169. ops_onehit-1.0.2/docs/POSTGRES.md +366 -0
  170. ops_onehit-1.0.2/docs/RBAC_AND_AUDIT.md +445 -0
  171. ops_onehit-1.0.2/docs/RELEASE.md +233 -0
  172. ops_onehit-1.0.2/docs/RUNBOOKS.md +328 -0
  173. ops_onehit-1.0.2/docs/SAML_SSO.md +756 -0
  174. ops_onehit-1.0.2/docs/SIEM.md +494 -0
  175. ops_onehit-1.0.2/docs/SLA_REPORTS.md +325 -0
  176. ops_onehit-1.0.2/docs/SOP.md +344 -0
  177. ops_onehit-1.0.2/docs/STRIPE_BILLING.md +417 -0
  178. ops_onehit-1.0.2/docs/TELEMETRY.md +150 -0
  179. ops_onehit-1.0.2/docs/TRIAL_SIGNUP.md +592 -0
  180. ops_onehit-1.0.2/docs/USAGE.md +357 -0
  181. ops_onehit-1.0.2/docs/dashboard/screenshots/01-login.png +0 -0
  182. ops_onehit-1.0.2/docs/dashboard/screenshots/02-overview-top.png +0 -0
  183. ops_onehit-1.0.2/docs/dashboard/screenshots/03-kg-topology.png +0 -0
  184. ops_onehit-1.0.2/docs/dashboard/screenshots/04-metrics-timeseries.png +0 -0
  185. ops_onehit-1.0.2/docs/dashboard/screenshots/05-alerts-list.png +0 -0
  186. ops_onehit-1.0.2/docs/dashboard/screenshots/06-anomaly-list.png +0 -0
  187. ops_onehit-1.0.2/docs/dashboard/screenshots/07-sop-history.png +0 -0
  188. ops_onehit-1.0.2/docs/dashboard/screenshots/08-audit-log.png +0 -0
  189. ops_onehit-1.0.2/docs/dashboard/screenshots/09-episodic-memory.png +0 -0
  190. ops_onehit-1.0.2/docs/dashboard/screenshots/10-k8s-pods.png +0 -0
  191. ops_onehit-1.0.2/docs/demo/DEMO_REPORT.md +146 -0
  192. ops_onehit-1.0.2/docs/demo/gen_placeholder_screenshots.py +29 -0
  193. ops_onehit-1.0.2/docs/demo/screenshots/01_alert_list.png +0 -0
  194. ops_onehit-1.0.2/docs/demo/screenshots/02_rca_output.png +0 -0
  195. ops_onehit-1.0.2/docs/demo/screenshots/03_sop_run.png +0 -0
  196. ops_onehit-1.0.2/docs/demo/screenshots/04_audit_log.png +0 -0
  197. ops_onehit-1.0.2/docs/demo/screenshots/05_topology.png +0 -0
  198. ops_onehit-1.0.2/docs/v1.1_roadmap.md +141 -0
  199. ops_onehit-1.0.2/finops_budgets.json +15 -0
  200. ops_onehit-1.0.2/perf_step5_aux.py +123 -0
  201. ops_onehit-1.0.2/pyproject.toml +455 -0
  202. ops_onehit-1.0.2/scripts/T6.1_real_rca_test.py +482 -0
  203. ops_onehit-1.0.2/scripts/_bench_baseline.py +94 -0
  204. ops_onehit-1.0.2/scripts/_c11_patch_db.py +152 -0
  205. ops_onehit-1.0.2/scripts/bench.py +378 -0
  206. ops_onehit-1.0.2/scripts/bench_db.py +493 -0
  207. ops_onehit-1.0.2/scripts/build_dist.ps1 +92 -0
  208. ops_onehit-1.0.2/scripts/build_dist.sh +95 -0
  209. ops_onehit-1.0.2/scripts/dev.sh +53 -0
  210. ops_onehit-1.0.2/scripts/e2e_b8_dashboard.py +130 -0
  211. ops_onehit-1.0.2/scripts/e2e_t71_prometheus.py +157 -0
  212. ops_onehit-1.0.2/scripts/e2e_t77_anomaly.py +179 -0
  213. ops_onehit-1.0.2/scripts/migrate_rag_to_chromadb.py +346 -0
  214. ops_onehit-1.0.2/scripts/release.ps1 +81 -0
  215. ops_onehit-1.0.2/scripts/release.py +407 -0
  216. ops_onehit-1.0.2/scripts/release.sh +100 -0
  217. ops_onehit-1.0.2/scripts/seed_dashboard_demo.py +205 -0
  218. ops_onehit-1.0.2/scripts/smoke_t71.py +39 -0
  219. ops_onehit-1.0.2/scripts/test_vlm_real.py +106 -0
  220. ops_onehit-1.0.2/scripts/test_whisper_real.py +120 -0
  221. ops_onehit-1.0.2/src/ops_onehit/__init__.py +73 -0
  222. ops_onehit-1.0.2/src/ops_onehit/__main__.py +19 -0
  223. ops_onehit-1.0.2/src/ops_onehit/admin/__init__.py +27 -0
  224. ops_onehit-1.0.2/src/ops_onehit/admin/cli.py +631 -0
  225. ops_onehit-1.0.2/src/ops_onehit/admin/service.py +1103 -0
  226. ops_onehit-1.0.2/src/ops_onehit/agent/__init__.py +34 -0
  227. ops_onehit-1.0.2/src/ops_onehit/agent/react.py +392 -0
  228. ops_onehit-1.0.2/src/ops_onehit/agent/tools.py +1031 -0
  229. ops_onehit-1.0.2/src/ops_onehit/agent_server/__init__.py +17 -0
  230. ops_onehit-1.0.2/src/ops_onehit/agent_server/cert_authority.py +130 -0
  231. ops_onehit-1.0.2/src/ops_onehit/agent_server/router.py +512 -0
  232. ops_onehit-1.0.2/src/ops_onehit/agents/__init__.py +8 -0
  233. ops_onehit-1.0.2/src/ops_onehit/alerts/__init__.py +33 -0
  234. ops_onehit-1.0.2/src/ops_onehit/alerts/action_scenarios.py +264 -0
  235. ops_onehit-1.0.2/src/ops_onehit/alerts/confidence.py +314 -0
  236. ops_onehit-1.0.2/src/ops_onehit/alerts/correlator.py +420 -0
  237. ops_onehit-1.0.2/src/ops_onehit/alerts/episodic.py +450 -0
  238. ops_onehit-1.0.2/src/ops_onehit/alerts/manager.py +327 -0
  239. ops_onehit-1.0.2/src/ops_onehit/alerts/prompts/__init__.py +1 -0
  240. ops_onehit-1.0.2/src/ops_onehit/alerts/prompts/rca_prompt.txt +53 -0
  241. ops_onehit-1.0.2/src/ops_onehit/alerts/rca_context.py +695 -0
  242. ops_onehit-1.0.2/src/ops_onehit/alerts/rca_engine.py +738 -0
  243. ops_onehit-1.0.2/src/ops_onehit/alerts/rca_runner.py +295 -0
  244. ops_onehit-1.0.2/src/ops_onehit/alerts/rules.py +294 -0
  245. ops_onehit-1.0.2/src/ops_onehit/api/__init__.py +25 -0
  246. ops_onehit-1.0.2/src/ops_onehit/api/admin.py +563 -0
  247. ops_onehit-1.0.2/src/ops_onehit/api/auth.py +381 -0
  248. ops_onehit-1.0.2/src/ops_onehit/api/auth_jwt.py +1104 -0
  249. ops_onehit-1.0.2/src/ops_onehit/api/auth_saml.py +420 -0
  250. ops_onehit-1.0.2/src/ops_onehit/api/dashboard.py +1102 -0
  251. ops_onehit-1.0.2/src/ops_onehit/api/dashboard_auth.py +114 -0
  252. ops_onehit-1.0.2/src/ops_onehit/api/errors.py +273 -0
  253. ops_onehit-1.0.2/src/ops_onehit/api/finops_api.py +527 -0
  254. ops_onehit-1.0.2/src/ops_onehit/api/ha.py +105 -0
  255. ops_onehit-1.0.2/src/ops_onehit/api/incidents.py +744 -0
  256. ops_onehit-1.0.2/src/ops_onehit/api/onboarding.py +286 -0
  257. ops_onehit-1.0.2/src/ops_onehit/api/orgs.py +604 -0
  258. ops_onehit-1.0.2/src/ops_onehit/api/reports.py +251 -0
  259. ops_onehit-1.0.2/src/ops_onehit/api/runbooks.py +458 -0
  260. ops_onehit-1.0.2/src/ops_onehit/api/server.py +3366 -0
  261. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/AccuracyView-Cq-v-7B3.js +1 -0
  262. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/AccuracyView-DY5ZPOEk.css +1 -0
  263. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/AdminDashboardView-CzxheHhV.js +1 -0
  264. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/AuditLogView-CswiKa9N.js +1 -0
  265. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/ChartWrapper.vue_vue_type_script_setup_true_lang-Ct88f_mA.js +1 -0
  266. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/CmdbView-6KQla_P_.js +1 -0
  267. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/DataTable.vue_vue_type_script_setup_true_lang-C-atII5O.js +1 -0
  268. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/FinopsView-Dz8CJBFY.js +1 -0
  269. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/FinopsView-UyVl5PSP.css +1 -0
  270. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/HomeView-yiz7G0ww.js +1 -0
  271. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/KgTopology.vue_vue_type_script_setup_true_lang-Bgwljw2K.js +1 -0
  272. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/KpiCard.vue_vue_type_script_setup_true_lang-B01Dt3B8.js +1 -0
  273. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/LoginView-hAH_DSbQ.js +1 -0
  274. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/NotFoundView-Dqq68OQD.js +1 -0
  275. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/NotificationPrefsView-JORVuOzq.js +1 -0
  276. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/NotificationsView-BXNkNoja.js +1 -0
  277. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/OrgDetailView-Cpm7dIAZ.js +1 -0
  278. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/OrgListView-BxvPlMl8.js +1 -0
  279. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/OverviewView-BCtyx16y.js +1 -0
  280. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/RoleManagerView-DnKfFGf0.js +1 -0
  281. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/RunbookEditorView-CSqbeTUQ.js +1 -0
  282. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/RunbookListView-BiaNFgD4.js +1 -0
  283. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/TokenManagerView-4fDztipO.js +1 -0
  284. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/UserDetailView-BCZqTLiO.js +1 -0
  285. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/UserListView-C_SMNvHn.js +1 -0
  286. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
  287. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/admin-DEttt-Ui.js +1 -0
  288. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/chart-B1X4VPrN.js +18 -0
  289. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/cytoscape-C5JX3QLV.js +331 -0
  290. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/datatables-l0sNRNKZ.js +1 -0
  291. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/index-Cao5u-jj.css +1 -0
  292. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/index-PCCFbuay.js +28 -0
  293. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/labels-jzRZhRwT.js +1 -0
  294. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/notifications-C2mAOFH1.js +1 -0
  295. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/runbooks-B5M6vXeS.js +1 -0
  296. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/useFocusTrap-Cmy-5_l5.js +1 -0
  297. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/assets/vue-C5ZAxC57.js +30 -0
  298. ops_onehit-1.0.2/src/ops_onehit/api/static/dashboard/index.html +15 -0
  299. ops_onehit-1.0.2/src/ops_onehit/api/static/index.html +232 -0
  300. ops_onehit-1.0.2/src/ops_onehit/api/static/onboarding/index.html +445 -0
  301. ops_onehit-1.0.2/src/ops_onehit/api/websocket.py +190 -0
  302. ops_onehit-1.0.2/src/ops_onehit/auth/__init__.py +12 -0
  303. ops_onehit-1.0.2/src/ops_onehit/auth/saml/__init__.py +170 -0
  304. ops_onehit-1.0.2/src/ops_onehit/auth/saml/metadata.py +252 -0
  305. ops_onehit-1.0.2/src/ops_onehit/auth/saml/provider.py +406 -0
  306. ops_onehit-1.0.2/src/ops_onehit/auth/saml/request.py +471 -0
  307. ops_onehit-1.0.2/src/ops_onehit/auth/saml/response.py +585 -0
  308. ops_onehit-1.0.2/src/ops_onehit/auth/saml/settings.py +570 -0
  309. ops_onehit-1.0.2/src/ops_onehit/backup/__init__.py +92 -0
  310. ops_onehit-1.0.2/src/ops_onehit/backup/archive.py +458 -0
  311. ops_onehit-1.0.2/src/ops_onehit/backup/cli.py +216 -0
  312. ops_onehit-1.0.2/src/ops_onehit/backup/core.py +554 -0
  313. ops_onehit-1.0.2/src/ops_onehit/backup/crypto.py +228 -0
  314. ops_onehit-1.0.2/src/ops_onehit/backup/scheduler.py +499 -0
  315. ops_onehit-1.0.2/src/ops_onehit/billing/__init__.py +44 -0
  316. ops_onehit-1.0.2/src/ops_onehit/billing/api.py +737 -0
  317. ops_onehit-1.0.2/src/ops_onehit/billing/cli.py +374 -0
  318. ops_onehit-1.0.2/src/ops_onehit/billing/dashboard.py +347 -0
  319. ops_onehit-1.0.2/src/ops_onehit/billing/limits.py +648 -0
  320. ops_onehit-1.0.2/src/ops_onehit/billing/middleware.py +242 -0
  321. ops_onehit-1.0.2/src/ops_onehit/billing/plans.py +265 -0
  322. ops_onehit-1.0.2/src/ops_onehit/billing/static/billing/index.html +294 -0
  323. ops_onehit-1.0.2/src/ops_onehit/billing/store.py +732 -0
  324. ops_onehit-1.0.2/src/ops_onehit/billing/stripe/__init__.py +94 -0
  325. ops_onehit-1.0.2/src/ops_onehit/billing/stripe/checkout.py +303 -0
  326. ops_onehit-1.0.2/src/ops_onehit/billing/stripe/client.py +295 -0
  327. ops_onehit-1.0.2/src/ops_onehit/billing/stripe/endpoints.py +380 -0
  328. ops_onehit-1.0.2/src/ops_onehit/billing/stripe/portal.py +129 -0
  329. ops_onehit-1.0.2/src/ops_onehit/billing/stripe/proration.py +159 -0
  330. ops_onehit-1.0.2/src/ops_onehit/billing/stripe/sync_plans.py +247 -0
  331. ops_onehit-1.0.2/src/ops_onehit/billing/stripe/webhook.py +765 -0
  332. ops_onehit-1.0.2/src/ops_onehit/cli.py +155 -0
  333. ops_onehit-1.0.2/src/ops_onehit/cmdb/__init__.py +23 -0
  334. ops_onehit-1.0.2/src/ops_onehit/cmdb/cli.py +532 -0
  335. ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/__init__.py +33 -0
  336. ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/aws.py +323 -0
  337. ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/base.py +207 -0
  338. ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/k8s.py +330 -0
  339. ops_onehit-1.0.2/src/ops_onehit/cmdb/discoverer/vmware.py +422 -0
  340. ops_onehit-1.0.2/src/ops_onehit/cmdb/drift.py +292 -0
  341. ops_onehit-1.0.2/src/ops_onehit/cmdb/sync.py +248 -0
  342. ops_onehit-1.0.2/src/ops_onehit/cmdb/topology.py +206 -0
  343. ops_onehit-1.0.2/src/ops_onehit/core/__init__.py +7 -0
  344. ops_onehit-1.0.2/src/ops_onehit/core/config.py +254 -0
  345. ops_onehit-1.0.2/src/ops_onehit/data/__init__.py +27 -0
  346. ops_onehit-1.0.2/src/ops_onehit/data/cli.py +203 -0
  347. ops_onehit-1.0.2/src/ops_onehit/data/collector_runner.py +428 -0
  348. ops_onehit-1.0.2/src/ops_onehit/data/collectors/__init__.py +60 -0
  349. ops_onehit-1.0.2/src/ops_onehit/data/collectors/docker.py +282 -0
  350. ops_onehit-1.0.2/src/ops_onehit/data/collectors/http_endpoint.py +366 -0
  351. ops_onehit-1.0.2/src/ops_onehit/data/collectors/k8s.py +736 -0
  352. ops_onehit-1.0.2/src/ops_onehit/data/collectors/k8s_cli.py +354 -0
  353. ops_onehit-1.0.2/src/ops_onehit/data/collectors/prometheus.py +324 -0
  354. ops_onehit-1.0.2/src/ops_onehit/data/collectors/system.py +448 -0
  355. ops_onehit-1.0.2/src/ops_onehit/data/db.py +5187 -0
  356. ops_onehit-1.0.2/src/ops_onehit/data/db_engine.py +491 -0
  357. ops_onehit-1.0.2/src/ops_onehit/data/schema.py +1109 -0
  358. ops_onehit-1.0.2/src/ops_onehit/data/tenant.py +132 -0
  359. ops_onehit-1.0.2/src/ops_onehit/data/types.py +105 -0
  360. ops_onehit-1.0.2/src/ops_onehit/deployment/__init__.py +22 -0
  361. ops_onehit-1.0.2/src/ops_onehit/deployment/models.py +307 -0
  362. ops_onehit-1.0.2/src/ops_onehit/detection/__init__.py +54 -0
  363. ops_onehit-1.0.2/src/ops_onehit/detection/base.py +170 -0
  364. ops_onehit-1.0.2/src/ops_onehit/detection/cli.py +360 -0
  365. ops_onehit-1.0.2/src/ops_onehit/detection/engine.py +529 -0
  366. ops_onehit-1.0.2/src/ops_onehit/detection/iforest.py +282 -0
  367. ops_onehit-1.0.2/src/ops_onehit/detection/prophet.py +316 -0
  368. ops_onehit-1.0.2/src/ops_onehit/discovery/__init__.py +59 -0
  369. ops_onehit-1.0.2/src/ops_onehit/discovery/cli.py +331 -0
  370. ops_onehit-1.0.2/src/ops_onehit/discovery/discoverer.py +599 -0
  371. ops_onehit-1.0.2/src/ops_onehit/discovery/health.py +157 -0
  372. ops_onehit-1.0.2/src/ops_onehit/discovery/inference_rules.py +497 -0
  373. ops_onehit-1.0.2/src/ops_onehit/discovery/models.py +163 -0
  374. ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/__init__.py +21 -0
  375. ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/base.py +58 -0
  376. ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/container.py +277 -0
  377. ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/port.py +191 -0
  378. ops_onehit-1.0.2/src/ops_onehit/discovery/scanners/process.py +222 -0
  379. ops_onehit-1.0.2/src/ops_onehit/discovery/scheduler.py +144 -0
  380. ops_onehit-1.0.2/src/ops_onehit/events/__init__.py +233 -0
  381. ops_onehit-1.0.2/src/ops_onehit/finops/__init__.py +150 -0
  382. ops_onehit-1.0.2/src/ops_onehit/finops/aggregator.py +241 -0
  383. ops_onehit-1.0.2/src/ops_onehit/finops/alerter.py +357 -0
  384. ops_onehit-1.0.2/src/ops_onehit/finops/aliyun.py +252 -0
  385. ops_onehit-1.0.2/src/ops_onehit/finops/aws.py +239 -0
  386. ops_onehit-1.0.2/src/ops_onehit/finops/azure.py +232 -0
  387. ops_onehit-1.0.2/src/ops_onehit/finops/budget.py +366 -0
  388. ops_onehit-1.0.2/src/ops_onehit/finops/cli.py +457 -0
  389. ops_onehit-1.0.2/src/ops_onehit/finops/predictor.py +257 -0
  390. ops_onehit-1.0.2/src/ops_onehit/finops/store.py +156 -0
  391. ops_onehit-1.0.2/src/ops_onehit/ha/__init__.py +79 -0
  392. ops_onehit-1.0.2/src/ops_onehit/ha/_redis.py +54 -0
  393. ops_onehit-1.0.2/src/ops_onehit/ha/cli.py +353 -0
  394. ops_onehit-1.0.2/src/ops_onehit/ha/health.py +366 -0
  395. ops_onehit-1.0.2/src/ops_onehit/ha/leader.py +710 -0
  396. ops_onehit-1.0.2/src/ops_onehit/ha/region_state.py +402 -0
  397. ops_onehit-1.0.2/src/ops_onehit/incidents/__init__.py +76 -0
  398. ops_onehit-1.0.2/src/ops_onehit/incidents/bus.py +137 -0
  399. ops_onehit-1.0.2/src/ops_onehit/incidents/cli.py +659 -0
  400. ops_onehit-1.0.2/src/ops_onehit/incidents/workflow.py +483 -0
  401. ops_onehit-1.0.2/src/ops_onehit/kg/__init__.py +57 -0
  402. ops_onehit-1.0.2/src/ops_onehit/kg/cli.py +494 -0
  403. ops_onehit-1.0.2/src/ops_onehit/kg/infer.py +646 -0
  404. ops_onehit-1.0.2/src/ops_onehit/kg/models.py +497 -0
  405. ops_onehit-1.0.2/src/ops_onehit/kg/store.py +346 -0
  406. ops_onehit-1.0.2/src/ops_onehit/learning/__init__.py +20 -0
  407. ops_onehit-1.0.2/src/ops_onehit/learning/feedback.py +349 -0
  408. ops_onehit-1.0.2/src/ops_onehit/llm/__init__.py +68 -0
  409. ops_onehit-1.0.2/src/ops_onehit/llm/cloud_client.py +916 -0
  410. ops_onehit-1.0.2/src/ops_onehit/llm/ollama_client.py +779 -0
  411. ops_onehit-1.0.2/src/ops_onehit/llm/unified_client.py +399 -0
  412. ops_onehit-1.0.2/src/ops_onehit/log_aggregator/__init__.py +463 -0
  413. ops_onehit-1.0.2/src/ops_onehit/log_aggregator/anonymizer.py +184 -0
  414. ops_onehit-1.0.2/src/ops_onehit/log_aggregator/buffer.py +193 -0
  415. ops_onehit-1.0.2/src/ops_onehit/log_aggregator/cli.py +477 -0
  416. ops_onehit-1.0.2/src/ops_onehit/log_aggregator/elk_config.py +346 -0
  417. ops_onehit-1.0.2/src/ops_onehit/log_aggregator/loki_client.py +229 -0
  418. ops_onehit-1.0.2/src/ops_onehit/log_aggregator/splunk_client.py +197 -0
  419. ops_onehit-1.0.2/src/ops_onehit/main.py +2002 -0
  420. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/__init__.py +34 -0
  421. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/buffer.py +301 -0
  422. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/certs/__init__.py +279 -0
  423. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/cli.py +421 -0
  424. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/config.py +226 -0
  425. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/crypto.py +83 -0
  426. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/db.py +92 -0
  427. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/heartbeat.py +111 -0
  428. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/runner.py +300 -0
  429. ops_onehit-1.0.2/src/ops_onehit/multi_host_agent/uploader.py +206 -0
  430. ops_onehit-1.0.2/src/ops_onehit/multimodal/__init__.py +54 -0
  431. ops_onehit-1.0.2/src/ops_onehit/multimodal/processors.py +519 -0
  432. ops_onehit-1.0.2/src/ops_onehit/multimodal/router.py +180 -0
  433. ops_onehit-1.0.2/src/ops_onehit/multimodal/types.py +126 -0
  434. ops_onehit-1.0.2/src/ops_onehit/multimodal/vlm_real.py +381 -0
  435. ops_onehit-1.0.2/src/ops_onehit/multimodal/whisper_real.py +267 -0
  436. ops_onehit-1.0.2/src/ops_onehit/notifications/__init__.py +111 -0
  437. ops_onehit-1.0.2/src/ops_onehit/notifications/api.py +426 -0
  438. ops_onehit-1.0.2/src/ops_onehit/notifications/channels.py +428 -0
  439. ops_onehit-1.0.2/src/ops_onehit/notifications/cli.py +598 -0
  440. ops_onehit-1.0.2/src/ops_onehit/notifications/crypto_helper.py +165 -0
  441. ops_onehit-1.0.2/src/ops_onehit/notifications/router.py +505 -0
  442. ops_onehit-1.0.2/src/ops_onehit/notifications/store.py +585 -0
  443. ops_onehit-1.0.2/src/ops_onehit/notifications/templates.py +457 -0
  444. ops_onehit-1.0.2/src/ops_onehit/onboarding/__init__.py +12 -0
  445. ops_onehit-1.0.2/src/ops_onehit/onboarding/autosetup.py +349 -0
  446. ops_onehit-1.0.2/src/ops_onehit/onboarding/cli.py +407 -0
  447. ops_onehit-1.0.2/src/ops_onehit/onboarding/seed.py +512 -0
  448. ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/__init__.py +111 -0
  449. ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/cli.py +252 -0
  450. ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/signup.py +842 -0
  451. ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/social_login.py +344 -0
  452. ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/spam_filter.py +579 -0
  453. ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/trial_period.py +523 -0
  454. ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/verify.py +504 -0
  455. ops_onehit-1.0.2/src/ops_onehit/onboarding/trial/welcome_email.py +511 -0
  456. ops_onehit-1.0.2/src/ops_onehit/org/__init__.py +14 -0
  457. ops_onehit-1.0.2/src/ops_onehit/org/cli.py +442 -0
  458. ops_onehit-1.0.2/src/ops_onehit/rag/__init__.py +66 -0
  459. ops_onehit-1.0.2/src/ops_onehit/rag/embeddings.py +336 -0
  460. ops_onehit-1.0.2/src/ops_onehit/rag/seed.py +228 -0
  461. ops_onehit-1.0.2/src/ops_onehit/rag/store.py +758 -0
  462. ops_onehit-1.0.2/src/ops_onehit/rbac/__init__.py +133 -0
  463. ops_onehit-1.0.2/src/ops_onehit/rbac/audit.py +432 -0
  464. ops_onehit-1.0.2/src/ops_onehit/rbac/cli.py +322 -0
  465. ops_onehit-1.0.2/src/ops_onehit/rbac/cli_auth.py +511 -0
  466. ops_onehit-1.0.2/src/ops_onehit/rbac/jwt_utils.py +307 -0
  467. ops_onehit-1.0.2/src/ops_onehit/rbac/mfa.py +348 -0
  468. ops_onehit-1.0.2/src/ops_onehit/rbac/models.py +270 -0
  469. ops_onehit-1.0.2/src/ops_onehit/rbac/oidc.py +528 -0
  470. ops_onehit-1.0.2/src/ops_onehit/rbac/org_store.py +743 -0
  471. ops_onehit-1.0.2/src/ops_onehit/rbac/passwords.py +178 -0
  472. ops_onehit-1.0.2/src/ops_onehit/rbac/permissions.py +210 -0
  473. ops_onehit-1.0.2/src/ops_onehit/rbac/sessions.py +521 -0
  474. ops_onehit-1.0.2/src/ops_onehit/rbac/store.py +436 -0
  475. ops_onehit-1.0.2/src/ops_onehit/repairs/__init__.py +64 -0
  476. ops_onehit-1.0.2/src/ops_onehit/repairs/actions.py +287 -0
  477. ops_onehit-1.0.2/src/ops_onehit/repairs/executor.py +327 -0
  478. ops_onehit-1.0.2/src/ops_onehit/repairs/k8s_actions.py +462 -0
  479. ops_onehit-1.0.2/src/ops_onehit/repairs/permissions.py +62 -0
  480. ops_onehit-1.0.2/src/ops_onehit/reports/__init__.py +46 -0
  481. ops_onehit-1.0.2/src/ops_onehit/reports/cli.py +345 -0
  482. ops_onehit-1.0.2/src/ops_onehit/reports/pdf.py +185 -0
  483. ops_onehit-1.0.2/src/ops_onehit/reports/render_html.py +307 -0
  484. ops_onehit-1.0.2/src/ops_onehit/reports/scheduler.py +260 -0
  485. ops_onehit-1.0.2/src/ops_onehit/reports/sla_report.py +569 -0
  486. ops_onehit-1.0.2/src/ops_onehit/reports/templates/sla_report.html.j2 +116 -0
  487. ops_onehit-1.0.2/src/ops_onehit/runbook/__init__.py +94 -0
  488. ops_onehit-1.0.2/src/ops_onehit/runbook/actions.py +350 -0
  489. ops_onehit-1.0.2/src/ops_onehit/runbook/cli.py +394 -0
  490. ops_onehit-1.0.2/src/ops_onehit/runbook/db.py +742 -0
  491. ops_onehit-1.0.2/src/ops_onehit/runbook/executor.py +400 -0
  492. ops_onehit-1.0.2/src/ops_onehit/runbook/models.py +129 -0
  493. ops_onehit-1.0.2/src/ops_onehit/runbook/templates.py +237 -0
  494. ops_onehit-1.0.2/src/ops_onehit/siem/__init__.py +188 -0
  495. ops_onehit-1.0.2/src/ops_onehit/siem/cli.py +429 -0
  496. ops_onehit-1.0.2/src/ops_onehit/siem/elk_client.py +322 -0
  497. ops_onehit-1.0.2/src/ops_onehit/siem/event.py +570 -0
  498. ops_onehit-1.0.2/src/ops_onehit/siem/router.py +546 -0
  499. ops_onehit-1.0.2/src/ops_onehit/siem/sentinel_client.py +329 -0
  500. ops_onehit-1.0.2/src/ops_onehit/siem/splunk_client.py +285 -0
  501. ops_onehit-1.0.2/src/ops_onehit/sop/__init__.py +46 -0
  502. ops_onehit-1.0.2/src/ops_onehit/sop/runner.py +494 -0
  503. ops_onehit-1.0.2/src/ops_onehit/sop/templates.py +337 -0
  504. ops_onehit-1.0.2/src/ops_onehit/telemetry/__init__.py +56 -0
  505. ops_onehit-1.0.2/src/ops_onehit/telemetry/anonymizer.py +311 -0
  506. ops_onehit-1.0.2/src/ops_onehit/telemetry/collector.py +564 -0
  507. ops_onehit-1.0.2/src/ops_onehit/telemetry/consent.py +275 -0
  508. ops_onehit-1.0.2/src/ops_onehit/telemetry/storage.py +431 -0
  509. ops_onehit-1.0.2/src/ops_onehit/telemetry/store.py +461 -0
  510. ops_onehit-1.0.2/src/ops_onehit/tools/__init__.py +8 -0
  511. ops_onehit-1.0.2/src/ops_onehit/ui/__init__.py +53 -0
  512. ops_onehit-1.0.2/src/ops_onehit/ui/notifier.py +457 -0
  513. ops_onehit-1.0.2/src/ops_onehit/ui/tray.py +245 -0
  514. ops_onehit-1.0.2/src/ops_onehit/ui/widget.py +918 -0
@@ -0,0 +1,82 @@
1
+ # ops-onehit .dockerignore
2
+ #
3
+ # 排除不应进 Docker build context 的文件,保持 image 小、build 快。
4
+ # 镜像上下文越精简 → 上传 Docker daemon 越快 → build cache 命中越高。
5
+
6
+ # ---- Python 虚拟环境 + 缓存 ----
7
+ .venv/
8
+ .venv.cleantest/
9
+ .venv.freshtest/
10
+ __pycache__/
11
+ *.py[cod]
12
+ *$py.class
13
+ *.so
14
+
15
+ # ---- 构建产物 + 测试缓存 ----
16
+ build/
17
+ dist/
18
+ *.egg-info/
19
+ *.egg
20
+ .installed.cfg
21
+ *.egg-link
22
+ .pytest_cache/
23
+ .coverage
24
+ .coverage.*
25
+ htmlcov/
26
+ coverage.xml
27
+ .cache
28
+
29
+ # ---- Lint / 类型检查缓存 ----
30
+ .mypy_cache/
31
+ .ruff_cache/
32
+ .blackCache/
33
+
34
+ # ---- 运行时数据 + 日志 ----
35
+ data/
36
+ logs/
37
+ *.log
38
+ *.db
39
+ *.sqlite
40
+ *.sqlite3
41
+ *.db-shm
42
+ *.db-wal
43
+
44
+ # ---- 测试 + dev 工具 ----
45
+ tests/
46
+ demo_*.py
47
+ _smoke_*
48
+ _archived_*
49
+ _smoke_test_*
50
+
51
+ # ---- Git + CI ----
52
+ .git/
53
+ .gitignore
54
+ .gitattributes
55
+ .github/
56
+
57
+ # ---- Windows deployment(NSSM + nginx + .env)----
58
+ # Docker 镜像自带,不需要 Windows portable 部署
59
+ deployment/
60
+
61
+ # ---- IDE / 编辑器 ----
62
+ .vscode/
63
+ .idea/
64
+ *.swp
65
+ *.swo
66
+ .DS_Store
67
+ Thumbs.db
68
+
69
+ # ---- 文档占位 + 截图 ----
70
+ docs/screenshots/
71
+ docs/demo/screenshots/
72
+
73
+ # ---- Env / secrets ----
74
+ .env
75
+ .env.local
76
+ .env.*.local
77
+
78
+ # ---- Python 版本文件 ----
79
+ .python-version
80
+
81
+ # ---- 锁文件(Docker build 内重生成) ----
82
+ uv.lock
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: Bug Report
3
+ about: 报告 ops-onehit 的 bug — 崩溃 / 错误行为 / 性能问题 / 文档错误
4
+ title: "[Bug]: "
5
+ labels: ["bug", "triage"]
6
+ assignees: []
7
+ ---
8
+
9
+ ## Bug 描述
10
+
11
+ 简要清晰地描述 bug 是什么。
12
+
13
+ ## 复现步骤
14
+
15
+ 1. 运行 `...`
16
+ 2. 触发条件 `...`
17
+ 3. 看到错误 `...`
18
+ 4. 预期行为 `...`
19
+
20
+ ## 实际行为
21
+
22
+ 实际看到什么? 报错信息、截图、traceback 等。
23
+
24
+ ## 期望行为
25
+
26
+ 应该看到什么?
27
+
28
+ ## 环境
29
+
30
+ - **OS**: [e.g. Windows 11 23H2 / Ubuntu 22.04 / macOS 14]
31
+ - **Python**: [e.g. 3.11.5]
32
+ - **ops-onehit 版本**: [e.g. 1.0.2 — 跑 `ops-onehit --version` 查]
33
+ - **安装方式**: [e.g. `pip install ops-onehit` / `uv sync` / Docker]
34
+ - **LLM 后端**: [e.g. Ollama 0.4.0 + qwen2.5:7b / LM Studio + qwen2.5-72b]
35
+ - **相关模块**: [e.g. RAG / Alerts / SOP / K8s / Anomaly]
36
+
37
+ ## 日志
38
+
39
+ ```text
40
+ # 粘贴 ops-onehit 的报错日志(去掉敏感信息如 token)
41
+ 2026-09-13 15:30:00 ERROR ...
42
+ ```
43
+
44
+ ## 影响范围
45
+
46
+ - [ ] 阻塞使用
47
+ - [ ] 降级体验
48
+ - [ ] 文档错误
49
+ - [ ] 仅边角场景
50
+
51
+ ## 附加信息
52
+
53
+ 其他可能有用的信息(配置文件片段、相关 issue 链接等)。
54
+
55
+ ## Checklist
56
+
57
+ - [ ] 已搜索 [现有 issues](https://github.com/a1580028209/ops-onehit/issues) 没找到相同问题
58
+ - [ ] 附带最小复现代码 / 命令
59
+ - [ ] 脱敏(token / IP / 业务数据)
@@ -0,0 +1,70 @@
1
+ ---
2
+ name: Feature Request
3
+ about: 建议 ops-onehit 新功能 / 改进 / 集成
4
+ title: "[Feature]: "
5
+ labels: ["enhancement", "triage"]
6
+ assignees: []
7
+ ---
8
+
9
+ ## 功能描述
10
+
11
+ 简要清晰地说你希望 ops-onehit 增加什么。
12
+
13
+ ## 解决的痛点
14
+
15
+ 当前痛点是什么? 缺了什么导致你工作流卡住?
16
+
17
+ ## 提案方案
18
+
19
+ 你期望功能怎么工作? 给出 CLI / API / UI 例子(伪代码即可)。
20
+
21
+ ```python
22
+ # 例:新 CLI 子命令
23
+ ops-onehit my-new-cmd --arg1 foo --arg2 bar
24
+ ```
25
+
26
+ ```yaml
27
+ # 例:配置文件新字段
28
+ my_new_section:
29
+ enabled: true
30
+ threshold: 0.7
31
+ ```
32
+
33
+ ## 备选方案
34
+
35
+ 考虑过其他方案吗? 各有什么优缺点?
36
+
37
+ ## 优先级
38
+
39
+ - [ ] P0 — 阻塞日常使用
40
+ - [ ] P1 — 显著提升效率
41
+ - [ ] P2 — nice-to-have
42
+ - [ ] P3 — 探索性
43
+
44
+ ## 范畴
45
+
46
+ - [ ] CLI
47
+ - [ ] Web API / UI
48
+ - [ ] RAG / 知识库
49
+ - [ ] 告警 / SOP / 修复
50
+ - [ ] K8s 集成
51
+ - [ ] 异常检测
52
+ - [ ] 性能 / 可观测性
53
+ - [ ] 文档
54
+ - [ ] 其他: ___
55
+
56
+ ## 替代实现
57
+
58
+ 是否考虑过:
59
+ - [ ] 外部工具 / 插件
60
+ - [ ] 改源码
61
+ - [ ] 改 prompt / config
62
+
63
+ ## 自愿实现
64
+
65
+ - [ ] 我愿意提 PR
66
+ - [ ] 我需要帮助
67
+
68
+ ## 附加信息
69
+
70
+ 相关 issue / 文档 / 截图。
@@ -0,0 +1,71 @@
1
+ # ops-onehit Dependabot 配置
2
+ #
3
+ # 三个 ecosystem:
4
+ # 1. pip — 每周一检查 pyproject.toml + uv.lock,产出 PR
5
+ # 2. github-actions — 每周一检查 .github/workflows/*.yml,保持 action 版本新
6
+ # 3. docker — 每周一检查 Dockerfile 基础镜像(python:3.11-slim)
7
+ #
8
+ # 设计要点:
9
+ # - 每周一 9:00 UTC 统一发 PR,避免零散打扰
10
+ # - pip PR limit 10(项目大,避免风暴);GitHub Actions + Docker 各 5
11
+ # - 标签 dependabot / python / docker / ci 便于自动 triage
12
+ # - 不开 auto-merge:依赖升级必须人工 review(major version 可能 break)
13
+ # - 显式 ignore major 升级 — major 升级风险高,留人工
14
+
15
+ version: 2
16
+
17
+ updates:
18
+ # ---- Python 依赖 ----
19
+ - package-ecosystem: "pip"
20
+ directory: "/"
21
+ schedule:
22
+ interval: "weekly"
23
+ day: "monday"
24
+ time: "09:00"
25
+ timezone: "UTC"
26
+ open-pull-requests-limit: 10
27
+ labels:
28
+ - "dependabot"
29
+ - "python"
30
+ - "dependencies"
31
+ commit-message:
32
+ prefix: "deps"
33
+ include: "scope"
34
+ # 重大升级风险高,Dependabot 跳过 major 留人工
35
+ ignore:
36
+ - dependency-name: "*"
37
+ update-types: ["version-update:semver-major"]
38
+
39
+ # ---- GitHub Actions ----
40
+ - package-ecosystem: "github-actions"
41
+ directory: "/"
42
+ schedule:
43
+ interval: "weekly"
44
+ day: "monday"
45
+ time: "09:00"
46
+ timezone: "UTC"
47
+ open-pull-requests-limit: 5
48
+ labels:
49
+ - "dependabot"
50
+ - "ci"
51
+ - "github-actions"
52
+ commit-message:
53
+ prefix: "ci"
54
+ include: "scope"
55
+
56
+ # ---- Docker 基础镜像 ----
57
+ - package-ecosystem: "docker"
58
+ directory: "/"
59
+ schedule:
60
+ interval: "weekly"
61
+ day: "monday"
62
+ time: "09:00"
63
+ timezone: "UTC"
64
+ open-pull-requests-limit: 5
65
+ labels:
66
+ - "dependabot"
67
+ - "docker"
68
+ - "dependencies"
69
+ commit-message:
70
+ prefix: "docker"
71
+ include: "scope"