javascript-solid-server 0.0.201 → 0.0.202
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/MAINTAINERS.md +29 -0
- package/README.md +4 -0
- package/bin/jss.js +8 -2
- package/package.json +1 -1
- package/src/server.js +7 -4
- package/src/tunnel/index.js +8 -0
- package/test/nostr-cid-vm.test.js +6 -3
- package/.claude/scheduled_tasks.lock +0 -1
- package/.claude/settings.local.json +0 -420
package/MAINTAINERS.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Maintainers
|
|
2
|
+
|
|
3
|
+
JSS is maintained by a small group with commit access, working in the open.
|
|
4
|
+
Decisions are recorded in issues and PRs.
|
|
5
|
+
|
|
6
|
+
## Current maintainers
|
|
7
|
+
|
|
8
|
+
| Maintainer | GitHub | Focus |
|
|
9
|
+
|---|---|---|
|
|
10
|
+
| Melvin Carvalho | [@melvincarvalho](https://github.com/melvincarvalho) | Project lead; substrate, releases |
|
|
11
|
+
| John O'Hare | [@jjohare](https://github.com/jjohare) | (onboarding) |
|
|
12
|
+
|
|
13
|
+
See [.github/CODEOWNERS](.github/CODEOWNERS) for path-level review routing.
|
|
14
|
+
|
|
15
|
+
## Process
|
|
16
|
+
|
|
17
|
+
Workflow, code style, and AI-assistance disclosure are covered in
|
|
18
|
+
[CONTRIBUTING.md](CONTRIBUTING.md). Maintainers follow the same workflow
|
|
19
|
+
as other contributors (issue → branch → PR → review → merge).
|
|
20
|
+
|
|
21
|
+
## Becoming a maintainer
|
|
22
|
+
|
|
23
|
+
By invitation of an existing maintainer, after demonstrated substantive
|
|
24
|
+
contribution. No formal vote; existing maintainers make the call and
|
|
25
|
+
update this file.
|
|
26
|
+
|
|
27
|
+
## Security
|
|
28
|
+
|
|
29
|
+
Security disclosures: use [GitHub private security advisories](https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security/advisories/new).
|
package/README.md
CHANGED
|
@@ -145,6 +145,10 @@ Full options: [docs/configuration.md](docs/configuration.md)
|
|
|
145
145
|
npm test
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
+
## Maintainers
|
|
149
|
+
|
|
150
|
+
JSS is maintained by [@melvincarvalho](https://github.com/melvincarvalho) and [@jjohare](https://github.com/jjohare). See [MAINTAINERS.md](MAINTAINERS.md).
|
|
151
|
+
|
|
148
152
|
## License
|
|
149
153
|
|
|
150
154
|
Licensed under [AGPL-3.0](./LICENSE).
|
package/bin/jss.js
CHANGED
|
@@ -87,8 +87,8 @@ program
|
|
|
87
87
|
.option('-c, --config <file>', 'Config file path')
|
|
88
88
|
.option('--ssl-key <path>', 'Path to SSL private key (PEM)')
|
|
89
89
|
.option('--ssl-cert <path>', 'Path to SSL certificate (PEM)')
|
|
90
|
-
.option('--
|
|
91
|
-
.option('--no-
|
|
90
|
+
.option('--multi-user', 'Enable multi-user mode')
|
|
91
|
+
.option('--no-multi-user', 'Disable multi-user mode')
|
|
92
92
|
.option('--conneg', 'Enable content negotiation (Turtle support)')
|
|
93
93
|
.option('--no-conneg', 'Disable content negotiation')
|
|
94
94
|
.option('--notifications', 'Enable WebSocket notifications')
|
|
@@ -159,6 +159,12 @@ program
|
|
|
159
159
|
.option('--print-config', 'Print configuration and exit')
|
|
160
160
|
.action(async (options) => {
|
|
161
161
|
try {
|
|
162
|
+
// Normalize --multi-user (Commander camelCase: multiUser) to internal key
|
|
163
|
+
if (options.multiUser !== undefined) {
|
|
164
|
+
options.multiuser = options.multiUser;
|
|
165
|
+
delete options.multiUser;
|
|
166
|
+
}
|
|
167
|
+
|
|
162
168
|
const config = await loadConfig(options, options.config);
|
|
163
169
|
|
|
164
170
|
// Set DATA_ROOT env var so all modules use the same data directory
|
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -1067,12 +1067,15 @@ export function createServer(options = {}) {
|
|
|
1067
1067
|
password = password.slice(0, -1);
|
|
1068
1068
|
return;
|
|
1069
1069
|
}
|
|
1070
|
-
// Only accept printable input —
|
|
1071
|
-
//
|
|
1072
|
-
// sneak invisible bytes into the password buffer.
|
|
1070
|
+
// Only accept printable input — reject C0/C1 control codes, so
|
|
1071
|
+
// escape sequences from arrow keys, function keys, etc. don't
|
|
1072
|
+
// sneak invisible bytes into the password buffer. Uses an explicit
|
|
1073
|
+
// ASCII/C1 control range rather than the \p{C} Unicode property
|
|
1074
|
+
// escape, which requires a full-ICU build and throws at parse time
|
|
1075
|
+
// on no-ICU runtimes (e.g. nodejs-mobile). See #520.
|
|
1073
1076
|
if (!key.ctrl && !key.meta &&
|
|
1074
1077
|
typeof str === 'string' && str.length > 0 &&
|
|
1075
|
-
|
|
1078
|
+
/^[^\u0000-\u001f\u007f-\u009f]+$/.test(str)) {
|
|
1076
1079
|
password += str;
|
|
1077
1080
|
}
|
|
1078
1081
|
};
|
package/src/tunnel/index.js
CHANGED
|
@@ -57,6 +57,14 @@ export async function tunnelPlugin(fastify, options = {}) {
|
|
|
57
57
|
fastify.get(wsPath, { websocket: true }, async (connection, request) => {
|
|
58
58
|
const socket = connection.socket;
|
|
59
59
|
|
|
60
|
+
// Browser WebSockets can't set an Authorization header, so accept the
|
|
61
|
+
// bearer token as a ?token= query param too — mirrors the /.webrtc
|
|
62
|
+
// endpoint. Lets browser-based tunnel clients authenticate. (#528)
|
|
63
|
+
const queryToken = request.query?.token;
|
|
64
|
+
if (queryToken && !request.headers.authorization) {
|
|
65
|
+
request.headers.authorization = `Bearer ${queryToken}`;
|
|
66
|
+
}
|
|
67
|
+
|
|
60
68
|
// Authenticate
|
|
61
69
|
const { webId } = await getWebIdFromRequestAsync(request);
|
|
62
70
|
if (!webId) {
|
|
@@ -210,9 +210,12 @@ describe('NIP-98 + CID verificationMethod lookup (#399)', () => {
|
|
|
210
210
|
|
|
211
211
|
it('rejects a JWK with the right x but wrong y (curve-point integrity)', async () => {
|
|
212
212
|
const goodJwk = evenYJwk(pk);
|
|
213
|
-
//
|
|
214
|
-
//
|
|
215
|
-
|
|
213
|
+
// Force y = 0 (43 'A's = 32 zero bytes). (x, 0) is on secp256k1
|
|
214
|
+
// iff x³ ≡ -7 mod p, which has exactly 3 solutions in ~2²⁵⁶ — so
|
|
215
|
+
// for any practical x this is provably off-curve. Avoids the flake
|
|
216
|
+
// where a single-char flip in y was either a base64url padding-bit
|
|
217
|
+
// no-op or, far more rarely, landed on the negation -y mod p.
|
|
218
|
+
const badJwk = { ...goodJwk, y: 'A'.repeat(43) };
|
|
216
219
|
nextProfile = buildProfile({ pubkey: pk, jwk: badJwk });
|
|
217
220
|
const url = `https://${POD_HOST}/private/data.ttl`;
|
|
218
221
|
const { authHeader } = nip98Authorization({ method: 'GET', url, secretKey: sk });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"sessionId":"a05da419-92b7-4056-93b8-e97b2035d4ae","pid":3932382,"procStart":"114094236","acquiredAt":1778317500161}
|
|
@@ -1,420 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"WebSearch",
|
|
5
|
-
"WebFetch(domain:github.com)",
|
|
6
|
-
"WebFetch(domain:raw.githubusercontent.com)",
|
|
7
|
-
"Bash(cat:*)",
|
|
8
|
-
"WebFetch(domain:www.inrupt.com)",
|
|
9
|
-
"Bash(npm install:*)",
|
|
10
|
-
"Bash(timeout 3 node:*)",
|
|
11
|
-
"Bash(PORT=3030 timeout 3 node:*)",
|
|
12
|
-
"Bash(git commit:*)",
|
|
13
|
-
"Bash(pkill:*)",
|
|
14
|
-
"Bash(curl:*)",
|
|
15
|
-
"Bash(npm test:*)",
|
|
16
|
-
"Bash(git add:*)",
|
|
17
|
-
"WebFetch(domain:solid.github.io)",
|
|
18
|
-
"Bash(node:*)",
|
|
19
|
-
"WebFetch(domain:solidservers.org)",
|
|
20
|
-
"WebFetch(domain:solid-contrib.github.io)",
|
|
21
|
-
"Bash(git clone:*)",
|
|
22
|
-
"Bash(chmod:*)",
|
|
23
|
-
"Bash(JSS_PORT=4000 JSS_CONNEG=true node bin/jss.js:*)",
|
|
24
|
-
"Bash(find:*)",
|
|
25
|
-
"Bash(timeout 5 node:*)",
|
|
26
|
-
"Bash(npm view:*)",
|
|
27
|
-
"Bash(npm ls:*)",
|
|
28
|
-
"Bash(timeout 10 node:*)",
|
|
29
|
-
"Bash(npm run test:cth:*)",
|
|
30
|
-
"Bash(__NEW_LINE__ curl -s -X POST http://localhost:4000/.pods )",
|
|
31
|
-
"Bash(lsof:*)",
|
|
32
|
-
"Bash(xargs kill -9)",
|
|
33
|
-
"Bash(docker:*)",
|
|
34
|
-
"Bash(solidproject/conformance-test-harness )",
|
|
35
|
-
"Bash(timeout 30 node:*)",
|
|
36
|
-
"Bash(timeout 20 node:*)",
|
|
37
|
-
"Bash(timeout 25 node:*)",
|
|
38
|
-
"Bash(JSS_PORT=4000 JSS_CONNEG=true timeout 5 node:*)",
|
|
39
|
-
"Bash(pgrep:*)",
|
|
40
|
-
"Bash(python3:*)",
|
|
41
|
-
"Bash(ls:*)",
|
|
42
|
-
"Bash(timeout 15 node:*)",
|
|
43
|
-
"Bash(echo 'No .idp folder' echo find /home/melvin/remote/github.com/JavaScriptSolidServer/JavaScriptSolidServer/data/.idp/ -name *.json)",
|
|
44
|
-
"Bash(echo '=== Interactions ===' ls -la /home/melvin/remote/github.com/JavaScriptSolidServer/JavaScriptSolidServer/data/.idp/interaction/ echo echo '=== Latest interaction ===' cat /home/melvin/remote/github.com/JavaScriptSolidServer/JavaScriptSolidServer/data/.idp/interaction/*.json)",
|
|
45
|
-
"Bash(1 echo \"\" echo \"=== Server errors ===\" grep -E \"(error|Error)\" /tmp/jss.log)",
|
|
46
|
-
"Bash(echo 'Server not ready' curl -s -X POST http://localhost:4000/.pods -H 'Content-Type: application/json' -d {\"\"name\"\":\"\"alice\"\",\"\"email\"\":\"\"alice@example.com\"\",\"\"password\"\":\"\"alicepassword123\"\"})",
|
|
47
|
-
"Bash(head -1 curl -s -X POST http://localhost:4000/.pods -H \"Content-Type: application/json\" -d '{\"\"\"\"name\"\"\"\":\"\"\"\"bob\"\"\"\",\"\"\"\"email\"\"\"\":\"\"\"\"bob@example.com\"\"\"\",\"\"\"\"password\"\"\"\":\"\"\"\"bobpassword123\"\"\"\"}')",
|
|
48
|
-
"Bash(xargs:*)",
|
|
49
|
-
"Bash(fuser:*)",
|
|
50
|
-
"Bash(kill:*)",
|
|
51
|
-
"Bash(ACCESS_TOKEN=\"eyJhbGciOiJFUzI1NiIsImtpZCI6IjQwY2U0YzIzLWY2OWQtNDU4NS05ODg2LTE4MDQzZWIyZjU2ZCJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjQwMDAvIiwic3ViIjoiYjhlZjY5YWUtODc0ZS00MDg5LThiMDktOGQwY2QyM2VlZWY3IiwiYXVkIjoic29saWQiLCJ3ZWJpZCI6Imh0dHA6Ly9sb2NhbGhvc3Q0MDAwL2FsaWNlLyNtZSIsImlhdCI6MTc2NjgyOTQ5MiwiZXhwIjoxNzY2ODMzMDkyLCJqdGkiOiIwMWY4ODVlZS05ZjY2LTQ3M2MtYmZkNC05MWM4ZGU3NGJhZjYiLCJjbGllbnRfaWQiOiJjcmVkZW50aWFsc19jbGllbnQiLCJzY29wZSI6Im9wZW5pZCB3ZWJpZCJ9.DYTlSRkORyDN28XtXk-zbR7xNLViD97KkPqUKb6chV860BaIgwa1suif4TxHQDnK_ejvbvmZ46_n5WwwRnf_Zw\" curl -sI -X PUT http://localhost:4000/alice/cth-test/ -H \"Content-Type: text/turtle\" -H \"Authorization: Bearer $ACCESS_TOKEN\")",
|
|
52
|
-
"Bash(timeout 60 docker run:*)",
|
|
53
|
-
"Bash(rm:*)",
|
|
54
|
-
"Bash(mkdir:*)",
|
|
55
|
-
"WebFetch(domain:communitysolidserver.github.io)",
|
|
56
|
-
"WebFetch(domain:solidos.github.io)",
|
|
57
|
-
"WebFetch(domain:solidcommunity.net)",
|
|
58
|
-
"WebFetch(domain:www.npmjs.com)",
|
|
59
|
-
"Bash(pm2 list:*)",
|
|
60
|
-
"Bash(pm2 logs:*)",
|
|
61
|
-
"Bash(pm2 restart:*)",
|
|
62
|
-
"Bash(timeout 60 npm test:*)",
|
|
63
|
-
"Bash(pm2 stop:*)",
|
|
64
|
-
"Bash(pm2 delete:*)",
|
|
65
|
-
"Bash(pm2 start:*)",
|
|
66
|
-
"Bash(DATA_ROOT=/home/melvin/jss/data pm2 start:*)",
|
|
67
|
-
"Bash(pm2 save:*)",
|
|
68
|
-
"Bash(gh issue create:*)",
|
|
69
|
-
"Bash(gh issue view:*)",
|
|
70
|
-
"Bash(gh issue edit:*)",
|
|
71
|
-
"WebFetch(domain:nostrcg.github.io)",
|
|
72
|
-
"WebFetch(domain:melvincarvalho.github.io)",
|
|
73
|
-
"WebFetch(domain:dev.to)",
|
|
74
|
-
"WebFetch(domain:solidproject.org)",
|
|
75
|
-
"WebFetch(domain:www.w3.org)",
|
|
76
|
-
"Bash(wc:*)",
|
|
77
|
-
"Bash(TOKEN=\"eyJraW5kIjoyNzIzNSwidGFncyI6W1sidSIsImh0dHA6Ly9sb2NhbGhvc3Q6NDAwMC9kZW1vL25vc3RyLXpvbmUvIl0sWyJtZXRob2QiLCJHRVQiXV0sImNyZWF0ZWRfYXQiOjE3NjY5MzQ1NjksImNvbnRlbnQiOiIiLCJwdWJrZXkiOiI4OTg5OWNmOWEyNGE5ZTdlMTNmODU3MGRkMGI1MmJiOTQyMjllNDI2OGM1MGQ1OWZhNjdhMzQ0MGQ0NmFhZTdkIiwiaWQiOiJiNTUyMDUyOTVmYmQwYzhjZDYwMzk1NTgwOWYxZGM5Y2MwMjdlY2U4N2NjYmNlNzcwNWY2MjdmNmQ0ODk1MGJkIiwic2lnIjoiOWYzN2Y0NzIyZDlkNmFmZGQ5OTNkYTM0MDg2MWQ2YzQ4MmY1NzQ1MmFmZTIwZmY2YmI5OTAxNGIwOTU3NjUwMWZiNTgyZjEzNzNlZmVhNjI4ZDI5ZjlhMzhmZTgyODU0ODlmMzAzYzlmYmJjYWE0OTQxZjUyZGZlMWYxNzVkOWMifQ==\")",
|
|
78
|
-
"WebFetch(domain:solid-lite.org)",
|
|
79
|
-
"Bash(git push:*)",
|
|
80
|
-
"WebFetch(domain:linkedwebstorage.com)",
|
|
81
|
-
"WebFetch(domain:w3c.github.io)",
|
|
82
|
-
"WebFetch(domain:socialdocs.org)",
|
|
83
|
-
"WebFetch(domain:nosdav.com)",
|
|
84
|
-
"WebFetch(domain:sandy-mount.com)",
|
|
85
|
-
"WebFetch(domain:ditto.pub)",
|
|
86
|
-
"WebFetch(domain:blocktrails.org)",
|
|
87
|
-
"WebFetch(domain:microfed.org)",
|
|
88
|
-
"WebFetch(domain:soliddocs.org)",
|
|
89
|
-
"WebFetch(domain:agenticalliance.com)",
|
|
90
|
-
"WebFetch(domain:activitypub.rocks)",
|
|
91
|
-
"WebFetch(domain:nostrgit.org)",
|
|
92
|
-
"Bash(convert:*)",
|
|
93
|
-
"WebFetch(domain:instantdomainsearch.com)",
|
|
94
|
-
"Bash(for domain in jss.dev jss.sh jss.io jss.app solidserver.dev solid-server.dev)",
|
|
95
|
-
"Bash(do echo -n '$domain: ')",
|
|
96
|
-
"Bash(whois $domain)",
|
|
97
|
-
"Bash(done)",
|
|
98
|
-
"Bash(for domain in jss.dev jss.sh jss.io jss.app solidserver.dev)",
|
|
99
|
-
"Bash(host:*)",
|
|
100
|
-
"WebFetch(domain:nostr-components.github.io)",
|
|
101
|
-
"Bash(ssh melvincarvalho.com \"pm2 list && echo ''---HAPROXY---'' && cat /etc/haproxy/haproxy.cfg 2>/dev/null | grep -A5 ''melvin\\|backend\\|frontend\\|acl host''\")",
|
|
102
|
-
"Bash(ssh:*)",
|
|
103
|
-
"Bash(time curl -s --connect-timeout 10 https://melvin.solid.live/credit/count.ttl)",
|
|
104
|
-
"Bash(time curl -s --connect-timeout 10 https://melvin.solid.live/)",
|
|
105
|
-
"Bash(time curl:*)",
|
|
106
|
-
"Bash(time curl -s 'https://melvin.solid.live/credit/count.ttl')",
|
|
107
|
-
"Bash(grep:*)",
|
|
108
|
-
"Bash(scp:*)",
|
|
109
|
-
"Bash(for i in 1 2 3)",
|
|
110
|
-
"Bash(do echo \"Attempt $i:\")",
|
|
111
|
-
"Bash(for i in 1 2 3 4 5)",
|
|
112
|
-
"Bash(do curl -so /dev/null -w \"%{http_code} \" https://melvincarvalho.com/js/handlemutation.js)",
|
|
113
|
-
"Bash(for i in 1 2 3 4 5 6 7 8 9 10)",
|
|
114
|
-
"Bash(if [ ! -d \"jose\" ])",
|
|
115
|
-
"Bash(then git clone --depth 1 --branch v0.7.0 https://github.com/solid/jose.git)",
|
|
116
|
-
"Bash(fi)",
|
|
117
|
-
"Bash(timeout 45 node:*)",
|
|
118
|
-
"Bash(gh issue list:*)",
|
|
119
|
-
"Bash(DATA_ROOT=/tmp/jss-git-test JSS_PORT=4444 timeout 3 node:*)",
|
|
120
|
-
"Bash(pm2 show:*)",
|
|
121
|
-
"Bash(git config:*)",
|
|
122
|
-
"Bash(npm version:*)",
|
|
123
|
-
"Bash(git init:*)",
|
|
124
|
-
"Bash(gh repo create:*)",
|
|
125
|
-
"Bash(./bin/git-credential-nostr generate:*)",
|
|
126
|
-
"Bash(./bin/git-credential-nostr get:*)",
|
|
127
|
-
"Bash(git-credential-nostr:*)",
|
|
128
|
-
"Bash(git branch:*)",
|
|
129
|
-
"Bash(GIT_TRACE=1 GIT_CURL_VERBOSE=1 git push:*)",
|
|
130
|
-
"Bash(GIT_CURL_VERBOSE=1 git push:*)",
|
|
131
|
-
"Bash(git reset:*)",
|
|
132
|
-
"Bash(echo:*)",
|
|
133
|
-
"Bash(unset DATA_ROOT)",
|
|
134
|
-
"Bash(timeout 30 npm test:*)",
|
|
135
|
-
"Bash(/home/melvin/remote/github.com/JavaScriptSolidServer/git-credential-nostr/bin/git-credential-nostr acl:*)",
|
|
136
|
-
"Bash(npm cache clean:*)",
|
|
137
|
-
"Bash(git checkout:*)",
|
|
138
|
-
"Bash(gh gist edit:*)",
|
|
139
|
-
"Bash(gh gist view:*)",
|
|
140
|
-
"Bash(./bin/git-credential-nostr acl:*)",
|
|
141
|
-
"Bash(DATA_ROOT=/tmp/jss-git-test/data node:*)",
|
|
142
|
-
"Bash(git remote set-url:*)",
|
|
143
|
-
"Bash(for:*)",
|
|
144
|
-
"Bash(if [ ! -d \"node-solid-server\" ])",
|
|
145
|
-
"Bash(then git clone --depth 1 https://github.com/nodeSolidServer/node-solid-server.git)",
|
|
146
|
-
"Bash(node test-local-nss2.js:*)",
|
|
147
|
-
"Bash(npm test)",
|
|
148
|
-
"Bash(repos.json)",
|
|
149
|
-
"Bash(*.log)",
|
|
150
|
-
"Bash(node --check:*)",
|
|
151
|
-
"Bash(gh repo view:*)",
|
|
152
|
-
"Bash(noskey --help:*)",
|
|
153
|
-
"Bash(npx noskey --help:*)",
|
|
154
|
-
"Bash(noskey:*)",
|
|
155
|
-
"Bash(node -e:*)",
|
|
156
|
-
"Bash(node src/publish.js:*)",
|
|
157
|
-
"Bash(git remote add:*)",
|
|
158
|
-
"Bash(git fetch:*)",
|
|
159
|
-
"Bash(git rev-parse:*)",
|
|
160
|
-
"Bash(f502f06c1d7553f4b7159e8d57a1e14819dc3053b59399e080882cc8e6bb62ad )",
|
|
161
|
-
"Bash(798715377357003683b979b41c5d99c0312e6e788d789f0d5df710465483aa3e )",
|
|
162
|
-
"Bash(f810e7491da3390109ddc13a74a1fff985ba3a4735024f2b714c12d213f5ea11 )",
|
|
163
|
-
"Bash(1 )",
|
|
164
|
-
"Bash(911912000 )",
|
|
165
|
-
"Bash(4ccef8c68cf18f8f156a0bb017dfd6e0cc7ebf1672fa2d769e02e2efc700328b 1000000 )",
|
|
166
|
-
"Bash(798715377357003683b979b41c5d99c0312e6e788d789f0d5df710465483aa3e 910911000 )",
|
|
167
|
-
"Bash(~/.gitmark/faucet.txt)",
|
|
168
|
-
"Bash(blocktrails --version:*)",
|
|
169
|
-
"Bash(blocktrails --help:*)",
|
|
170
|
-
"Bash(blocktrails show:*)",
|
|
171
|
-
"Bash(git restore:*)",
|
|
172
|
-
"Bash(npm show:*)",
|
|
173
|
-
"WebFetch(domain:gitlab.com)",
|
|
174
|
-
"Bash(gh repo edit:*)",
|
|
175
|
-
"WebFetch(domain:blocktrails.github.io)",
|
|
176
|
-
"Bash(jq:*)",
|
|
177
|
-
"Bash(SOLID_SYNC=true timeout 45 node:*)",
|
|
178
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm status)",
|
|
179
|
-
"Bash(SOLID_SYNC=true ANCHOR=true timeout 8 node:*)",
|
|
180
|
-
"Bash(SOLID_SYNC=true ANCHOR=true node:*)",
|
|
181
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm diff src/watcher.js)",
|
|
182
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm add src/watcher.js)",
|
|
183
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm commit -m \"$\\(cat <<''EOF''\nAdd transfer API and HTTP 402 middleware\n\n- Add POST /transfer endpoint for user-to-user token transfers\n- Add verify402Payment middleware for token-gated APIs\n- Add GET /api/quote demo endpoint \\(costs 1 GSAT\\)\n- Add GET /balance/:did and GET /state endpoints\n- Fix anchor function to use encodeBech32m for address derivation\n- Remove OP_RETURN from anchor tx \\(state hash stored in state.json\\)\nEOF\n\\)\")",
|
|
184
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm push)",
|
|
185
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm add demo.html src/watcher.js debug.html paywall.html transfer.html)",
|
|
186
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm commit -m \"$\\(cat <<''EOF''\nAdd NIP-98 paywall, transfer, withdraw, and debug pages\n\n- Implement NIP-98 \\(kind 27235\\) for HTTP 402 authentication\n- Add paywall.html demo page showing NIP-98 flow\n- Add transfer.html for user-to-user GSAT transfers\n- Add debug.html with anchors, state, verify, withdraw, and users tabs\n- Add POST /withdraw endpoint for sats → Bitcoin address\n- Add navigation to demo.html linking all pages\nEOF\n\\)\")",
|
|
187
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm add test-amm.mjs package.json)",
|
|
188
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm commit -m \"$\\(cat <<''EOF''\nAdd AMM tests for math, signatures, and NIP-98\n\n- AMM math tests \\(calculateGsatOut, calculateSatsOut, slippage, k invariant\\)\n- Signature verification tests \\(sell, transfer, withdraw requests\\)\n- NIP-98 event creation, verification, and encoding tests\n- Update package.json with test script\nEOF\n\\)\")",
|
|
189
|
-
"Bash(SOLID_SYNC=true node src/watcher.js:*)",
|
|
190
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm add demo.html src/watcher.js)",
|
|
191
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm commit -m \"$\\(cat <<''EOF''\nAdd smart polling with manual deposit check\n\n- Change poll interval from 30s to 10 minutes\n- Add POST /check endpoint for manual deposit scan\n- Add 10-second rate limit between manual checks\n- Add \"Check Deposits\" button to demo.html\nEOF\n\\)\")",
|
|
192
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm add:*)",
|
|
193
|
-
"Bash(git -C /home/melvin/remote/github.com/blocktrails/gitmark-amm commit -m \"Use blocktrails npm package instead of local path\")",
|
|
194
|
-
"Bash(for addr in tb1pdypd4k38q4x0qz5x7hqavjhfpgt2n4tm0egggx587aafqn3wsnds8gm3yf tb1pqxmrkvuyea9v7vv323tmptjfle5tj9y6cpe5g8wqvlz6d5xmfhlqctx7py tb1p0fv2683x2j5htf9n7fkpmxsy4h7yuxmetelq2c6vp8u2zw9rhp2s5kha7v)",
|
|
195
|
-
"Bash(do echo -n \"$addr: \" curl -s \"https://mempool.space/testnet4/api/address/$addr\")",
|
|
196
|
-
"WebFetch(domain:webledgers.org)",
|
|
197
|
-
"Bash(npm pack:*)",
|
|
198
|
-
"Bash(npm info:*)",
|
|
199
|
-
"Bash(tar:*)",
|
|
200
|
-
"Bash(TEST_API=1 API_URL=https://api.solid.social node:*)",
|
|
201
|
-
"Bash(webledgers show:*)",
|
|
202
|
-
"Bash(webledgers set-balance:*)",
|
|
203
|
-
"Bash(ssh melvincarvalho.com \"pm2 list | grep jss\")",
|
|
204
|
-
"Bash(ssh melvincarvalho.com \"cd /home/ubuntu/jss && git pull && pm2 restart jss\")",
|
|
205
|
-
"WebFetch(domain:registry.npmjs.org)",
|
|
206
|
-
"WebFetch(domain:solid-chat.com)",
|
|
207
|
-
"WebFetch(domain:developer.chrome.com)",
|
|
208
|
-
"WebFetch(domain:css-tricks.com)",
|
|
209
|
-
"Bash(node bin/jss.js:*)",
|
|
210
|
-
"WebFetch(domain:nostr.social)",
|
|
211
|
-
"Bash(xargs curl -s)",
|
|
212
|
-
"Bash(ssh phone:*)",
|
|
213
|
-
"Bash(dig:*)",
|
|
214
|
-
"WebFetch(domain:fonstr.com)",
|
|
215
|
-
"Bash(node -e \"import\\(''nostr-tools''\\).then\\(m => console.log\\(Object.keys\\(m\\).join\\(''\\\\n''\\)\\)\\)\":*)",
|
|
216
|
-
"Bash(gh repo list:*)",
|
|
217
|
-
"Bash(gh search:*)",
|
|
218
|
-
"Bash(__NEW_LINE__ echo \"\")",
|
|
219
|
-
"WebFetch(domain:webfinger.net)",
|
|
220
|
-
"Bash(npm update:*)",
|
|
221
|
-
"Bash(timeout 8 node:*)",
|
|
222
|
-
"Bash(gh pr view:*)",
|
|
223
|
-
"Bash(gh pr diff:*)",
|
|
224
|
-
"Bash(gh pr review:*)",
|
|
225
|
-
"Bash(gh api:*)",
|
|
226
|
-
"Bash(gh pr comment:*)",
|
|
227
|
-
"Bash(git pull:*)",
|
|
228
|
-
"Bash(gh pr:*)",
|
|
229
|
-
"Bash(node --test:*)",
|
|
230
|
-
"Bash(TOKEN_SECRET=test node --test:*)",
|
|
231
|
-
"Bash(gh search issues:*)",
|
|
232
|
-
"Bash(timeout 60 bash:*)",
|
|
233
|
-
"Bash(timeout 90 bash -c:*)",
|
|
234
|
-
"Bash(git commit -m \"$\\(cat <<''EOF''\nsecurity: add ACL check on WebSocket subscription requests\n\nCheck WAC read permission before allowing subscription to prevent\ninformation leakage via notifications. Unauthorized subscriptions\nnow receive ''err <url> forbidden'' response.\n\nSecurity improvements:\n- Check ACL read access before allowing subscription\n- Validate URLs are on this server \\(prevents SSRF-like probing\\)\n- Add subscription limit and URL length validation\n\nFixes #62\nEOF\n\\)\")",
|
|
235
|
-
"Bash(gh repo fork:*)",
|
|
236
|
-
"Bash(timeout 180 npm test:*)",
|
|
237
|
-
"Bash(git show:*)",
|
|
238
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server log --oneline -30 -- \"test/integration/acl-tls-test.mjs\" \"test-esm/integration/acl-tls-test.js\")",
|
|
239
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server log --oneline --follow -30 -- \"test/integration/acl-tls-test.mjs\")",
|
|
240
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server show 778095ad --stat)",
|
|
241
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server show 778095ad)",
|
|
242
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server show b183c7a0)",
|
|
243
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server log --oneline --before=\"2019-10-29\" --after=\"2019-10-01\" -20)",
|
|
244
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server show 1a92a912 --stat)",
|
|
245
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server log --oneline --all --grep=jaxoncreed)",
|
|
246
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server log --oneline --author=\"jaxoncreed\" -30)",
|
|
247
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server log --oneline --author=\"[Dd]mitri\" -20)",
|
|
248
|
-
"Bash(git -C /home/melvin/remote/github.com/nodeSolidServer/node-solid-server log --oneline --all --grep=\"oidc\" -20)",
|
|
249
|
-
"Bash(npm install)",
|
|
250
|
-
"Bash(timeout 60 npx mocha:*)",
|
|
251
|
-
"Bash(timeout 120 npx mocha:*)",
|
|
252
|
-
"Bash(timeout 30 npx mocha:*)",
|
|
253
|
-
"Bash(openssl x509:*)",
|
|
254
|
-
"Bash(gh pr checks:*)",
|
|
255
|
-
"Bash(gh run view:*)",
|
|
256
|
-
"Bash(gh pr edit:*)",
|
|
257
|
-
"WebFetch(domain:patch-diff.githubusercontent.com)",
|
|
258
|
-
"Bash(git rebase:*)",
|
|
259
|
-
"Bash(timeout 10 npm start)",
|
|
260
|
-
"Bash(node bin/jss.js start:*)",
|
|
261
|
-
"Bash(ssh solid.social \"cd /var/www/jss && git pull && pm2 restart jss\")",
|
|
262
|
-
"Bash(ssh solid.social:*)",
|
|
263
|
-
"Bash(git -C /tmp/lws-server log --oneline --all -20)",
|
|
264
|
-
"Bash(git -C /tmp/lws-server branch -a)",
|
|
265
|
-
"Bash(git -C /tmp/lws-server show-branch -a)",
|
|
266
|
-
"WebFetch(domain:web-platform-tests.org)",
|
|
267
|
-
"Bash(file:*)",
|
|
268
|
-
"WebFetch(domain:karate.apache.org)",
|
|
269
|
-
"WebFetch(domain:restfulapi.net)",
|
|
270
|
-
"Bash(npm run test:jss:*)",
|
|
271
|
-
"Bash(node /home/melvin/remote/github.com/JavaScriptSolidServer/JavaScriptSolidServer/bin/jss.js start:*)",
|
|
272
|
-
"Bash(VERBOSE=true npm run test:jss:*)",
|
|
273
|
-
"Bash(npm whoami:*)",
|
|
274
|
-
"Bash(node bin/lws-test.js:*)",
|
|
275
|
-
"Bash(timeout 2 node:*)",
|
|
276
|
-
"Bash(node index.js:*)",
|
|
277
|
-
"Bash(timeout 3 npx lws-server@0.0.3:*)",
|
|
278
|
-
"Bash(npx lws-server@0.0.3)",
|
|
279
|
-
"Bash(node /tmp/jssd/verify-spacing.js:*)",
|
|
280
|
-
"Bash(gh run list:*)",
|
|
281
|
-
"Bash(pm2 startup:*)",
|
|
282
|
-
"Bash(npm run build:*)",
|
|
283
|
-
"Bash(npx esbuild:*)",
|
|
284
|
-
"Bash(gzip:*)",
|
|
285
|
-
"Bash(sort:*)",
|
|
286
|
-
"Bash(echo __NEW_LINE_496cf3994d374e5c__ echo '1. jsonld \\(277 KB\\) - used by:' grep -r \"from ['''']jsonld\" src/ --include=*.ts --include=*.js 2)",
|
|
287
|
-
"Bash(/dev/null __NEW_LINE_496cf3994d374e5c__ echo echo '2. readable-stream \\(180 KB\\) - used by:' grep -r readable-stream node_modules/n3/package.json node_modules/jsonld/package.json)",
|
|
288
|
-
"Bash(head -3 __NEW_LINE_496cf3994d374e5c__ echo echo '3. n3 \\(156 KB\\) - used by:' grep -r \"from ['''']n3\" src/ --include=*.ts --include=*.js 2)",
|
|
289
|
-
"Bash(/dev/null __NEW_LINE_496cf3994d374e5c__ echo echo '4. @xmldom/xmldom \\(136 KB\\) - used by:' grep -r xmldom src/ --include=*.ts --include=*.js 2)",
|
|
290
|
-
"Bash(/dev/null __NEW_LINE_496cf3994d374e5c__ echo echo '5. @frogcat/ttl2jsonld \\(135 KB\\) - used by:' grep -r ttl2jsonld src/ --include=*.ts --include=*.js)",
|
|
291
|
-
"Bash(echo \"\" __NEW_LINE_b9f7c85f1ada8a30__ echo \"1. jsonld \\(277 KB\\):\" grep -rn \"jsonld\" src/ --include=\"*.ts\" --include=\"*.js\")",
|
|
292
|
-
"Bash(head -5 __NEW_LINE_b9f7c85f1ada8a30__ echo \"\" echo \"2. n3 \\(156 KB\\):\" grep -rn \"from ''''n3''''\" src/ --include=\"*.ts\" --include=\"*.js\")",
|
|
293
|
-
"Bash(head -5 __NEW_LINE_b9f7c85f1ada8a30__ echo \"\" echo \"3. @xmldom \\(136 KB\\):\" grep -rn \"xmldom\" src/ --include=\"*.ts\" --include=\"*.js\")",
|
|
294
|
-
"Bash(head -5 __NEW_LINE_b9f7c85f1ada8a30__ echo \"\" echo \"4. @frogcat/ttl2jsonld \\(135 KB\\):\" grep -rn \"ttl2jsonld\" src/ --include=\"*.ts\" --include=\"*.js\")",
|
|
295
|
-
"Bash(head -5 __NEW_LINE_b9f7c85f1ada8a30__ echo \"\" echo \"5. cross-fetch \\(20 KB\\):\" grep -rn \"cross-fetch\" src/ --include=\"*.ts\" --include=\"*.js\")",
|
|
296
|
-
"Bash(head -5 __NEW_LINE_b9f7c85f1ada8a30__ echo \"\" echo \"6. solid-namespace \\(3 KB\\):\" grep -rn \"solid-namespace\" src/ --include=\"*.ts\" --include=\"*.js\")",
|
|
297
|
-
"Bash(echo __NEW_LINE_fbfd1802fc51eb60__ echo '1. jsonld \\(277 KB\\):' grep -n jsonld src/*.ts src/*.js)",
|
|
298
|
-
"Bash(grep -E \"import|require\" __NEW_LINE_fbfd1802fc51eb60__ echo echo '2. n3 \\(156 KB\\):' grep -n ''n3'' src/*.ts src/*.js)",
|
|
299
|
-
"Bash(grep -E \"import|require\" __NEW_LINE_fbfd1802fc51eb60__ echo echo '3. @xmldom \\(136 KB\\):' grep -n xmldom src/*.ts src/*.js)",
|
|
300
|
-
"Bash(grep -E \"import|require\" __NEW_LINE_fbfd1802fc51eb60__ echo echo '4. @frogcat/ttl2jsonld \\(135 KB\\):' grep -n ttl2jsonld src/*.ts src/*.js)",
|
|
301
|
-
"Bash(grep -E \"import|require\" __NEW_LINE_fbfd1802fc51eb60__ echo echo '5. cross-fetch \\(20 KB\\):' grep -n cross-fetch src/*.ts src/*.js)",
|
|
302
|
-
"Bash(grep -E \"import|require\" __NEW_LINE_fbfd1802fc51eb60__ echo echo '6. solid-namespace \\(3 KB\\):' grep -n solid-namespace src/*.ts src/*.js)",
|
|
303
|
-
"Bash(npm run build:all:*)",
|
|
304
|
-
"Bash(git status:*)",
|
|
305
|
-
"Bash(npm run lint-fix:*)",
|
|
306
|
-
"Bash(npm uninstall:*)",
|
|
307
|
-
"Bash(npm search:*)",
|
|
308
|
-
"Bash(npm run lint:*)",
|
|
309
|
-
"Bash(npm run typecheck:*)",
|
|
310
|
-
"Bash(du:*)",
|
|
311
|
-
"Bash(for pkg in activitystreams-pane chat-pane contacts-pane folder-pane issue-pane meeting-pane profile-pane source-pane pane-registry)",
|
|
312
|
-
"Bash(do du -sh node_modules/$pkg)",
|
|
313
|
-
"Bash(for pkg in solid-ui solid-logic react react-dom lodash core-js @inrupt marked dompurify)",
|
|
314
|
-
"Bash(npm why:*)",
|
|
315
|
-
"Bash(for pkg in activitystreams-pane chat-pane contacts-pane folder-pane issue-pane meeting-pane profile-pane source-pane)",
|
|
316
|
-
"Bash(wc -l echo 'Brings: mime-types \\(we already removed this pattern\\)' echo echo '=== profile-pane unique deps ===')",
|
|
317
|
-
"Bash(npm run build-prod:*)",
|
|
318
|
-
"Bash(ln:*)",
|
|
319
|
-
"WebFetch(domain:remotestorage.io)",
|
|
320
|
-
"Bash(gh issue create --title \"Feature: --public flag to skip WAC and allow open access\" --body \"$\\(cat << ''ENDOFFILE''\n## Summary\n\nAdd a `--public` flag that disables WAC \\(Web Access Control\\) checks, allowing unauthenticated read/write access to all resources. This enables JSS to be used as a simple file server similar to `npx serve`, but with REST write capabilities.\n\n**Difficulty**: 15/100 \n**Estimated Effort**: 2-4 hours \n**Dependencies**: None\n\n---\n\n## Motivation\n\nCurrently, JSS requires either:\n1. ACL files to grant access, or\n2. Authentication via Solid-OIDC\n\nThis makes it impossible to use JSS as a simple \"just serve this folder\" tool like `npx serve`. The `--public` flag would enable:\n\n1. **Quick local development** - No auth setup needed\n2. **Simple file sharing** - LAN file server with write support\n3. **jsserve wrapper** - Foundation for `npx jsserve` \\(see future issue\\)\n4. **WebDAV alternative** - Simple REST-based file server\n5. **Testing/demos** - Quick Solid server without auth complexity\n\n---\n\n## Proposed Implementation\n\n### CLI Flag\n\n```bash\njss start --public # Open read/write, no auth\njss start --public --read-only # Open read, no writes \\(like npx serve\\)\n```\n\n### Environment Variable\n\n```bash\nJSS_PUBLIC=true jss start\n```\n\n### Config File\n\n```json\n{\n \"public\": true\n}\n```\n\n---\n\n## Implementation Details\n\n### 1. Add flag to CLI \\(`bin/jss.js`\\)\n\n```javascript\n.option\\(''--public'', ''Allow unauthenticated access to all resources \\(disables WAC\\)''\\)\n.option\\(''--read-only'', ''Disable PUT/DELETE methods \\(read-only mode\\)''\\)\n```\n\n### 2. Add to config \\(`src/config.js`\\)\n\n```javascript\nconst DEFAULTS = {\n // ... existing ...\n public: false,\n readOnly: false,\n};\n\n// Environment variable mapping\nif \\(process.env.JSS_PUBLIC\\) {\n config.public = process.env.JSS_PUBLIC === ''true'';\n}\nif \\(process.env.JSS_READ_ONLY\\) {\n config.readOnly = process.env.JSS_READ_ONLY === ''true'';\n}\n```\n\n### 3. Skip WAC when public \\(`src/auth/middleware.js`\\)\n\n```javascript\nexport async function authorize\\(request, reply\\) {\n // Public mode - skip all auth/WAC checks\n if \\(request.config?.public\\) {\n return; // Allow request to proceed\n }\n \n // ... existing WAC logic ...\n}\n```\n\n### 4. Block writes when read-only \\(`src/handlers/resource.js`, `src/handlers/container.js`\\)\n\n```javascript\n// At start of PUT/DELETE handlers\nif \\(request.config?.readOnly\\) {\n return reply.code\\(405\\).send\\({ \n error: ''Method Not Allowed'',\n message: ''Server is in read-only mode''\n }\\);\n}\n```\n\n---\n\n## Behavior Matrix\n\n| Flag Combination | GET | PUT/DELETE | Auth Required |\n|------------------|-----|------------|---------------|\n| \\(default\\) | ACL | ACL | Yes \\(if ACL requires\\) |\n| `--public` | ✅ Allow | ✅ Allow | No |\n| `--public --read-only` | ✅ Allow | ❌ Block | No |\n| `--read-only` \\(no public\\) | ACL | ❌ Block | Yes |\n\n---\n\n## Security Considerations\n\n### Warning on Startup\n\nWhen `--public` is enabled, show a clear warning:\n\n```\n⚠️ WARNING: Server running in PUBLIC mode\n All files are readable and writable without authentication.\n Do not use in production or expose to the internet.\n```\n\n### Binding to localhost by default?\n\nConsider: When `--public` is set, should the default host be `localhost` instead of `0.0.0.0`?\n\n```javascript\nif \\(config.public && !explicitHostSet\\) {\n config.host = ''localhost''; // Safer default for public mode\n}\n```\n\nUser can override with `--public --host 0.0.0.0` if they explicitly want network access.\n\n---\n\n## Examples\n\n### Local Development\n```bash\n# Quick Solid-compatible file server for development\njss start --public --port 3000 --root ./test-data\n```\n\n### Read-Only File Sharing\n```bash\n# Share files on LAN, no writes allowed\njss start --public --read-only --host 0.0.0.0 --root ~/shared\n```\n\n### Testing Solid Apps\n```bash\n# Test app without auth complexity\njss start --public --root ./fixtures\nnpm test\n```\n\n---\n\n## Files to Modify\n\n| File | Changes |\n|------|---------|\n| `bin/jss.js` | Add `--public` and `--read-only` options \\(~5 LOC\\) |\n| `src/config.js` | Add defaults and env var mapping \\(~10 LOC\\) |\n| `src/auth/middleware.js` | Skip WAC when public \\(~5 LOC\\) |\n| `src/handlers/resource.js` | Block writes when read-only \\(~5 LOC\\) |\n| `src/handlers/container.js` | Block writes when read-only \\(~5 LOC\\) |\n| **Total** | **~30 LOC** |\n\n---\n\n## Testing\n\n```javascript\ndescribe\\(''--public flag'', \\(\\) => {\n it\\(''should allow unauthenticated GET'', async \\(\\) => {\n const server = await createServer\\({ public: true, root: tmpDir }\\);\n const res = await request\\(server\\).get\\(''/file.txt''\\);\n expect\\(res.status\\).toBe\\(200\\);\n }\\);\n\n it\\(''should allow unauthenticated PUT'', async \\(\\) => {\n const server = await createServer\\({ public: true, root: tmpDir }\\);\n const res = await request\\(server\\)\n .put\\(''/new-file.txt''\\)\n .send\\(''content''\\);\n expect\\(res.status\\).toBe\\(201\\);\n }\\);\n\n it\\(''should block PUT when read-only'', async \\(\\) => {\n const server = await createServer\\({ public: true, readOnly: true, root: tmpDir }\\);\n const res = await request\\(server\\)\n .put\\(''/new-file.txt''\\)\n .send\\(''content''\\);\n expect\\(res.status\\).toBe\\(405\\);\n }\\);\n}\\);\n```\n\n---\n\n## Related Issues\n\n- Future: `jsserve` package \\(thin wrapper using this flag\\)\n- #100 - Production Readiness \\(this is a dev/convenience feature\\)\n\n---\n\n## Open Questions\n\n1. Should `--public` default to `localhost` binding for safety?\n2. Should there be a `--public-read` \\(read-only public\\) shorthand?\n3. Should `--public` disable IdP/login UI entirely, or just make it optional?\nENDOFFILE\n\\)\")",
|
|
321
|
-
"Bash(npx serve --help:*)",
|
|
322
|
-
"Bash(npm exec serve:*)",
|
|
323
|
-
"Bash(npm link)",
|
|
324
|
-
"Bash(npm link:*)",
|
|
325
|
-
"Bash(git push)",
|
|
326
|
-
"Bash(ulimit:*)",
|
|
327
|
-
"Bash(gh label:*)",
|
|
328
|
-
"Bash(mongosh --eval \"db.runCommand\\({ ping: 1 }\\)\" 2>&1 | head -5)",
|
|
329
|
-
"Bash(which jss && jss --version 2>&1)",
|
|
330
|
-
"Bash(jss start --help 2>&1 | grep -i mongo)",
|
|
331
|
-
"Bash(grep -A5 '\"\"files\"\"' package.json)",
|
|
332
|
-
"Bash(mkdir -p /tmp/wt-check)",
|
|
333
|
-
"Bash(npm init:*)",
|
|
334
|
-
"WebFetch(domain:webtorrent.io)",
|
|
335
|
-
"Bash(TORRENT=/home/melvin/.claude/projects/-home-melvin-remote-github-com-JavaScriptSolidServer-JavaScriptSolidServer/a05da419-92b7-4056-93b8-e97b2035d4ae/tool-results/webfetch-1774004425803-fce7mx.bin npx -y parse-torrent $TORRENT)",
|
|
336
|
-
"Bash(gh issue:*)",
|
|
337
|
-
"Bash(sed -i 's|Settings/|settings/|g' src/server.js src/handlers/container.js src/webid/profile.js)",
|
|
338
|
-
"Bash(sed -i 's|// Settings folder|// settings folder|' src/handlers/container.js)",
|
|
339
|
-
"WebFetch(domain:www.x402.org)",
|
|
340
|
-
"Bash(jss start:*)",
|
|
341
|
-
"Read(//tmp/**)",
|
|
342
|
-
"Bash(sed -i 's/\"currency\": \"sats\"/\"currency\": \"tbtc4\"/g' /home/melvin/articles/solid-402.html /home/melvin/articles/solid-pay.html /home/melvin/articles/solid-balance.html)",
|
|
343
|
-
"Bash(sed -i 's/\"currency\":\"sats\"/\"currency\":\"tbtc4\"/g' /home/melvin/articles/solid-402.html /home/melvin/articles/solid-pay.html /home/melvin/articles/solid-balance.html)",
|
|
344
|
-
"WebFetch(domain:lists.w3.org)",
|
|
345
|
-
"Bash(git:*)",
|
|
346
|
-
"Bash(npm publish:*)",
|
|
347
|
-
"WebFetch(domain:git-mark.com)",
|
|
348
|
-
"WebFetch(domain:w3id.org)",
|
|
349
|
-
"WebFetch(domain:webledgers.github.io)",
|
|
350
|
-
"Bash(\\\\\"git config:*)",
|
|
351
|
-
"Read(//usr/local/lib/node_modules/gitmark-test/**)",
|
|
352
|
-
"WebFetch(domain:nip98.com)",
|
|
353
|
-
"WebFetch(domain:htmlpreview.github.io)",
|
|
354
|
-
"WebFetch(domain:timbl.solidcommunity.net)",
|
|
355
|
-
"Read(//home/melvin/remote/github.com/solid-helper/core/**)",
|
|
356
|
-
"Bash(curl -s https://www.gnu.org/licenses/agpl-3.0.txt)",
|
|
357
|
-
"Bash(cat LICENSE.full)",
|
|
358
|
-
"Bash(rm LICENSE.full)",
|
|
359
|
-
"Bash(awk -F: '{print $1,$2}')",
|
|
360
|
-
"Bash(awk -F: '{print $1}')",
|
|
361
|
-
"WebFetch(domain:www.gitfork.app)",
|
|
362
|
-
"Bash(JSS_SINGLE_USER_PASSWORD=hunter2 timeout 3 node bin/jss.js start --port 4581 --root /tmp/jss-103 --single-user --single-user-name alice --idp)",
|
|
363
|
-
"Bash(JSS_SINGLE_USER_PASSWORD=hunter2 timeout 2 node bin/jss.js start --port 4581 --root /tmp/jss-103 --single-user-name alice --idp)",
|
|
364
|
-
"Bash(JSS_SINGLE_USER_PASSWORD=hunter2 timeout 3 node bin/jss.js start --port 4581 --root /tmp/jss-103-sanity --single-user-name alice --single-user --idp)",
|
|
365
|
-
"Bash(pm2 jlist *)",
|
|
366
|
-
"Bash(jss --version)",
|
|
367
|
-
"Bash(cp -a ~/main/me ~/main/me.backup-pre-348)",
|
|
368
|
-
"Bash(cp -a ~/main/.idp/accounts ~/main/.idp/accounts.backup-pre-348)",
|
|
369
|
-
"Bash(mv ~/main/me.backup-pre-348 ~/main.backup-me-pre-348)",
|
|
370
|
-
"Bash(mv ~/main/.idp/accounts.backup-pre-348 ~/main.backup-accounts-pre-348)",
|
|
371
|
-
"Bash(shopt -s dotglob)",
|
|
372
|
-
"Bash(mv ~/main/me/* ~/main/)",
|
|
373
|
-
"Bash(shopt -u dotglob)",
|
|
374
|
-
"Bash(rmdir ~/main/me)",
|
|
375
|
-
"Bash(rm /tmp/dup-issue.md)",
|
|
376
|
-
"Bash(rm -rf /tmp/losos-fix)",
|
|
377
|
-
"Bash(terser losos/shell.js -m -c)",
|
|
378
|
-
"Bash(terser losos/html.js -m -c)",
|
|
379
|
-
"Bash(terser losos/store.js -m -c)",
|
|
380
|
-
"Bash(terser losos/registry.js -m -c)",
|
|
381
|
-
"Bash(terser losos/losos.js -m -c)",
|
|
382
|
-
"Bash(DATA_ROOT=/tmp/whatever node --test test/url.test.js)",
|
|
383
|
-
"Bash(gh run *)",
|
|
384
|
-
"Bash(command -v flutter)",
|
|
385
|
-
"Bash(flutter --version)",
|
|
386
|
-
"Bash(command -v adb)",
|
|
387
|
-
"Bash(command -v node)",
|
|
388
|
-
"Bash(rm -rf /tmp/jss-mobile-test)",
|
|
389
|
-
"Bash(mkdir -p /tmp/jss-mobile-test)",
|
|
390
|
-
"Bash(JSS_SINGLE_USER_PASSWORD=test1234 node bin/jss.js start --single-user --port 4444 --root /tmp/jss-mobile-test --idp)",
|
|
391
|
-
"Bash(./scripts/bundle-jss.sh 0.0.169)",
|
|
392
|
-
"Bash(JSS_SINGLE_USER_PASSWORD=test1234 node assets/nodejs-project/bin/jss.js start --single-user --port 4446 --host 127.0.0.1 --root /tmp/jss-bundle-smoke --idp)",
|
|
393
|
-
"Bash(flutter create *)",
|
|
394
|
-
"Bash(flutter pub *)",
|
|
395
|
-
"WebFetch(domain:pub.dev)",
|
|
396
|
-
"WebFetch(domain:nodejs-mobile.github.io)",
|
|
397
|
-
"WebFetch(domain:bare.pears.com)",
|
|
398
|
-
"Bash(command -v gradle)",
|
|
399
|
-
"Bash(gradle --version)",
|
|
400
|
-
"Bash(java -version)",
|
|
401
|
-
"Bash(./gradlew --version)",
|
|
402
|
-
"Bash(./gradlew :app:tasks --no-daemon --warning-mode=none)",
|
|
403
|
-
"Bash(ANDROID_HOME=/home/melvin/Android/Sdk ANDROID_SDK_ROOT=/home/melvin/Android/Sdk ./gradlew :app:tasks --no-daemon)",
|
|
404
|
-
"Bash(ANDROID_HOME=/home/melvin/Android/Sdk ANDROID_SDK_ROOT=/home/melvin/Android/Sdk ./gradlew :app:processDebugResources --no-daemon)",
|
|
405
|
-
"Bash(ANDROID_HOME=/home/melvin/Android/Sdk ANDROID_SDK_ROOT=/home/melvin/Android/Sdk ./gradlew :app:compileDebugKotlin --no-daemon)",
|
|
406
|
-
"Bash(./scripts/fetch-libnode.sh v18.20.4)",
|
|
407
|
-
"Bash(ANDROID_HOME=/home/melvin/Android/Sdk ANDROID_SDK_ROOT=/home/melvin/Android/Sdk ./gradlew :app:assembleDebug --no-daemon)",
|
|
408
|
-
"Bash(/home/melvin/Android/Sdk/platform-tools/adb devices *)",
|
|
409
|
-
"Bash(command -v chromium chromium-browser google-chrome firefox playwright)",
|
|
410
|
-
"Bash(/usr/bin/chromium-browser --headless --no-sandbox --disable-gpu --hide-scrollbars --window-size=480,800 --screenshot=/tmp/consent-preview.png file:///tmp/consent-preview.html)",
|
|
411
|
-
"Bash(cp /tmp/consent-preview.html ~/consent-preview.html)",
|
|
412
|
-
"Read(//home/melvin/**)",
|
|
413
|
-
"Bash(/usr/bin/chromium-browser --headless --no-sandbox --disable-gpu --hide-scrollbars --window-size=520,900 --screenshot=consent.png file:///home/melvin/consent-preview.html)",
|
|
414
|
-
"Bash(sed -i '0,/\"version\": \"0.0.181\"/{s/\"version\": \"0.0.181\"/\"version\": \"0.0.182\"/}' package-lock.json)",
|
|
415
|
-
"WebFetch(domain:losos.org)",
|
|
416
|
-
"Bash(sed -i '0,/\"version\": \"0.0.183\"/{s/\"version\": \"0.0.183\"/\"version\": \"0.0.184\"/}' package-lock.json)",
|
|
417
|
-
"Bash(awk '/esm.sh/' /home/melvin/remote/github.com/JavaScriptSolidServer/sso/login.js)"
|
|
418
|
-
]
|
|
419
|
-
}
|
|
420
|
-
}
|