genai-fs 1.0.8 → 1.0.9
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/dist/index.js +74 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -57155,6 +57155,56 @@ var import_react54 = __toESM(require_react(), 1);
|
|
|
57155
57155
|
// node_modules/@inkjs/ui/build/components/email-input/use-email-input.js
|
|
57156
57156
|
var import_react55 = __toESM(require_react(), 1);
|
|
57157
57157
|
var cursor3 = source_default.inverse(" ");
|
|
57158
|
+
// package.json
|
|
57159
|
+
var package_default = {
|
|
57160
|
+
name: "genai-fs",
|
|
57161
|
+
version: "1.0.9",
|
|
57162
|
+
description: "A terminal-based UI tool for managing Google Gemini FileStore.",
|
|
57163
|
+
type: "module",
|
|
57164
|
+
module: "src/index.tsx",
|
|
57165
|
+
bin: {
|
|
57166
|
+
"genai-fs": "dist/index.js"
|
|
57167
|
+
},
|
|
57168
|
+
scripts: {
|
|
57169
|
+
dev: "bun run src/index.tsx",
|
|
57170
|
+
start: "bun run src/index.tsx",
|
|
57171
|
+
build: "bun build src/index.tsx --outdir dist --target node --format esm --alias:react-devtools-core=./src/stubs/react-devtools-core.js"
|
|
57172
|
+
},
|
|
57173
|
+
files: [
|
|
57174
|
+
"dist"
|
|
57175
|
+
],
|
|
57176
|
+
keywords: [
|
|
57177
|
+
"genai",
|
|
57178
|
+
"gemini",
|
|
57179
|
+
"filestore",
|
|
57180
|
+
"cli",
|
|
57181
|
+
"terminal",
|
|
57182
|
+
"ink",
|
|
57183
|
+
"react"
|
|
57184
|
+
],
|
|
57185
|
+
license: "MIT",
|
|
57186
|
+
repository: {
|
|
57187
|
+
type: "git",
|
|
57188
|
+
url: "https://github.com/bellx2/genai-fs"
|
|
57189
|
+
},
|
|
57190
|
+
dependencies: {
|
|
57191
|
+
"@google/genai": "^1.34.0",
|
|
57192
|
+
"@inkjs/ui": "^2.0.0",
|
|
57193
|
+
ink: "^6.6.0",
|
|
57194
|
+
react: "^19.2.3"
|
|
57195
|
+
},
|
|
57196
|
+
devDependencies: {
|
|
57197
|
+
"@types/bun": "latest",
|
|
57198
|
+
"@types/react": "^19.2.7"
|
|
57199
|
+
},
|
|
57200
|
+
peerDependencies: {
|
|
57201
|
+
typescript: "^5.9.3"
|
|
57202
|
+
},
|
|
57203
|
+
engines: {
|
|
57204
|
+
bun: ">=1.0.0"
|
|
57205
|
+
}
|
|
57206
|
+
};
|
|
57207
|
+
|
|
57158
57208
|
// node_modules/@google/genai/dist/node/index.mjs
|
|
57159
57209
|
init_wrapper();
|
|
57160
57210
|
var import_google_auth_library = __toESM(require_src6(), 1);
|
|
@@ -73620,6 +73670,9 @@ function App2() {
|
|
|
73620
73670
|
}
|
|
73621
73671
|
switch (screen) {
|
|
73622
73672
|
case "api-key-input":
|
|
73673
|
+
if (key.escape) {
|
|
73674
|
+
exit();
|
|
73675
|
+
}
|
|
73623
73676
|
return;
|
|
73624
73677
|
case "file-browser":
|
|
73625
73678
|
case "uploading":
|
|
@@ -73628,8 +73681,14 @@ function App2() {
|
|
|
73628
73681
|
case "deleting":
|
|
73629
73682
|
return;
|
|
73630
73683
|
case "store-create":
|
|
73684
|
+
if (key.escape) {
|
|
73685
|
+
setScreen("store-select");
|
|
73686
|
+
}
|
|
73631
73687
|
return;
|
|
73632
73688
|
case "confirm-store-delete":
|
|
73689
|
+
if (key.escape) {
|
|
73690
|
+
setScreen("store-select");
|
|
73691
|
+
}
|
|
73633
73692
|
return;
|
|
73634
73693
|
case "confirm-delete":
|
|
73635
73694
|
return;
|
|
@@ -73694,12 +73753,21 @@ function App2() {
|
|
|
73694
73753
|
children: [
|
|
73695
73754
|
/* @__PURE__ */ jsx_dev_runtime7.jsxDEV(Box_default, {
|
|
73696
73755
|
marginBottom: 1,
|
|
73697
|
-
children:
|
|
73698
|
-
|
|
73699
|
-
|
|
73700
|
-
|
|
73701
|
-
|
|
73702
|
-
|
|
73756
|
+
children: [
|
|
73757
|
+
/* @__PURE__ */ jsx_dev_runtime7.jsxDEV(Text, {
|
|
73758
|
+
bold: true,
|
|
73759
|
+
color: "cyan",
|
|
73760
|
+
children: "Gemini FileStore Manager"
|
|
73761
|
+
}, undefined, false, undefined, this),
|
|
73762
|
+
/* @__PURE__ */ jsx_dev_runtime7.jsxDEV(Text, {
|
|
73763
|
+
dimColor: true,
|
|
73764
|
+
children: [
|
|
73765
|
+
" v",
|
|
73766
|
+
package_default.version
|
|
73767
|
+
]
|
|
73768
|
+
}, undefined, true, undefined, this)
|
|
73769
|
+
]
|
|
73770
|
+
}, undefined, true, undefined, this),
|
|
73703
73771
|
/* @__PURE__ */ jsx_dev_runtime7.jsxDEV(Box_default, {
|
|
73704
73772
|
marginBottom: 1,
|
|
73705
73773
|
children: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genai-fs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "A terminal-based UI tool for managing Google Gemini FileStore.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "src/index.tsx",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@types/react": "^19.2.7"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"typescript": "^5"
|
|
43
|
+
"typescript": "^5.9.3"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"bun": ">=1.0.0"
|