agello 0.1.0 → 0.1.1
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/package.json +1 -1
- package/web/agent-bridge.js +3 -3
- package/web/embed-example.html +1 -1
- package/web/index.html +1 -1
package/package.json
CHANGED
package/web/agent-bridge.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
//
|
|
7
7
|
// Attributes
|
|
8
8
|
// server bridge server origin (default: origin this script was loaded from)
|
|
9
|
-
// heading header text (default: "
|
|
9
|
+
// heading header text (default: "agello")
|
|
10
10
|
// no-header hide header
|
|
11
11
|
// no-actions hide approve/reject buttons
|
|
12
12
|
// no-history do not persist chat in localStorage (default: persisted per server + pane)
|
|
@@ -298,7 +298,7 @@ class AgentBridge extends HTMLElement {
|
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
connectedCallback() {
|
|
301
|
-
this.$.heading.textContent = this.getAttribute("heading") || "
|
|
301
|
+
this.$.heading.textContent = this.getAttribute("heading") || "agello";
|
|
302
302
|
this.#connect();
|
|
303
303
|
this.#syncScreen();
|
|
304
304
|
}
|
|
@@ -310,7 +310,7 @@ class AgentBridge extends HTMLElement {
|
|
|
310
310
|
this.#setControl(false);
|
|
311
311
|
}
|
|
312
312
|
attributeChangedCallback(name) {
|
|
313
|
-
if (name === "heading") this.$.heading.textContent = this.getAttribute("heading") || "
|
|
313
|
+
if (name === "heading") this.$.heading.textContent = this.getAttribute("heading") || "agello";
|
|
314
314
|
if (name === "server" && this.isConnected) { this.#connect(); this.#screenEs?.close(); this.#screenEs = null; this.#syncScreen(); }
|
|
315
315
|
if (name === "screen" && this.isConnected) this.#syncScreen();
|
|
316
316
|
}
|
package/web/embed-example.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html lang="ko">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
|
-
<title>
|
|
5
|
+
<title>agello 임베드 예시</title>
|
|
6
6
|
<script type="module" src="http://127.0.0.1:8765/agent-bridge.js"></script>
|
|
7
7
|
<style>
|
|
8
8
|
body { font-family: system-ui, sans-serif; margin: 0; display: grid; grid-template-columns: 1fr 420px;
|
package/web/index.html
CHANGED