@lelouchhe/webagent 0.1.5 → 0.1.6

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/dist/index.html CHANGED
@@ -13,7 +13,7 @@
13
13
  <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
14
14
  <script src="https://cdn.jsdelivr.net/npm/dompurify@3.3.2/dist/purify.min.js"></script>
15
15
  <script>document.documentElement.setAttribute('data-theme', localStorage.getItem('theme') || 'auto');</script>
16
- <link rel="stylesheet" href="/styles.mmlj0xfy.css">
16
+ <link rel="stylesheet" href="/styles.mmlj9sk2.css">
17
17
  </head>
18
18
  <body>
19
19
 
@@ -41,6 +41,6 @@
41
41
  <input type="file" id="file-input" accept="image/*" multiple hidden>
42
42
  </div>
43
43
 
44
- <script type="module" src="/js/app.mmlj0xfy.js"></script>
44
+ <script type="module" src="/js/app.mmlj9sk2.js"></script>
45
45
  </body>
46
46
  </html>
@@ -1,13 +1,13 @@
1
1
  // Boot entry point — imports all modules and starts the app
2
2
 
3
- import './render.mmlj0xfy.js'; // theme, click-to-collapse listeners
4
- import './commands.mmlj0xfy.js'; // slash menu listeners
5
- import './images.mmlj0xfy.js'; // attach/paste listeners
6
- import './input.mmlj0xfy.js'; // keyboard/send listeners
7
- import { connect } from './connection.mmlj0xfy.js';
8
- import { state, setHashSessionId, resetSessionUI, updateSessionInfo } from './state.mmlj0xfy.js';
9
- import { loadHistory } from './events.mmlj0xfy.js';
10
- import { addSystem, scrollToBottom } from './render.mmlj0xfy.js';
3
+ import './render.mmlj9sk2.js'; // theme, click-to-collapse listeners
4
+ import './commands.mmlj9sk2.js'; // slash menu listeners
5
+ import './images.mmlj9sk2.js'; // attach/paste listeners
6
+ import './input.mmlj9sk2.js'; // keyboard/send listeners
7
+ import { connect } from './connection.mmlj9sk2.js';
8
+ import { state, setHashSessionId, resetSessionUI, updateSessionInfo } from './state.mmlj9sk2.js';
9
+ import { loadHistory } from './events.mmlj9sk2.js';
10
+ import { addSystem, scrollToBottom } from './render.mmlj9sk2.js';
11
11
 
12
12
  connect();
13
13
 
@@ -4,9 +4,9 @@ import {
4
4
  state, dom, setBusy, resetSessionUI, requestNewSession, sendCancel,
5
5
  getConfigOption, getConfigValue, setHashSessionId, updateSessionInfo,
6
6
  updateNewBtnVisibility,
7
- } from './state.mmlj0xfy.js';
8
- import { addSystem, addMessage, scrollToBottom, escHtml, formatLocalTime } from './render.mmlj0xfy.js';
9
- import { loadHistory } from './events.mmlj0xfy.js';
7
+ } from './state.mmlj9sk2.js';
8
+ import { addSystem, addMessage, scrollToBottom, escHtml, formatLocalTime } from './render.mmlj9sk2.js';
9
+ import { loadHistory } from './events.mmlj9sk2.js';
10
10
 
11
11
  // --- Push notification helpers ---
12
12
 
@@ -1,8 +1,8 @@
1
1
  // WebSocket connection lifecycle
2
2
 
3
- import { state, setBusy, getHashSessionId, requestNewSession, resetSessionUI, setConnectionStatus, clearCancelTimer } from './state.mmlj0xfy.js';
4
- import { addSystem, finishThinking, finishAssistant, finishBash, scrollToBottom } from './render.mmlj0xfy.js';
5
- import { handleEvent, loadHistory, loadNewEvents, retryUnconfirmedPermissions } from './events.mmlj0xfy.js';
3
+ import { state, setBusy, getHashSessionId, requestNewSession, resetSessionUI, setConnectionStatus, clearCancelTimer } from './state.mmlj9sk2.js';
4
+ import { addSystem, finishThinking, finishAssistant, finishBash, scrollToBottom } from './render.mmlj9sk2.js';
5
+ import { handleEvent, loadHistory, loadNewEvents, retryUnconfirmedPermissions } from './events.mmlj9sk2.js';
6
6
 
7
7
  export function connect() {
8
8
  const proto = location.protocol === 'https:' ? 'wss:' : 'ws:';
@@ -4,12 +4,12 @@ import {
4
4
  state, dom, setBusy, setConfigValue, getConfigOption, updateConfigOptions,
5
5
  updateModeUI, resetSessionUI, requestNewSession, setHashSessionId, updateSessionInfo,
6
6
  setConnectionStatus, clearCancelTimer,
7
- } from './state.mmlj0xfy.js';
7
+ } from './state.mmlj9sk2.js';
8
8
  import {
9
9
  addMessage, addSystem, finishAssistant, finishThinking, hideWaiting,
10
10
  scrollToBottom, renderMd, escHtml, renderPatchDiff, addBashBlock, finishBash, appendMessageElement,
11
11
  formatLocalTime,
12
- } from './render.mmlj0xfy.js';
12
+ } from './render.mmlj9sk2.js';
13
13
 
14
14
  const NOTIFY_TIP_KEY = 'webagent_notify_tip_shown';
15
15
  const NOTIFY_TIP_DENIED_KEY = 'webagent_notify_tip_denied_shown';
@@ -1,6 +1,6 @@
1
1
  // Image attach, preview, and paste handling
2
2
 
3
- import { state, dom } from './state.mmlj0xfy.js';
3
+ import { state, dom } from './state.mmlj9sk2.js';
4
4
 
5
5
  function readFileAsBase64(file) {
6
6
  return new Promise((resolve) => {
@@ -3,10 +3,10 @@
3
3
  import {
4
4
  state, dom, setBusy, sendCancel,
5
5
  getConfigOption, getConfigValue, updateNewBtnVisibility,
6
- } from './state.mmlj0xfy.js';
7
- import { addMessage, addSystem, addBashBlock, showWaiting } from './render.mmlj0xfy.js';
8
- import { handleSlashCommand, hideSlashMenu, handleSlashMenuKey, updateSlashMenu } from './commands.mmlj0xfy.js';
9
- import { renderAttachPreview } from './images.mmlj0xfy.js';
6
+ } from './state.mmlj9sk2.js';
7
+ import { addMessage, addSystem, addBashBlock, showWaiting } from './render.mmlj9sk2.js';
8
+ import { handleSlashCommand, hideSlashMenu, handleSlashMenuKey, updateSlashMenu } from './commands.mmlj9sk2.js';
9
+ import { renderAttachPreview } from './images.mmlj9sk2.js';
10
10
 
11
11
  function wsReady() {
12
12
  return state.ws && state.ws.readyState === 1;
@@ -1,6 +1,6 @@
1
1
  // Rendering functions, theme, markdown, bash UI
2
2
 
3
- import { dom, state } from './state.mmlj0xfy.js';
3
+ import { dom, state } from './state.mmlj9sk2.js';
4
4
 
5
5
  // --- Markdown ---
6
6
  marked.setOptions({ breaks: true, gfm: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lelouchhe/webagent",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "A terminal-style web UI for ACP-compatible agents",
5
5
  "type": "module",
6
6
  "license": "MIT",