@swifty.js/larky 0.0.10 → 0.0.11
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/package.json +20 -86
- package/src/larky.js +8 -0
- package/src/swiftx.js +12 -0
- package/src/swifty.js +12 -0
- package/PROTOCOL.md +0 -2451
- package/README.md +0 -72
- package/dist/cli/builtin/fullstack-interview/SKILL.md +0 -105
- package/dist/cli/builtin/teach-me/SKILL.md +0 -399
- package/dist/cli/builtin/teach-me/references/pedagogy.md +0 -244
- package/dist/cli/glob_addon.node +0 -0
- package/dist/cli/main.js +0 -1674
- package/dist/cli/release.wasm +0 -0
- package/dist/core/app.js +0 -954
- package/dist/core/builtin/fullstack-interview/SKILL.md +0 -105
- package/dist/core/builtin/teach-me/SKILL.md +0 -399
- package/dist/core/builtin/teach-me/references/pedagogy.md +0 -244
- package/dist/core/glob_addon.node +0 -0
- package/dist/core/release.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,117 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swifty.js/larky",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Larky - Dual
|
|
3
|
+
"version": "0.0.11",
|
|
4
|
+
"description": "Larky - Dual CLI coding agent",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
7
7
|
"cli",
|
|
8
8
|
"coding-agent",
|
|
9
9
|
"larky",
|
|
10
|
-
"
|
|
10
|
+
"swifty.js"
|
|
11
11
|
],
|
|
12
|
-
"homepage": "https://github.com/hangtiancheng/
|
|
12
|
+
"homepage": "https://github.com/hangtiancheng/swifty-cli",
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/hangtiancheng/
|
|
14
|
+
"url": "https://github.com/hangtiancheng/swifty-cli/issues"
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"author": "https://github.com/hangtiancheng",
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/hangtiancheng/
|
|
20
|
+
"url": "https://github.com/hangtiancheng/swifty-cli.git",
|
|
21
21
|
"directory": "apps/larky"
|
|
22
22
|
},
|
|
23
23
|
"bin": {
|
|
24
|
-
"
|
|
24
|
+
"swifty": "src/swifty.js",
|
|
25
|
+
"swiftx": "src/swiftx.js",
|
|
26
|
+
"larky": "src/larky.js"
|
|
25
27
|
},
|
|
26
28
|
"files": [
|
|
27
|
-
"
|
|
28
|
-
"README.md",
|
|
29
|
-
"kill.mjs",
|
|
30
|
-
"LICENSE",
|
|
31
|
-
"PROTOCOL.md"
|
|
29
|
+
"src"
|
|
32
30
|
],
|
|
33
31
|
"type": "module",
|
|
34
32
|
"publishConfig": {
|
|
35
33
|
"access": "public"
|
|
36
34
|
},
|
|
37
35
|
"scripts": {
|
|
38
|
-
"fe:dev": "cd src/remote/fe && tsup --watch",
|
|
39
|
-
"fe:build": "cd src/remote/fe && tsup",
|
|
40
|
-
"fe:preview": "pnpm dlx serve src/remote/fe/dist",
|
|
41
|
-
"build": "tsup",
|
|
42
|
-
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
43
|
-
"lint": "eslint ./scripts ./src ./tests",
|
|
44
|
-
"lint:fix": "eslint --fix ./scripts ./src ./tests",
|
|
45
|
-
"format": "oxfmt --write ./",
|
|
46
|
-
"test": "vitest run",
|
|
47
|
-
"test:watch": "vitest",
|
|
48
|
-
"test:coverage": "vitest run --coverage",
|
|
49
|
-
"doc": "tsx ./scripts/gen-protocol-doc.ts",
|
|
50
|
-
"dev": "tsx ./src/dev.ts",
|
|
51
|
-
"core": "tsx ./src/core/app.ts",
|
|
52
|
-
"cli": "tsx ./src/cli/main.ts",
|
|
53
|
-
"prepublishOnly": "pnpm build",
|
|
54
36
|
"add:user": "npm adduser --registry=https://registry.npmjs.org/",
|
|
55
|
-
"publish:latest": "
|
|
56
|
-
"publish:alpha": "
|
|
57
|
-
"publish:beta": "
|
|
58
|
-
"publish:rc": "
|
|
59
|
-
"publish:canary": "
|
|
60
|
-
"publish:nightly": "
|
|
61
|
-
"publish:dev": "
|
|
37
|
+
"publish:latest": "pnpm publish --access public --no-git-checks --registry=https://registry.npmjs.org/",
|
|
38
|
+
"publish:alpha": "pnpm publish --access public --no-git-checks --registry=https://registry.npmjs.org/ --tag alpha",
|
|
39
|
+
"publish:beta": "pnpm publish --access public --no-git-checks --registry=https://registry.npmjs.org/ --tag beta",
|
|
40
|
+
"publish:rc": "pnpm publish --access public --no-git-checks --registry=https://registry.npmjs.org/ --tag rc",
|
|
41
|
+
"publish:canary": "pnpm publish --access public --no-git-checks --registry=https://registry.npmjs.org/ --tag canary",
|
|
42
|
+
"publish:nightly": "pnpm publish --access public --no-git-checks --registry=https://registry.npmjs.org/ --tag nightly",
|
|
43
|
+
"publish:dev": "pnpm publish --access public --no-git-checks --registry=https://registry.npmjs.org/ --tag dev"
|
|
62
44
|
},
|
|
63
45
|
"dependencies": {
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"chalk": "^5.6.2",
|
|
67
|
-
"dompurify": "^3.4.12",
|
|
68
|
-
"fuse.js": "^7.5.0",
|
|
69
|
-
"ink": "^7.1.1",
|
|
70
|
-
"ink-spinner": "^5.0.0",
|
|
71
|
-
"ink-text-input": "^6.0.0",
|
|
72
|
-
"js-yaml": "^4.3.0",
|
|
73
|
-
"koa": "^3.2.1",
|
|
74
|
-
"marked": "^18.0.7",
|
|
75
|
-
"openai": "^6.49.0",
|
|
76
|
-
"picomatch": "^4.0.5",
|
|
77
|
-
"pino": "^10.3.1",
|
|
78
|
-
"react": "19.2.7",
|
|
79
|
-
"react-dom": "19.2.7",
|
|
80
|
-
"sharp": "^0.35.3",
|
|
81
|
-
"ws": "^8.21.1",
|
|
82
|
-
"zod": "^4.4.3"
|
|
83
|
-
},
|
|
84
|
-
"devDependencies": {
|
|
85
|
-
"@eslint/js": "^9.39.5",
|
|
86
|
-
"@swifty.js/glob-addon": "workspace:*",
|
|
87
|
-
"@swifty.js/glob-wasm": "workspace:*",
|
|
88
|
-
"@swifty.js/marked-terminal": "workspace:*",
|
|
89
|
-
"@tailwindcss/postcss": "^4.3.3",
|
|
90
|
-
"@types/js-yaml": "^4.0.9",
|
|
91
|
-
"@types/koa": "^3.0.3",
|
|
92
|
-
"@types/node": "^24.13.3",
|
|
93
|
-
"@types/picomatch": "^4.0.3",
|
|
94
|
-
"@types/react": "^19.2.18",
|
|
95
|
-
"@types/react-dom": "^19.2.4",
|
|
96
|
-
"@types/ws": "^8.18.1",
|
|
97
|
-
"@vitest/coverage-v8": "^4.1.10",
|
|
98
|
-
"concurrently": "^9.2.4",
|
|
99
|
-
"eslint": "^9.39.5",
|
|
100
|
-
"eslint-plugin-import": "^2.32.0",
|
|
101
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
102
|
-
"eslint-plugin-react-refresh": "^0.5.3",
|
|
103
|
-
"eslint-plugin-unicorn": "^65.0.1",
|
|
104
|
-
"globals": "^17.8.0",
|
|
105
|
-
"ink-testing-library": "^4.0.0",
|
|
106
|
-
"oxfmt": "^0.53.0",
|
|
107
|
-
"pino-pretty": "^13.1.3",
|
|
108
|
-
"postcss": "^8.5.25",
|
|
109
|
-
"tailwindcss": "^4.3.3",
|
|
110
|
-
"tsup": "^8.5.1",
|
|
111
|
-
"tsx": "^4.23.1",
|
|
112
|
-
"typescript": "^5.9.3",
|
|
113
|
-
"typescript-eslint": "^8.65.0",
|
|
114
|
-
"vitest": "^4.1.10"
|
|
46
|
+
"@swifty.js/swifty": "workspace:*",
|
|
47
|
+
"@swifty.js/swiftx": "workspace:*"
|
|
115
48
|
},
|
|
49
|
+
"devDependencies": {},
|
|
116
50
|
"packageManager": "pnpm@10.33.1"
|
|
117
51
|
}
|
package/src/larky.js
ADDED
package/src/swiftx.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from "node:module";
|
|
3
|
+
import { pathToFileURL } from "node:url";
|
|
4
|
+
|
|
5
|
+
const require = createRequire(import.meta.url);
|
|
6
|
+
const entry = require.resolve("@swifty.js/swiftx/src/index.js");
|
|
7
|
+
|
|
8
|
+
// await import(pathToFileURL(entry).href);
|
|
9
|
+
|
|
10
|
+
(async () => {
|
|
11
|
+
await import(pathToFileURL(entry).href);
|
|
12
|
+
})();
|
package/src/swifty.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from "node:module";
|
|
3
|
+
import { pathToFileURL } from "node:url";
|
|
4
|
+
|
|
5
|
+
const require = createRequire(import.meta.url);
|
|
6
|
+
const entry = require.resolve("@swifty.js/swifty/dist/main.js");
|
|
7
|
+
|
|
8
|
+
// await import(pathToFileURL(entry).href);
|
|
9
|
+
|
|
10
|
+
(async () => {
|
|
11
|
+
await import(pathToFileURL(entry).href);
|
|
12
|
+
})();
|