@takeokunn/gbrainx 0.0.0-stage → 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.
Files changed (32) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +38 -2
  3. package/dist/core.mjs +1346 -0
  4. package/dist/gbrainx.mjs +7097 -0
  5. package/dist/web/client/assets/api-BvRk9kiK.js +0 -0
  6. package/dist/web/client/assets/demo-G0WCPBHC.js +10 -0
  7. package/dist/web/client/assets/entry.client-BMJZABtH.js +9 -0
  8. package/dist/web/client/assets/gbrainx-DfnQgPxe.js +49 -0
  9. package/dist/web/client/assets/health-BvRk9kiK.js +0 -0
  10. package/dist/web/client/assets/home-DmjYPYzC.js +7 -0
  11. package/dist/web/client/assets/i18n-CbBRRmtS.js +1 -0
  12. package/dist/web/client/assets/jsx-runtime-C8YK_IxR.js +16 -0
  13. package/dist/web/client/assets/lib-C32AnKSP.js +1 -0
  14. package/dist/web/client/assets/manifest-24d3a028.js +1 -0
  15. package/dist/web/client/assets/root-C-cLqVHP.js +1 -0
  16. package/dist/web/client/assets/root-D4kqIC2S.css +2 -0
  17. package/dist/web/client/assets/root-i18n-_0Yddpt_.js +1 -0
  18. package/dist/web/client/assets/sell-C3y92_D_.js +1 -0
  19. package/dist/web/client/assets/sell-ChG4r-W3.css +1 -0
  20. package/dist/web/client/assets/use-lp-language-ij45BzB4.js +1 -0
  21. package/dist/web/client/avatars/aiko.svg +7 -0
  22. package/dist/web/client/avatars/daniel.svg +7 -0
  23. package/dist/web/client/avatars/ken.svg +7 -0
  24. package/dist/web/client/avatars/leo.svg +7 -0
  25. package/dist/web/client/avatars/yui.svg +7 -0
  26. package/dist/web/client/demo.mp4 +0 -0
  27. package/dist/web/client/favicon.ico +0 -0
  28. package/dist/web/server/assets/cloudflare-context-CIZdXilT.js +3426 -0
  29. package/dist/web/server/assets/rolldown-runtime-nwr4M8im.js +34 -0
  30. package/dist/web/server/assets/server-build-DGFJ8-cb.js +22842 -0
  31. package/dist/web/server/assets/server-build-DarI7Ueq.css +2 -0
  32. package/package.json +9 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 takeokunn
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,39 @@
1
- # Temporary Holding Version
1
+ # @takeokunn/gbrainx
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ GbrainX runs a local app for searching and using knowledge packs. It can import purchased packs into a GBrain folder.
4
+
5
+ ## Start
6
+
7
+ Requires Node.js 22 or later. Run:
8
+
9
+ ```sh
10
+ npx @takeokunn/gbrainx
11
+ ```
12
+
13
+ Open <http://127.0.0.1:4747> in your browser.
14
+
15
+ ## Import a purchased pack
16
+
17
+ First start the local app to initialize its store and purchase a pack. Replace `example-pack` with the purchased pack ID.
18
+
19
+ ```sh
20
+ npx @takeokunn/gbrainx import example-pack --to ~/brain
21
+ ```
22
+
23
+ The destination defaults to `~/brain` when `--to` is omitted. Import stops if a file would conflict with an existing file. Add `--force` to overwrite conflicting files.
24
+
25
+ ## Clear the cache
26
+
27
+ The MCP server caches loaded pack content under `~/.gbrainx/cache/`. To clear it, run:
28
+
29
+ ```sh
30
+ npx @takeokunn/gbrainx cache clear
31
+ ```
32
+
33
+ ## MCP server
34
+
35
+ The separate `@takeokunn/gbrainx-mcp` package connects an MCP client to the local app. Start the local app before using the MCP server.
36
+
37
+ ## License
38
+
39
+ MIT