Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ operator/ui/src/constants.ts
provider/ui/src/constants.ts

# Machine-generated WIT files (except operator)
pkg/api/*
pkg/api/*
# backups
*.bak
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ sed -i.bak "s/\"publisher\": \"[^\"]*\"/\"publisher\": \"$PUBLISHER\"/g" provide
# Build operator
echo -e "${BLUE}Building operator...${NC}"
cd operator
kit build $EXTRA_ARGS
kit build --hyperapp $EXTRA_ARGS
cd ..

# Build provider
Expand Down Expand Up @@ -243,4 +243,4 @@ echo -e "${BLUE}Publisher: $PUBLISHER${NC}"
echo -e "${BLUE}Package contents:${NC}"
ls -la pkg/
echo -e "\n${BLUE}Target directory:${NC}"
ls -la target/
ls -la target/
5 changes: 4 additions & 1 deletion constants/production.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ pub const HYPERGRID_ADDRESS: &str = "0xd65cb2ae7212e9b767c6953bb11cad1876d81cc8"
pub const HYPERGRID_NAMESPACE_MINTER_ADDRESS: &str = "0x44a8Bd4f9370b248c91d54773Ac4a457B3454b50";
pub const HYPR_HASH: &str = "0x29575a1a0473dcc0e00d7137198ed715215de7bffd92911627d5e008410a5826";
pub const USDC_BASE_ADDRESS: &str = "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913";
pub const CIRCLE_PAYMASTER: &str = "0x0578cFB241215b77442a541325d6A4E6dFE700Ec";
pub const CIRCLE_PAYMASTER: &str = "0x0578cFB241215b77442a541325d6A4E6dFE700Ec";

pub const OLD_TBA_IMPLEMENTATION: &str = "0x000000000046886061414588bb9F63b6C53D8674"; // Works but no gasless support
pub const NEW_TBA_IMPLEMENTATION: &str = "0x3950D18044D7DAA56BFd6740fE05B42C95201535"; // actually fixed (final: part deux)
5 changes: 4 additions & 1 deletion constants/staging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ pub const HYPERGRID_ADDRESS: &str = "0x2138da52cbf52adf2e73139a898370e03bbebf0a"
pub const HYPERGRID_NAMESPACE_MINTER_ADDRESS: &str = "0x44a8Bd4f9370b248c91d54773Ac4a457B3454b50";
pub const HYPR_HASH: &str = "0x29575a1a0473dcc0e00d7137198ed715215de7bffd92911627d5e008410a5826"; // TODO: Update with staging hash
pub const USDC_BASE_ADDRESS: &str = "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913";
pub const CIRCLE_PAYMASTER: &str = "0x0578cFB241215b77442a541325d6A4E6dFE700Ec";
pub const CIRCLE_PAYMASTER: &str = "0x0578cFB241215b77442a541325d6A4E6dFE700Ec";

pub const OLD_TBA_IMPLEMENTATION: &str = "0x000000000046886061414588bb9F63b6C53D8674"; // Works but no gasless support
pub const NEW_TBA_IMPLEMENTATION: &str = "0x3950D18044D7DAA56BFd6740fE05B42C95201535"; // actually fixed (final: part deux)
8 changes: 5 additions & 3 deletions hypergrid-shim/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperware-ai/hypergrid-mcp",
"version": "1.1.2",
"version": "1.3.0",
"type": "module",
"description": "Shim for MCP server discovery through the Hypergrid operator tools",
"main": "index.js",
Expand All @@ -13,15 +13,17 @@
],
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"prepublishOnly": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^22.14.0",
"@types/node": "^22.18.1",
"@types/yargs": "^17.0.33",
"typescript": "^5.8.3"
"ts-node": "^10.9.2",
"typescript": "^5.9.2"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.9.0",
Expand Down
208 changes: 147 additions & 61 deletions hypergrid-shim/src/index.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"image": "https://raw.githubusercontent.com/hyperware-ai/hpn/ccd0e9c0d08b2344b06ce4a5b8584f819b92e43e/hypergrid-logo.webp",
"properties": {
"package_name": "hypergrid",
"current_version": "1.2.1",
"current_version": "1.2.2",
"publisher": "ware.hypr",
"mirrors": ["ware.hypr","sam.hypr", "backup-distro-node.os"],
"mirrors": ["ware.hypr", "sam.hypr", "backup-distro-node.os"],
"code_hashes": {
"1.0.0": "001a49117374abc3bdb38179d8ce05d76205b008bb55683e116be36f3e1635ce",
"1.1.0": "b9a3255a0778ffc9540bbae08aa05320525378a75dca5ba02f311ab192bda79f",
Expand Down
10 changes: 6 additions & 4 deletions operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[profile.release]
panic = "abort"
opt-level = "s"
lto = true
opt-level = "s"
panic = "abort"

[workspace]
members = [
"operator"
"operator",
"target/operator-caller-utils",
"target/operator-caller-util?",
]
resolver = "2"
resolver = "2"
Loading