@mrace07/kairo 0.1.0

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 (78) hide show
  1. package/README.md +141 -0
  2. package/dist/application/coding-agent.d.ts +85 -0
  3. package/dist/application/coding-agent.js +765 -0
  4. package/dist/application/context-manager.d.ts +22 -0
  5. package/dist/application/context-manager.js +174 -0
  6. package/dist/application/context-selector.d.ts +11 -0
  7. package/dist/application/context-selector.js +74 -0
  8. package/dist/application/evaluated-agent.d.ts +7 -0
  9. package/dist/application/evaluated-agent.js +16 -0
  10. package/dist/application/evaluation-comparison.d.ts +34 -0
  11. package/dist/application/evaluation-comparison.js +91 -0
  12. package/dist/application/evaluation-harness.d.ts +19 -0
  13. package/dist/application/evaluation-harness.js +217 -0
  14. package/dist/application/failure-analyzer.d.ts +5 -0
  15. package/dist/application/failure-analyzer.js +37 -0
  16. package/dist/application/interaction-routing.d.ts +9 -0
  17. package/dist/application/interaction-routing.js +20 -0
  18. package/dist/application/live-evaluation.d.ts +8 -0
  19. package/dist/application/live-evaluation.js +185 -0
  20. package/dist/application/model-routing.d.ts +12 -0
  21. package/dist/application/model-routing.js +40 -0
  22. package/dist/application/model-system-instruction.d.ts +4 -0
  23. package/dist/application/model-system-instruction.js +4 -0
  24. package/dist/application/self-evaluation.d.ts +26 -0
  25. package/dist/application/self-evaluation.js +394 -0
  26. package/dist/application/task-metrics.d.ts +31 -0
  27. package/dist/application/task-metrics.js +42 -0
  28. package/dist/application/verification-planner.d.ts +12 -0
  29. package/dist/application/verification-planner.js +97 -0
  30. package/dist/domain/models.d.ts +247 -0
  31. package/dist/domain/models.js +1 -0
  32. package/dist/domain/ports.d.ts +87 -0
  33. package/dist/domain/ports.js +1 -0
  34. package/dist/domain/provider-error.d.ts +18 -0
  35. package/dist/domain/provider-error.js +17 -0
  36. package/dist/infrastructure/configuration/config.d.ts +24 -0
  37. package/dist/infrastructure/configuration/config.js +79 -0
  38. package/dist/infrastructure/filesystem/platform-paths.d.ts +8 -0
  39. package/dist/infrastructure/filesystem/platform-paths.js +18 -0
  40. package/dist/infrastructure/persistence/sqlite-session-store.d.ts +82 -0
  41. package/dist/infrastructure/persistence/sqlite-session-store.js +447 -0
  42. package/dist/infrastructure/providers/gemini-provider.d.ts +14 -0
  43. package/dist/infrastructure/providers/gemini-provider.js +90 -0
  44. package/dist/infrastructure/providers/groq-provider.d.ts +16 -0
  45. package/dist/infrastructure/providers/groq-provider.js +101 -0
  46. package/dist/infrastructure/providers/jev-safety-advisor.d.ts +18 -0
  47. package/dist/infrastructure/providers/jev-safety-advisor.js +95 -0
  48. package/dist/infrastructure/providers/mistral-provider.d.ts +15 -0
  49. package/dist/infrastructure/providers/mistral-provider.js +137 -0
  50. package/dist/infrastructure/providers/openrouter-provider.d.ts +15 -0
  51. package/dist/infrastructure/providers/openrouter-provider.js +104 -0
  52. package/dist/infrastructure/providers/provider-recovery.d.ts +10 -0
  53. package/dist/infrastructure/providers/provider-recovery.js +108 -0
  54. package/dist/infrastructure/providers/provider-registry.d.ts +22 -0
  55. package/dist/infrastructure/providers/provider-registry.js +67 -0
  56. package/dist/infrastructure/repository/repository-awareness.d.ts +12 -0
  57. package/dist/infrastructure/repository/repository-awareness.js +25 -0
  58. package/dist/infrastructure/repository/repository-profiler.d.ts +35 -0
  59. package/dist/infrastructure/repository/repository-profiler.js +498 -0
  60. package/dist/infrastructure/security/macos-keychain-store.d.ts +17 -0
  61. package/dist/infrastructure/security/macos-keychain-store.js +73 -0
  62. package/dist/infrastructure/tools/workspace-tools.d.ts +30 -0
  63. package/dist/infrastructure/tools/workspace-tools.js +321 -0
  64. package/dist/interface/cli/evaluation-comparison-report.d.ts +6 -0
  65. package/dist/interface/cli/evaluation-comparison-report.js +46 -0
  66. package/dist/interface/cli/evaluation-report.d.ts +14 -0
  67. package/dist/interface/cli/evaluation-report.js +122 -0
  68. package/dist/interface/cli/index.d.ts +2 -0
  69. package/dist/interface/cli/index.js +238 -0
  70. package/dist/interface/cli/provider-setup.d.ts +16 -0
  71. package/dist/interface/cli/provider-setup.js +86 -0
  72. package/dist/interface/cli/repl.d.ts +7 -0
  73. package/dist/interface/cli/repl.js +19 -0
  74. package/dist/interface/cli/task-trace.d.ts +7 -0
  75. package/dist/interface/cli/task-trace.js +48 -0
  76. package/dist/interface/cli/tui.d.ts +147 -0
  77. package/dist/interface/cli/tui.js +910 -0
  78. package/package.json +61 -0
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@mrace07/kairo",
3
+ "version": "0.1.0",
4
+ "description": "A terminal coding agent for local repositories, with approval-gated tools and verification.",
5
+ "keywords": [
6
+ "ai",
7
+ "coding-agent",
8
+ "terminal",
9
+ "cli",
10
+ "developer-tools"
11
+ ],
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/thefrikidude/kairo.git"
15
+ },
16
+ "homepage": "https://github.com/thefrikidude/kairo#readme",
17
+ "bugs": {
18
+ "url": "https://github.com/thefrikidude/kairo/issues"
19
+ },
20
+ "files": [
21
+ "dist/",
22
+ "!dist/**/*.test.*",
23
+ "README.md"
24
+ ],
25
+ "type": "module",
26
+ "bin": {
27
+ "kairo": "dist/interface/cli/index.js"
28
+ },
29
+ "engines": {
30
+ "node": ">=24.21.0"
31
+ },
32
+ "scripts": {
33
+ "build": "rm -rf dist && pnpm exec tsc -p tsconfig.json",
34
+ "check": "tsc --noEmit",
35
+ "format": "prettier --write .",
36
+ "format:check": "prettier --check .",
37
+ "test": "pnpm run build && node --test \"dist/**/*.test.js\"",
38
+ "start": "tsx src/interface/cli/index.ts"
39
+ },
40
+ "dependencies": {
41
+ "@google/genai": "^1.0.0",
42
+ "@openrouter/sdk": "^1.2.145",
43
+ "@sentry/node": "10.37.0",
44
+ "better-sqlite3": "^12.0.0",
45
+ "deepeval": "0.9.14",
46
+ "groq-sdk": "1.6.0",
47
+ "ink": "^7.1.1",
48
+ "ink-text-input": "^6.0.0",
49
+ "parse-diff": "0.12.0",
50
+ "react": "^19.3.0"
51
+ },
52
+ "devDependencies": {
53
+ "@types/better-sqlite3": "^7.6.0",
54
+ "@types/node": "^22.0.0",
55
+ "@types/react": "^19.3.0",
56
+ "ink-testing-library": "^4.0.0",
57
+ "prettier": "^3.9.6",
58
+ "tsx": "^4.0.0",
59
+ "typescript": "^5.0.0"
60
+ }
61
+ }