@eldrforge/kodrdriv 0.0.15 → 0.0.18

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 (82) hide show
  1. package/README.md +1 -9
  2. package/dist/arguments.js +38 -63
  3. package/dist/arguments.js.map +1 -1
  4. package/dist/audio/devices.js +284 -0
  5. package/dist/audio/devices.js.map +1 -0
  6. package/dist/audio/index.js +31 -0
  7. package/dist/audio/index.js.map +1 -0
  8. package/dist/audio/processor.js +766 -0
  9. package/dist/audio/processor.js.map +1 -0
  10. package/dist/audio/types.js +16 -0
  11. package/dist/audio/types.js.map +1 -0
  12. package/dist/audio/validation.js +35 -0
  13. package/dist/audio/validation.js.map +1 -0
  14. package/dist/commands/audio-commit.js +59 -634
  15. package/dist/commands/audio-commit.js.map +1 -1
  16. package/dist/commands/audio-review.js +68 -632
  17. package/dist/commands/audio-review.js.map +1 -1
  18. package/dist/commands/commit.js +23 -15
  19. package/dist/commands/commit.js.map +1 -1
  20. package/dist/commands/release.js +20 -12
  21. package/dist/commands/release.js.map +1 -1
  22. package/dist/commands/review.js +64 -13
  23. package/dist/commands/review.js.map +1 -1
  24. package/dist/commands/select-audio.js +265 -0
  25. package/dist/commands/select-audio.js.map +1 -0
  26. package/dist/constants.js +17 -9
  27. package/dist/constants.js.map +1 -1
  28. package/dist/content/issues.js +16 -0
  29. package/dist/content/issues.js.map +1 -1
  30. package/dist/main.js +9 -3
  31. package/dist/main.js.map +1 -1
  32. package/dist/prompt/commit.js +64 -0
  33. package/dist/prompt/commit.js.map +1 -0
  34. package/dist/prompt/personas/you.md +49 -5
  35. package/dist/prompt/release.js +52 -0
  36. package/dist/prompt/release.js.map +1 -0
  37. package/dist/prompt/review.js +64 -0
  38. package/dist/prompt/review.js.map +1 -0
  39. package/dist/types.js +5 -3
  40. package/dist/types.js.map +1 -1
  41. package/dist/util/openai.js +34 -3
  42. package/dist/util/openai.js.map +1 -1
  43. package/package.json +2 -2
  44. package/.kodrdriv/config.yaml +0 -20
  45. package/.kodrdriv/context/content.md +0 -7
  46. package/RELEASE_NOTES.md +0 -14
  47. package/dist/prompt/personas/committer.md +0 -29
  48. package/dist/prompt/personas/reviewer.md +0 -29
  49. package/dist/prompt/prompts.js +0 -160
  50. package/dist/prompt/prompts.js.map +0 -1
  51. package/docs/index.html +0 -17
  52. package/docs/package.json +0 -36
  53. package/docs/pnpm-lock.yaml +0 -3441
  54. package/docs/public/README.md +0 -132
  55. package/docs/public/advanced-usage.md +0 -188
  56. package/docs/public/code-icon.svg +0 -4
  57. package/docs/public/commands.md +0 -136
  58. package/docs/public/configuration.md +0 -274
  59. package/docs/public/examples.md +0 -352
  60. package/docs/public/kodrdriv-logo.svg +0 -62
  61. package/docs/src/App.css +0 -387
  62. package/docs/src/App.tsx +0 -60
  63. package/docs/src/components/DocumentPage.tsx +0 -56
  64. package/docs/src/components/ErrorMessage.tsx +0 -15
  65. package/docs/src/components/LoadingSpinner.tsx +0 -14
  66. package/docs/src/components/MarkdownRenderer.tsx +0 -56
  67. package/docs/src/components/Navigation.css +0 -73
  68. package/docs/src/components/Navigation.tsx +0 -36
  69. package/docs/src/index.css +0 -61
  70. package/docs/src/main.tsx +0 -10
  71. package/docs/src/test/setup.ts +0 -1
  72. package/docs/src/vite-env.d.ts +0 -10
  73. package/docs/tsconfig.node.json +0 -13
  74. package/docs/vite.config.ts +0 -15
  75. package/docs/vitest.config.ts +0 -15
  76. package/eslint.config.mjs +0 -83
  77. package/nodemon.json +0 -14
  78. package/output/kodrdriv/250702-0552-release-notes.md +0 -3
  79. package/pnpm-workspace.yaml +0 -5
  80. package/tsconfig.tsbuildinfo +0 -1
  81. package/vite.config.ts +0 -90
  82. package/vitest.config.ts +0 -24
