Skip to content

Commit 8877abe

Browse files
feat: integrate Node.js Hosting public API with new CLI (#78)
* feat: integrate Node.js Hosting public API with new CLI * chore: address PR review findings
1 parent 5d15d6d commit 8877abe

13 files changed

Lines changed: 3518 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ All source code lives under `rust/`.
1616
- **Format**: `cargo fmt` (from `rust/`)
1717
- **Check**: `cargo check` (from `rust/`)
1818
- **Regenerate API catalog**: `cargo run -p generate-api-catalog` (from `rust/`)
19+
- **Regenerate Node.js Hosting spec**: `./rust/scripts/regenerate-hosting-spec.sh`
1920

2021
## Architecture
2122

@@ -37,6 +38,11 @@ rust/src/
3738
api_explorer/mod.rs — api list/describe/search/call commands
3839
actions_catalog/mod.rs — embedded action schema catalog
3940
extension/mod.rs — esbuild bundler + security scanner (SEC101–SEC115)
41+
hosting/
42+
nodejs/
43+
mod.rs — hosting nodejs command group
44+
client.rs — Node.js Hosting REST client
45+
scopes.rs — OAuth scope constants
4046
webhook/mod.rs — webhook commands
4147
config/mod.rs — godaddy.toml read/write
4248
auth.rs — auth module registration

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fancy-regex = "0.14"
2323
open = "5"
2424
phonenumber = "0.3"
2525
regex = { version = "1", features = ["std"] }
26-
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
26+
reqwest = { version = "0.12", default-features = false, features = ["json", "multipart", "rustls-tls"] }
2727
sha2 = "0.10"
2828
serde = { version = "1", features = ["derive"] }
2929
serde_json = "1"

0 commit comments

Comments
 (0)