lovecode-ai 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.
- package/README.md +175 -0
- package/bin/lovecode.js +5 -0
- package/dist/browser-UA4QOMPS.js +37 -0
- package/dist/chunk-FMT77EJQ.js +160 -0
- package/dist/chunk-G7VQGYJW.js +858 -0
- package/dist/chunk-IVAMLKMS.js +194 -0
- package/dist/chunk-LKUWOZUZ.js +0 -0
- package/dist/chunk-MOZHR2QY.js +412 -0
- package/dist/git-TBOGPTY4.js +70 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +7783 -0
- package/dist/playwright-N7OAVW2N.js +36 -0
- package/dist/registry-MW5ISDO7.js +32 -0
- package/dist/theme-ZRZYRB2Q.js +18 -0
- package/package.json +75 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
click,
|
|
3
|
+
closeBrowser,
|
|
4
|
+
evaluate,
|
|
5
|
+
formatDOMElement,
|
|
6
|
+
formatScreenshotResult,
|
|
7
|
+
getHTML,
|
|
8
|
+
goto,
|
|
9
|
+
inspect,
|
|
10
|
+
isBrowserRunning,
|
|
11
|
+
isPlaywrightAvailable,
|
|
12
|
+
launchBrowser,
|
|
13
|
+
runActions,
|
|
14
|
+
screenshot,
|
|
15
|
+
select,
|
|
16
|
+
type,
|
|
17
|
+
waitFor
|
|
18
|
+
} from "./chunk-IVAMLKMS.js";
|
|
19
|
+
export {
|
|
20
|
+
click,
|
|
21
|
+
closeBrowser,
|
|
22
|
+
evaluate,
|
|
23
|
+
formatDOMElement,
|
|
24
|
+
formatScreenshotResult,
|
|
25
|
+
getHTML,
|
|
26
|
+
goto,
|
|
27
|
+
inspect,
|
|
28
|
+
isBrowserRunning,
|
|
29
|
+
isPlaywrightAvailable,
|
|
30
|
+
launchBrowser,
|
|
31
|
+
runActions,
|
|
32
|
+
screenshot,
|
|
33
|
+
select,
|
|
34
|
+
type,
|
|
35
|
+
waitFor
|
|
36
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
disablePlugin,
|
|
3
|
+
enablePlugin,
|
|
4
|
+
formatMarketplace,
|
|
5
|
+
formatPluginList,
|
|
6
|
+
getAllPluginTools,
|
|
7
|
+
getPlugin,
|
|
8
|
+
listPlugins,
|
|
9
|
+
loadBuiltinPlugins,
|
|
10
|
+
loadExternalPlugins,
|
|
11
|
+
marketplacePlugins,
|
|
12
|
+
onToolsChanged,
|
|
13
|
+
registerPlugin,
|
|
14
|
+
searchMarketplace,
|
|
15
|
+
unregisterPlugin
|
|
16
|
+
} from "./chunk-MOZHR2QY.js";
|
|
17
|
+
export {
|
|
18
|
+
disablePlugin,
|
|
19
|
+
enablePlugin,
|
|
20
|
+
formatMarketplace,
|
|
21
|
+
formatPluginList,
|
|
22
|
+
getAllPluginTools,
|
|
23
|
+
getPlugin,
|
|
24
|
+
listPlugins,
|
|
25
|
+
loadBuiltinPlugins,
|
|
26
|
+
loadExternalPlugins,
|
|
27
|
+
marketplacePlugins,
|
|
28
|
+
onToolsChanged,
|
|
29
|
+
registerPlugin,
|
|
30
|
+
searchMarketplace,
|
|
31
|
+
unregisterPlugin
|
|
32
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lovecode-ai",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Terminal-native autonomous coding agent powered by free AI models",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"coding-agent",
|
|
8
|
+
"cli",
|
|
9
|
+
"terminal",
|
|
10
|
+
"llm",
|
|
11
|
+
"ollama",
|
|
12
|
+
"open-source"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/anomalyco/lovecode",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/anomalyco/lovecode.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"author": "LoveCode AI Contributors",
|
|
21
|
+
"type": "module",
|
|
22
|
+
"bin": {
|
|
23
|
+
"lovecode": "./bin/lovecode.js"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"bin/",
|
|
27
|
+
"dist/",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "tsup src/index.ts --out-dir dist --format esm --clean --dts --external playwright --external ink --external react --external react-dom",
|
|
33
|
+
"dev": "tsup src/index.ts --out-dir dist --format esm --watch",
|
|
34
|
+
"start": "node bin/lovecode.js",
|
|
35
|
+
"lint": "eslint src/",
|
|
36
|
+
"lint:fix": "eslint src/ --fix",
|
|
37
|
+
"format": "prettier --write 'src/**/*.ts'",
|
|
38
|
+
"format:check": "prettier --check 'src/**/*.ts'",
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"test": "vitest run",
|
|
41
|
+
"test:watch": "vitest",
|
|
42
|
+
"prepublishOnly": "npm run build"
|
|
43
|
+
},
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=18.0.0"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@types/react": "^19.2.15",
|
|
49
|
+
"chalk": "^5.3.0",
|
|
50
|
+
"commander": "^12.0.0",
|
|
51
|
+
"conf": "^12.0.0",
|
|
52
|
+
"dotenv": "^17.4.2",
|
|
53
|
+
"ink": "^7.0.4",
|
|
54
|
+
"inquirer": "^9.2.0",
|
|
55
|
+
"js-yaml": "^4.1.1",
|
|
56
|
+
"marked": "^18.0.4",
|
|
57
|
+
"ora": "^8.0.0",
|
|
58
|
+
"react": "^19.2.6",
|
|
59
|
+
"simple-git": "^3.22.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@types/dotenv": "^6.1.1",
|
|
63
|
+
"@types/js-yaml": "^4.0.9",
|
|
64
|
+
"@types/marked": "^5.0.2",
|
|
65
|
+
"@types/node": "^20.11.0",
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
67
|
+
"@typescript-eslint/parser": "^7.0.0",
|
|
68
|
+
"eslint": "^8.57.0",
|
|
69
|
+
"eslint-config-prettier": "^9.1.0",
|
|
70
|
+
"prettier": "^3.2.0",
|
|
71
|
+
"tsup": "^8.0.0",
|
|
72
|
+
"typescript": "^5.4.0",
|
|
73
|
+
"vitest": "^1.4.0"
|
|
74
|
+
}
|
|
75
|
+
}
|