@@ -1,61 +0,0 @@
1
- /* Global styles */
2
- :root {
3
- font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
4
- line-height: 1.5;
5
- font-weight: 400;
6
-
7
- color-scheme: light dark;
8
- color: rgba(255, 255, 255, 0.87);
9
- background-color: #242424;
10
-
11
- font-synthesis: none;
12
- text-rendering: optimizeLegibility;
13
- -webkit-font-smoothing: antialiased;
14
- -moz-osx-font-smoothing: grayscale;
15
- -webkit-text-size-adjust: 100%;
16
- }
17
-
18
- a {
19
- font-weight: 500;
20
- color: #646cff;
21
- text-decoration: inherit;
22
- }
23
-
24
- a:hover {
25
- color: #535bf2;
26
- }
27
-
28
- body {
29
- margin: 0;
30
- display: flex;
31
- place-items: center;
32
- min-width: 320px;
33
- min-height: 100vh;
34
- }
35
-
36
- h1 {
37
- font-size: 3.2em;
38
- line-height: 1.1;
39
- }
40
-
41
- button {
42
- border-radius: 8px;
43
- border: 1px solid transparent;
44
- padding: 0.6em 1.2em;
45
- font-size: 1em;
46
- font-weight: 500;
47
- font-family: inherit;
48
- background-color: #1a1a1a;
49
- color: white;
50
- cursor: pointer;
51
- transition: border-color 0.25s;
52
- }
53
-
54
- button:hover {
55
- border-color: #646cff;
56
- }
57
-
58
- button:focus,
59
- button:focus-visible {
60
- outline: 4px auto -webkit-focus-ring-color;
61
- }
package/docs/src/main.tsx DELETED
@@ -1,10 +0,0 @@
1
- import { StrictMode } from 'react'
2
- import { createRoot } from 'react-dom/client'
3
- import App from './App.tsx'
4
- import './index.css'
5
-
6
- createRoot(document.getElementById('root')!).render(
7
- <StrictMode>
8
- <App />
9
- </StrictMode>,
10
- )
@@ -1 +0,0 @@
1
- import '@testing-library/jest-dom'
@@ -1,10 +0,0 @@
1
- /// <reference types="vite/client" />
2
-
3
- interface ImportMetaEnv {
4
- readonly BASE_URL: string
5
- // Add other env variables here as needed
6
- }
7
-
8
- interface ImportMeta {
9
- readonly env: ImportMetaEnv
10
- }
@@ -1,13 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true,
4
- "skipLibCheck": true,
5
- "module": "ESNext",
6
- "moduleResolution": "bundler",
7
- "allowSyntheticDefaultImports": true,
8
- "strict": true
9
- },
10
- "include": [
11
- "vite.config.ts"
12
- ]
13
- }
@@ -1,15 +0,0 @@
1
- import { defineConfig } from 'vite'
2
- import react from '@vitejs/plugin-react'
3
-
4
- // https://vitejs.dev/config/
5
- export default defineConfig({
6
- plugins: [react()],
7
- base: '/kodrdriv/',
8
- build: {
9
- outDir: 'dist',
10
- emptyOutDir: true,
11
- },
12
- server: {
13
- port: 3001
14
- }
15
- })
@@ -1,15 +0,0 @@
1
- import { defineConfig } from 'vitest/config'
2
- import react from '@vitejs/plugin-react'
3
-
4
- export default defineConfig({
5
- plugins: [react()],
6
- test: {
7
- globals: true,
8
- environment: 'jsdom',
9
- setupFiles: ['./src/test/setup.ts'],
10
- coverage: {
11
- provider: 'v8',
12
- reporter: ['text', 'json', 'html'],
13
- },
14
- },
15
- })
package/eslint.config.mjs DELETED
@@ -1,83 +0,0 @@
1
- import { defineConfig, globalIgnores } from "eslint/config";
2
- import typescriptEslint from "@typescript-eslint/eslint-plugin";
3
- import importPlugin from "eslint-plugin-import";
4
- import globals from "globals";
5
- import tsParser from "@typescript-eslint/parser";
6
- import path from "node:path";
7
- import { fileURLToPath } from "node:url";
8
- import js from "@eslint/js";
9
- import { FlatCompat } from "@eslint/eslintrc";
10
-
11
- const __filename = fileURLToPath(import.meta.url);
12
- const __dirname = path.dirname(__filename);
13
- const compat = new FlatCompat({
14
- baseDirectory: __dirname,
15
- recommendedConfig: js.configs.recommended,
16
- allConfig: js.configs.all
17
- });
18
-
19
- export default defineConfig([
20
- globalIgnores([
21
- "dist/**",
22
- "docs/**",
23
- "node_modules/**",
24
- "**/*.test.ts",
25
- ]),
26
- {
27
- extends: compat.extends("eslint:recommended", "plugin:@typescript-eslint/recommended"),
28
-
29
- plugins: {
30
- "@typescript-eslint": typescriptEslint,
31
- "import": importPlugin,
32
- },
33
-
34
- languageOptions: {
35
- globals: {
36
- ...globals.node,
37
- },
38
-
39
- parser: tsParser,
40
- ecmaVersion: "latest",
41
- sourceType: "module",
42
- },
43
-
44
- rules: {
45
- "@typescript-eslint/no-explicit-any": "off",
46
- "@typescript-eslint/explicit-function-return-type": "off",
47
-
48
- "@typescript-eslint/no-unused-vars": ["warn", {
49
- argsIgnorePattern: "^_",
50
- }],
51
-
52
- indent: ["error", 4, {
53
- SwitchCase: 1,
54
- }],
55
-
56
- "import/extensions": ["error", "never", {
57
- ignorePackages: true,
58
- pattern: {
59
- "js": "never",
60
- "ts": "never",
61
- "d": "always"
62
- }
63
- }],
64
-
65
- "import/no-extraneous-dependencies": ["error", {
66
- devDependencies: true,
67
- optionalDependencies: false,
68
- peerDependencies: false,
69
- }],
70
-
71
- "no-console": ["error"],
72
-
73
- "no-restricted-imports": ["error", {
74
- paths: ["dayjs", "fs", "moment-timezone"],
75
- patterns: [
76
- {
77
- group: ["src/**"],
78
- message: "Use absolute imports instead of relative imports"
79
- }
80
- ]
81
- }]
82
- },
83
- }]);
package/nodemon.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "verbose": true,
3
- "ignore": [
4
- ".git",
5
- "node_modules/**/node_modules",
6
- "dist",
7
- "*.test.ts"
8
- ],
9
- "watch": [
10
- "src"
11
- ],
12
- "ext": "ts,json",
13
- "exec": "tsc && echo \"⚡ Compilation complete\""
14
- }
@@ -1,3 +0,0 @@
1
- # mock title
2
-
3
- mock body
@@ -1,5 +0,0 @@
1
- packages:
2
- - '.'
3
- - '!docs'
4
- ignoredBuiltDependencies:
5
- - 'audify'