@codedir/mimir-code 0.1.0 → 0.1.1
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.
- package/README.md +53 -47
- package/dist/binaries/resources/sql-wasm.wasm +0 -0
- package/dist/{cli.js → cli.mjs} +424 -1407
- package/dist/cli.mjs.map +1 -0
- package/dist/index.d.ts +19 -19
- package/dist/index.js +6 -10
- package/dist/index.js.map +1 -1
- package/package.json +23 -11
- package/scripts/templates/commands/{docs.yml → update-docs.yml} +5 -5
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js.map +0 -1
- package/scripts/templates/commands/perf.yml +0 -56
- package/scripts/templates/commands/refactor.yml +0 -52
- package/scripts/templates/commands/review.yml +0 -62
- package/scripts/templates/commands/security.yml +0 -51
- package/scripts/templates/commands/test.yml +0 -50
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codedir/mimir-code",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Platform-agnostic, BYOK AI coding agent CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"mimir": "dist/cli.
|
|
7
|
+
"mimir": "dist/cli.mjs"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"files": [
|
|
@@ -15,11 +15,16 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"dev": "tsx src/cli.ts",
|
|
17
17
|
"build": "tsup",
|
|
18
|
-
"build:binary": "
|
|
18
|
+
"build:binary": "bun build src/cli.ts --compile --outfile dist/binaries/mimir",
|
|
19
|
+
"build:binary:all": "node scripts/build-binaries.js",
|
|
19
20
|
"test": "vitest",
|
|
20
21
|
"test:unit": "vitest run tests/unit",
|
|
21
22
|
"test:integration": "vitest run tests/integration",
|
|
22
23
|
"test:coverage": "vitest run --coverage",
|
|
24
|
+
"test:build": "bash scripts/test-build.sh",
|
|
25
|
+
"test:build:win": "powershell -File scripts/test-build.ps1",
|
|
26
|
+
"test:install": "bash scripts/test-local-install.sh",
|
|
27
|
+
"test:install:win": "powershell -File scripts/test-local-install.ps1",
|
|
23
28
|
"lint": "eslint src tests --ext .ts",
|
|
24
29
|
"lint:fix": "eslint src tests --ext .ts --fix",
|
|
25
30
|
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
@@ -35,8 +40,16 @@
|
|
|
35
40
|
"typescript",
|
|
36
41
|
"cross-platform"
|
|
37
42
|
],
|
|
38
|
-
"author": "",
|
|
43
|
+
"author": "Codedir Labs",
|
|
39
44
|
"license": "AGPL-3.0",
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/codedir-labs/mimir-code.git"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://github.com/codedir-labs/mimir-code#readme",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/codedir-labs/mimir-code/issues"
|
|
52
|
+
},
|
|
40
53
|
"dependencies": {
|
|
41
54
|
"axios": "^1.7.9",
|
|
42
55
|
"boxen": "^8.0.1",
|
|
@@ -48,7 +61,7 @@
|
|
|
48
61
|
"execa": "^9.5.2",
|
|
49
62
|
"fast-glob": "^3.3.3",
|
|
50
63
|
"figures": "^6.1.0",
|
|
51
|
-
"
|
|
64
|
+
"gpt-tokenizer": "^3.4.0",
|
|
52
65
|
"ink": "^5.1.0",
|
|
53
66
|
"ink-select-input": "^6.0.0",
|
|
54
67
|
"ink-spinner": "^5.0.0",
|
|
@@ -57,7 +70,7 @@
|
|
|
57
70
|
"ora": "^8.2.0",
|
|
58
71
|
"p-retry": "^6.2.1",
|
|
59
72
|
"react": "^18.3.1",
|
|
60
|
-
"
|
|
73
|
+
"sql.js": "^1.12.0",
|
|
61
74
|
"uuid": "^13.0.0",
|
|
62
75
|
"winston": "^3.17.0",
|
|
63
76
|
"winston-daily-rotate-file": "^5.0.0",
|
|
@@ -68,14 +81,14 @@
|
|
|
68
81
|
"@eslint/js": "^9.17.0",
|
|
69
82
|
"@testing-library/dom": "^10.4.0",
|
|
70
83
|
"@testing-library/react": "^16.1.0",
|
|
71
|
-
"@types/better-sqlite3": "^7.6.12",
|
|
72
84
|
"@types/dockerode": "^3.3.33",
|
|
73
85
|
"@types/node": "^22.10.5",
|
|
74
86
|
"@types/react": "^18.3.18",
|
|
87
|
+
"@types/sql.js": "^1.4.9",
|
|
75
88
|
"@typescript-eslint/eslint-plugin": "^8.19.1",
|
|
76
89
|
"@typescript-eslint/parser": "^8.19.1",
|
|
77
90
|
"@vitest/coverage-v8": "^2.1.8",
|
|
78
|
-
"
|
|
91
|
+
"adm-zip": "^0.5.16",
|
|
79
92
|
"drizzle-kit": "^0.31.8",
|
|
80
93
|
"esbuild": "^0.25.0",
|
|
81
94
|
"eslint": "^9.17.0",
|
|
@@ -85,7 +98,9 @@
|
|
|
85
98
|
"lint-staged": "^15.2.11",
|
|
86
99
|
"msw": "^2.7.0",
|
|
87
100
|
"prettier": "^3.4.2",
|
|
101
|
+
"react-devtools-core": "^5.3.2",
|
|
88
102
|
"react-dom": "^18.3.1",
|
|
103
|
+
"tar": "^7.5.2",
|
|
89
104
|
"testcontainers": "^10.17.2",
|
|
90
105
|
"tsup": "^8.3.5",
|
|
91
106
|
"tsx": "^4.19.2",
|
|
@@ -101,9 +116,6 @@
|
|
|
101
116
|
"resolutions": {
|
|
102
117
|
"esbuild": "^0.25.0"
|
|
103
118
|
},
|
|
104
|
-
"optionalDependencies": {
|
|
105
|
-
"better-sqlite3": "^11.8.1"
|
|
106
|
-
},
|
|
107
119
|
"engines": {
|
|
108
120
|
"node": ">=18.0.0"
|
|
109
121
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# Documentation
|
|
1
|
+
# Update Documentation Command
|
|
2
2
|
# Generates or improves code documentation
|
|
3
|
-
# Usage: /docs [file-or-symbol]
|
|
3
|
+
# Usage: /update-docs [file-or-symbol]
|
|
4
4
|
|
|
5
|
-
name: docs
|
|
5
|
+
name: update-docs
|
|
6
6
|
description: Generate or improve code documentation
|
|
7
|
-
usage: /docs [file-or-symbol]
|
|
8
|
-
aliases: [
|
|
7
|
+
usage: /update-docs [file-or-symbol]
|
|
8
|
+
aliases: [docs, doc]
|
|
9
9
|
prompt: |
|
|
10
10
|
Generate or improve documentation for the specified code. Include:
|
|
11
11
|
|
package/dist/cli.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|