finch-file-browser 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/LICENSE +21 -0
- package/README.md +149 -0
- package/dist/index.js +804 -0
- package/dist/panel.css +498 -0
- package/dist/panel.html +66 -0
- package/dist/panel.js +18914 -0
- package/i18n/zh-CN.json +9 -0
- package/icon.png +0 -0
- package/package.json +98 -0
package/i18n/zh-CN.json
ADDED
package/icon.png
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "finch-file-browser",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Browse, preview and edit the files in the current Finch conversation's folder, right inside the session panel.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "zhaobaizhou",
|
|
7
|
+
"url": "https://github.com/zhaobaizhou"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "dist/index.js",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"finch",
|
|
14
|
+
"finch-minitool",
|
|
15
|
+
"files",
|
|
16
|
+
"browser",
|
|
17
|
+
"markdown",
|
|
18
|
+
"editor",
|
|
19
|
+
"panel"
|
|
20
|
+
],
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/zhaobaizhou/finch-file-browser.git"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/zhaobaizhou/finch-file-browser#readme",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/zhaobaizhou/finch-file-browser/issues"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "npm run build:host && npm run build:page && npm run copy:assets",
|
|
31
|
+
"build:host": "esbuild src/index.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/index.js",
|
|
32
|
+
"build:page": "esbuild src/panel.js --bundle --format=iife --target=chrome120 --outfile=dist/panel.js",
|
|
33
|
+
"copy:assets": "node scripts/copy-assets.mjs",
|
|
34
|
+
"typecheck": "tsc --noEmit",
|
|
35
|
+
"doctor": "npx @finchtoys/minitools doctor .",
|
|
36
|
+
"icon": "rsvg-convert -w 256 -h 256 -o icon.png docs/icon.svg",
|
|
37
|
+
"prepublishOnly": "npm run typecheck && npm run build && npx @finchtoys/minitools doctor ."
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@finchtoys/minitool-api": "^0.3.2",
|
|
41
|
+
"@types/node": "^26.1.0",
|
|
42
|
+
"dompurify": "^3.2.4",
|
|
43
|
+
"esbuild": "^0.28.1",
|
|
44
|
+
"highlight.js": "^11.11.1",
|
|
45
|
+
"marked": "^15.0.6",
|
|
46
|
+
"typescript": "^6.0.3"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {},
|
|
49
|
+
"files": [
|
|
50
|
+
"dist/",
|
|
51
|
+
"i18n/",
|
|
52
|
+
"icon.png",
|
|
53
|
+
"README.md"
|
|
54
|
+
],
|
|
55
|
+
"finch": {
|
|
56
|
+
"manifestVersion": 1,
|
|
57
|
+
"name": "Session Files",
|
|
58
|
+
"description": "Browse, preview and edit the files in this conversation's folder, without leaving the session.",
|
|
59
|
+
"main": "dist/index.js",
|
|
60
|
+
"activationEvents": [
|
|
61
|
+
"onStartup"
|
|
62
|
+
],
|
|
63
|
+
"miniToolType": "local",
|
|
64
|
+
"categories": [
|
|
65
|
+
"productivity",
|
|
66
|
+
"developer"
|
|
67
|
+
],
|
|
68
|
+
"contributes": {
|
|
69
|
+
"iconPacks": [
|
|
70
|
+
{
|
|
71
|
+
"id": "file-browser-icons",
|
|
72
|
+
"label": "File Browser Icons"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"appPanel": {
|
|
76
|
+
"icon": "file-text",
|
|
77
|
+
"viewType": "sessionFiles.browser",
|
|
78
|
+
"instanceMode": "single",
|
|
79
|
+
"showInLauncher": true,
|
|
80
|
+
"source": {
|
|
81
|
+
"type": "local",
|
|
82
|
+
"path": "dist/panel.html"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"composerActions": [
|
|
86
|
+
{
|
|
87
|
+
"id": "open-file-browser",
|
|
88
|
+
"icon": "file-text",
|
|
89
|
+
"tooltip": "Open session files"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"permissions": {
|
|
94
|
+
"filesystem": "readwrite",
|
|
95
|
+
"network": false
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|