golem-bridge 2.0.0 → 3.0.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 CHANGED
@@ -4,7 +4,8 @@
4
4
  running the Golem plugin.
5
5
 
6
6
  This repo holds the npm package (the AI side). The Studio plugin itself is
7
- distributed through the Roblox Creator Store, not from here.
7
+ distributed through the Roblox Creator Store; its source is published as
8
+ a file release on this repo's Releases page.
8
9
 
9
10
  ## How it connects
10
11
 
@@ -17,16 +18,25 @@ Connect to my Roblox Studio, Run: npx golem-bridge connect <channelId>
17
18
  The line is a session token: Studio mints a fresh channel on every start
18
19
  and wipes the old one.
19
20
 
20
- The user sends that line to their AI. It downloads this package, which asks
21
- the plugin for its two connection files and stores them under `./.golem/`:
21
+ Best flow: the user runs the line themselves, so the secret never enters
22
+ AI chat, then tells the AI it is connected. Or the user sends the line to
23
+ their AI and it runs it. Either way:
22
24
 
23
25
  ```sh
24
26
  npx golem-bridge connect <channelId>
25
- python3 ./.golem/golem.py ping
26
27
  ```
27
28
 
28
- `ping` should return `"ok": true` plus the open place name. Then the agent
29
- reads `./.golem/golem.md` for the full tool reference.
29
+ verifies Studio is alive, saves the 16-char channel to `./.golem/channel`,
30
+ and prints the tool manual. Nothing else is installed: every command runs
31
+ straight from this package:
32
+
33
+ ```sh
34
+ npx golem-bridge ping
35
+ npx golem-bridge tree --depth 3
36
+ ```
37
+
38
+ `ping` should return `"ok": true` plus the open place name. `manual`
39
+ reprints the reference any time (`help <tool>` explains one tool).
30
40
 
31
41
  After a Studio restart, relink with the new line:
32
42
 
@@ -42,7 +52,8 @@ npx golem-bridge disconnect
42
52
 
43
53
  ## Files
44
54
 
45
- - `cli.js` - source of the `golem-bridge` package
55
+ - `cli.js` - the whole package: session setup plus every Studio tool
56
+ - `golem-tools.md` - the agent manual (printed by `connect` and `manual`)
46
57
  - `package.json` - npm manifest
47
58
 
48
59
  ## Notes
@@ -50,8 +61,14 @@ npx golem-bridge disconnect
50
61
  - Relay: `https://roblox-golem-default-rtdb.firebaseio.com/`. The channel id
51
62
  is the secret. Studio mints a fresh one on every start and wipes the old
52
63
  channel, so a leaked line dies with the session.
53
- - The plugin serves `golem.py` and `golem.md` on demand. They are never
54
- stored on the relay.
64
+ - Only `cli.js` and `golem-tools.md` ship in this package. The relay carries
65
+ small JSON commands and results only, and `connect` writes nothing but
66
+ the 16-char channel id.
67
+ - npm account `skellzy` and GitHub `nickils` are the same person.
68
+
69
+ - Leaked a line mid-session? Settings > END SESSION AND ROTATE CHANNEL
70
+ in the plugin kills it on the spot and issues a new one. (Every Studio
71
+ restart already rotates automatically.)
55
72
 
56
73
  ## Security
57
74
 
@@ -59,10 +76,9 @@ Trust model: whoever holds the channel ID can send commands to that Studio
59
76
  session and read the results. Treat the setup line like a password. It
60
77
  expires on every Studio restart.
61
78
 
62
- - `connect` verifies
63
- Studio is alive over HTTPS and stamps your channel ID into local copies.
64
- Read all three files here before running anything, or fetch with
65
- `--print` to inspect without writing.
79
+ - `connect` verifies Studio is alive over HTTPS, saves the channel id,
80
+ and prints the manual. Read both files here before running anything, or
81
+ pass `--print` to verify without saving.
66
82
  - `connect` only accepts hex channel IDs, talks HTTPS to the relay only
67
83
  (never follows redirects), times out stalled requests, and caps response
68
84
  sizes. The only data it acts on is a small `ping` reply.
@@ -72,3 +88,7 @@ code cannot hold a secret, so any "signed responses" scheme here would be
72
88
  theater rather than security.
73
89
  - Socket.dev flags the "URL strings" in this package (the relay address).
74
90
  That is informational: the relay address is the product.
91
+ - Scanners also flag the Lua execution and editing commands. That is
92
+ what Golem is: your agent driving your own Studio. The session key
93
+ (16 hex chars, rotated every start, revocable in one click) is the
94
+ whole security model.