@eldrforge/kodrdriv 0.0.14 → 0.0.17

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 (84) hide show
  1. package/README.md +1 -9
  2. package/dist/arguments.js +306 -55
  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 +64 -248
  15. package/dist/commands/audio-commit.js.map +1 -1
  16. package/dist/commands/audio-review.js +90 -701
  17. package/dist/commands/audio-review.js.map +1 -1
  18. package/dist/commands/commit.js +18 -18
  19. package/dist/commands/commit.js.map +1 -1
  20. package/dist/commands/release.js +14 -15
  21. package/dist/commands/release.js.map +1 -1
  22. package/dist/commands/review.js +152 -0
  23. package/dist/commands/review.js.map +1 -0
  24. package/dist/commands/select-audio.js +265 -0
  25. package/dist/commands/select-audio.js.map +1 -0
  26. package/dist/constants.js +86 -68
  27. package/dist/constants.js.map +1 -1
  28. package/dist/content/diff.js +155 -1
  29. package/dist/content/diff.js.map +1 -1
  30. package/dist/content/issues.js +256 -0
  31. package/dist/content/issues.js.map +1 -0
  32. package/dist/content/releaseNotes.js +90 -0
  33. package/dist/content/releaseNotes.js.map +1 -0
  34. package/dist/main.js +9 -2
  35. package/dist/main.js.map +1 -1
  36. package/dist/prompt/instructions/commit.md +18 -15
  37. package/dist/prompt/instructions/release.md +6 -5
  38. package/dist/prompt/instructions/{audio-review.md → review.md} +24 -18
  39. package/dist/prompt/prompts.js +87 -19
  40. package/dist/prompt/prompts.js.map +1 -1
  41. package/dist/types.js +27 -3
  42. package/dist/types.js.map +1 -1
  43. package/dist/util/general.js +7 -1
  44. package/dist/util/general.js.map +1 -1
  45. package/dist/util/openai.js +34 -3
  46. package/dist/util/openai.js.map +1 -1
  47. package/dist/util/stdin.js +61 -0
  48. package/dist/util/stdin.js.map +1 -0
  49. package/package.json +6 -6
  50. package/.kodrdriv/config.yaml +0 -20
  51. package/.kodrdriv/context/content.md +0 -7
  52. package/RELEASE_NOTES.md +0 -14
  53. package/docs/index.html +0 -17
  54. package/docs/package.json +0 -36
  55. package/docs/pnpm-lock.yaml +0 -3441
  56. package/docs/public/README.md +0 -132
  57. package/docs/public/advanced-usage.md +0 -188
  58. package/docs/public/code-icon.svg +0 -4
  59. package/docs/public/commands.md +0 -116
  60. package/docs/public/configuration.md +0 -274
  61. package/docs/public/examples.md +0 -352
  62. package/docs/public/kodrdriv-logo.svg +0 -62
  63. package/docs/src/App.css +0 -387
  64. package/docs/src/App.tsx +0 -60
  65. package/docs/src/components/DocumentPage.tsx +0 -56
  66. package/docs/src/components/ErrorMessage.tsx +0 -15
  67. package/docs/src/components/LoadingSpinner.tsx +0 -14
  68. package/docs/src/components/MarkdownRenderer.tsx +0 -56
  69. package/docs/src/components/Navigation.css +0 -73
  70. package/docs/src/components/Navigation.tsx +0 -36
  71. package/docs/src/index.css +0 -61
  72. package/docs/src/main.tsx +0 -10
  73. package/docs/src/test/setup.ts +0 -1
  74. package/docs/src/vite-env.d.ts +0 -10
  75. package/docs/tsconfig.node.json +0 -13
  76. package/docs/vite.config.ts +0 -15
  77. package/docs/vitest.config.ts +0 -15
  78. package/eslint.config.mjs +0 -83
  79. package/nodemon.json +0 -14
  80. package/output/kodrdriv/250701-1442-release-notes.md +0 -3
  81. package/pnpm-workspace.yaml +0 -5
  82. package/tsconfig.tsbuildinfo +0 -1
  83. package/vite.config.ts +0 -90
  84. 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'