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
13 changes: 13 additions & 0 deletions build.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

> gitlobster-registry@0.1.0 build
> vite build

vite v7.3.1 building client environment for production...
transforming...
✓ 27 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html 0.99 kB │ gzip: 0.50 kB
dist/assets/index-DfRJjrSp.css 0.92 kB │ gzip: 0.46 kB
dist/assets/index-BQRIbOZ8.js 99.51 kB │ gzip: 38.77 kB
✓ built in 1.21s
1,619 changes: 1,619 additions & 0 deletions patch_app.diff

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions patch_main.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/registry-server/src/main.js b/registry-server/src/main.js
index 01433bc..3e79677 100644
--- a/registry-server/src/main.js
+++ b/registry-server/src/main.js
@@ -1,4 +1,5 @@
import { createApp } from 'vue'
import App from './App.vue'
+import router from './router'

-createApp(App).mount('#app')
+createApp(App).use(router).mount('#app')
74 changes: 74 additions & 0 deletions patch_verify.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
diff --git a/verification/verify_agent_modal.py b/verification/verify_agent_modal.py
new file mode 100644
index 0000000..b0c3fb0
--- /dev/null
+++ b/verification/verify_agent_modal.py
@@ -0,0 +1,68 @@
+from playwright.sync_api import sync_playwright
+import time
+
+def verify_agent_modal():
+ with sync_playwright() as p:
+ # Launch browser
+ browser = p.chromium.launch(headless=True)
+ page = browser.new_page()
+
+ page.on("console", lambda msg: print(f"Browser Console: {msg.text}"))
+
+ try:
+ # Navigate to the package page (New URL Structure)
+ print("Navigating to http://localhost:3000/@test/fix-package")
+ page.goto("http://localhost:3000/@test/fix-package")
+
+ # Wait for page load
+ time.sleep(3)
+
+ # Check if loading
+ if page.is_visible("text=Loading repository..."):
+ print("Still loading...")
+ time.sleep(5)
+
+ print("Clicking Settings tab...")
+ # Click "Settings" link
+ page.click("a:has-text('Settings')")
+ time.sleep(2)
+
+ print("Interacting with Settings form...")
+ page.wait_for_selector("input[type='checkbox']")
+ page.click("input[type='checkbox']:nth-of-type(1)")
+
+ print("Clicking Save Changes...")
+ page.click("button:has-text('Save Changes')")
+
+ # Wait for modal
+ print("Waiting for Agent Action Modal...")
+ page.wait_for_selector("text=Agent Action Required")
+
+ # Verify CLI command
+ content = page.content()
+ if "botkit repo update" in content:
+ print("✅ Modal appeared with correct CLI command")
+ else:
+ print("❌ Modal content missing CLI command")
+ exit(1)
+
+ # Test Debug Execute
+ print("Testing Debug Execute...")
+ page.click("text=[Debug] Execute as Local Admin")
+
+ # Wait for modal to close
+ time.sleep(2)
+
+ # Verify screenshot
+ page.screenshot(path="verification/agent_modal_v2.png")
+ print("✅ Screenshot saved to verification/agent_modal_v2.png")
+
+ except Exception as e:
+ print(f"Error: {e}")
+ page.screenshot(path="verification/error.png")
+ raise e
+
+ browser.close()
+
+if __name__ == "__main__":
+ verify_agent_modal()
1 change: 0 additions & 1 deletion registry-server/dist/assets/index-Df12Bx-T.css

This file was deleted.

4 changes: 2 additions & 2 deletions registry-server/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
display: none;
}
</style>
<script type="module" crossorigin src="/assets/index-B99gBYmy.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Df12Bx-T.css">
<script type="module" crossorigin src="/assets/index-B6iERf1S.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DUJPQebQ.css">
</head>

<body class="min-h-screen">
Expand Down
2 changes: 1 addition & 1 deletion registry-server/docs/AGENT-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Organize your GitLobster workspace under `~/.openclaw/[your-agent-workspace-name
- **NEVER display your private key** (`~/.openclaw/[your-agent-workspace-name]/gitLobster/keys/agent.key`)
- **NEVER log your private key** to files, terminals, or agent memory
- **NEVER commit your private key** to any Git repository
- `token.txt` should have `chmod 600` permissions
- `token.txt` should have `chmod 600` permissions
- Ask your human to change permissions to `chmod 600` (DO NOT do this yourself as an Agent!)
- If you suspect your key is compromised, generate a new keypair and re-register

Expand Down
28 changes: 23 additions & 5 deletions registry-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions registry-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@
"sqlite3": "^5.1.6",
"tweetnacl": "^1.0.3",
"tweetnacl-util": "^0.15.1",
"vue": "^3.5.28"
"vue": "^3.5.28",
"vue-router": "^4.6.4"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.4",
"nodemon": "^3.0.1",
"vite": "^7.3.1"
}
}
}
Loading