@quanta-intellect/vessel-browser 0.1.132 → 0.1.133

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.
@@ -7,9 +7,6 @@ const AIChannels = {
7
7
  AI_STREAM_END: "ai:stream-end",
8
8
  AI_STREAM_IDLE: "ai:stream-idle",
9
9
  AI_RESEARCH_CLARIFICATION: "ai:research-clarification",
10
- AUTOMATION_ACTIVITY_START: "automation:activity-start",
11
- AUTOMATION_ACTIVITY_CHUNK: "automation:activity-chunk",
12
- AUTOMATION_ACTIVITY_END: "automation:activity-end",
13
10
  AI_CANCEL: "ai:cancel",
14
11
  AI_FETCH_MODELS: "ai:fetch-models",
15
12
  AGENT_RUNTIME_GET: "agent-runtime:get",
@@ -36,6 +33,9 @@ const AutomationChannels = {
36
33
  AUTOMATION_GET_INSTALLED: "automation:get-installed",
37
34
  AUTOMATION_INSTALL_FROM_FILE: "automation:install-from-file",
38
35
  AUTOMATION_UNINSTALL: "automation:uninstall",
36
+ AUTOMATION_ACTIVITY_START: "automation:activity-start",
37
+ AUTOMATION_ACTIVITY_CHUNK: "automation:activity-chunk",
38
+ AUTOMATION_ACTIVITY_END: "automation:activity-end",
39
39
  SCHEDULE_GET_ALL: "schedule:get-all",
40
40
  SCHEDULE_CREATE: "schedule:create",
41
41
  SCHEDULE_UPDATE: "schedule:update",
@@ -121,6 +121,9 @@ const HumanVaultChannels = {
121
121
  HUMAN_VAULT_REMOVE: "human-vault:remove",
122
122
  HUMAN_VAULT_AUDIT_LOG: "human-vault:audit-log"
123
123
  };
124
+ const McpChannels = {
125
+ MCP_REGENERATE_TOKEN: "mcp:regenerate-token"
126
+ };
124
127
  const OpenRouterChannels = {
125
128
  OPENROUTER_START_AUTH: "openrouter:start-auth",
126
129
  OPENROUTER_CANCEL_AUTH: "openrouter:cancel-auth",
@@ -170,8 +173,9 @@ const SettingsChannels = {
170
173
  SETTINGS_SET: "settings:set",
171
174
  SETTINGS_UPDATE: "settings:update",
172
175
  SETTINGS_HEALTH_GET: "settings:health:get",
173
- SETTINGS_HEALTH_UPDATE: "settings:health:update",
174
- MCP_REGENERATE_TOKEN: "mcp:regenerate-token",
176
+ SETTINGS_HEALTH_UPDATE: "settings:health:update"
177
+ };
178
+ const SupportChannels = {
175
179
  SUPPORT_SUBMIT_FEEDBACK: "support:submit-feedback"
176
180
  };
177
181
  const TabChannels = {
@@ -203,14 +207,7 @@ const TabChannels = {
203
207
  TAB_TOGGLE_MUTE: "tab:toggle-mute",
204
208
  TAB_PRINT: "tab:print",
205
209
  TAB_PRINT_TO_PDF: "tab:print-to-pdf",
206
- TAB_TOGGLE_PIP: "tab:toggle-pip",
207
- OPEN_NEW_WINDOW: "window:open-new",
208
- OPEN_PRIVATE_WINDOW: "private:open-window",
209
- IS_PRIVATE_MODE: "private:is-private",
210
- FIND_IN_PAGE_START: "find:start",
211
- FIND_IN_PAGE_NEXT: "find:next",
212
- FIND_IN_PAGE_STOP: "find:stop",
213
- FIND_IN_PAGE_RESULT: "find:result"
210
+ TAB_TOGGLE_PIP: "tab:toggle-pip"
214
211
  };
215
212
  const UIChannels = {
216
213
  SIDEBAR_TOGGLE: "ui:sidebar-toggle",
@@ -239,7 +236,14 @@ const VaultChannels = {
239
236
  const WindowControlChannels = {
240
237
  WINDOW_MINIMIZE: "window:minimize",
241
238
  WINDOW_MAXIMIZE: "window:maximize",
242
- WINDOW_CLOSE: "window:close"
239
+ WINDOW_CLOSE: "window:close",
240
+ OPEN_NEW_WINDOW: "window:open-new",
241
+ OPEN_PRIVATE_WINDOW: "private:open-window",
242
+ IS_PRIVATE_MODE: "private:is-private",
243
+ FIND_IN_PAGE_START: "find:start",
244
+ FIND_IN_PAGE_NEXT: "find:next",
245
+ FIND_IN_PAGE_STOP: "find:stop",
246
+ FIND_IN_PAGE_RESULT: "find:result"
243
247
  };
244
248
  const Channels = {
245
249
  ...AIChannels,
@@ -254,6 +258,7 @@ const Channels = {
254
258
  ...HighlightChannels,
255
259
  ...HistoryChannels,
256
260
  ...HumanVaultChannels,
261
+ ...McpChannels,
257
262
  ...OpenRouterChannels,
258
263
  ...PermissionChannels,
259
264
  ...PremiumChannels,
@@ -261,6 +266,7 @@ const Channels = {
261
266
  ...SecurityChannels,
262
267
  ...SessionChannels,
263
268
  ...SettingsChannels,
269
+ ...SupportChannels,
264
270
  ...TabChannels,
265
271
  ...UIChannels,
266
272
  ...UpdateChannels,
@@ -3356,7 +3356,8 @@ const AddressBar = (props) => {
3356
3356
  if (!disposed) {
3357
3357
  setSearchEngine(settings.defaultSearchEngine ?? "duckduckgo");
3358
3358
  }
3359
- }).catch(() => {
3359
+ }).catch((err) => {
3360
+ console.warn("AddressBar failed to load settings:", err);
3360
3361
  });
3361
3362
  const unsubscribe2 = window.vessel.settings.onUpdate((settings) => {
3362
3363
  setSearchEngine(settings.defaultSearchEngine ?? "duckduckgo");
@@ -12702,6 +12703,8 @@ const SettingsPrivacy = (props) => {
12702
12703
  })();
12703
12704
  };
12704
12705
  delegateEvents(["input", "click"]);
12706
+ const STATUS_MESSAGE_CLEAR_MS = 3e3;
12707
+ const STATUS_MESSAGE_LONG_CLEAR_MS = 5e3;
12705
12708
  var _tmpl$$4 = /* @__PURE__ */ template(`<div class=settings-feedback-form><input class=settings-input type=email placeholder="Your reply email"><textarea class="settings-textarea settings-feedback-textarea"placeholder="Tell us what happened, what you expected, or what would make Vessel better."></textarea><div class=settings-inline-actions><button class=settings-secondary-btn>`), _tmpl$2$4 = /* @__PURE__ */ template(`<div class=premium-section><div class=premium-active-badge>Premium Active</div><p class=premium-detail></p><div class=premium-actions-row><button class="premium-btn premium-btn-manage">Manage Subscription</button><button class="premium-btn premium-btn-reset">Sign Out`), _tmpl$3$3 = /* @__PURE__ */ template(`<div class=vault-entries>`), _tmpl$4$2 = /* @__PURE__ */ template(`<div class=settings-category-panel><div class=settings-field><label class=settings-label>Support</label><div class=settings-inline-actions><button class=settings-secondary-btn></button></div></div><div class=settings-field><label class=settings-label>Vessel Premium</label></div><div class=settings-field><label class=settings-label>Saved Sessions</label><p class=settings-hint style=margin-bottom:10px>Save the current browser state (tabs, cookies, storage) as a named session. Restore it later from this panel.</p><div class=premium-activate-row style=margin-bottom:8px><input class="settings-input premium-email-input"placeholder="Session name"><button class="premium-btn premium-btn-activate">Save Current`), _tmpl$5$2 = /* @__PURE__ */ template(`<p class=settings-status>`), _tmpl$6$2 = /* @__PURE__ */ template(`<div class=premium-activate-row><input class="settings-input premium-email-input"inputmode=numeric maxlength=6 placeholder="Enter 6-digit code"><button class="premium-btn premium-btn-activate">`), _tmpl$7$2 = /* @__PURE__ */ template(`<button class="premium-btn premium-btn-reset">Clear Saved Email`), _tmpl$8$1 = /* @__PURE__ */ template(`<div class=premium-section><p class=premium-description>Unlock screenshot/vision analysis, session management, Obsidian integration, workflow tracking, DevTools tools, table extraction, Agent Credential Vault, and unlimited tool iterations.</p><div class=premium-activate-row><input class="settings-input premium-email-input"type=email placeholder="Enter your subscription email"><button class="premium-btn premium-btn-activate"></button></div><button class="premium-btn premium-btn-upgrade">`), _tmpl$9 = /* @__PURE__ */ template(`<div class=vault-entry><div class=vault-entry-info><span class=vault-entry-label></span><span class=vault-entry-detail> &middot; <!> cookies &middot; <!> domains</span></div><div style=display:flex;gap:6px;align-items:center><button class="premium-btn premium-btn-activate"title="Restore this session (replaces current tabs and cookies)"style="padding:2px 10px;font-size:12px">Load</button><button class=vault-entry-remove title="Delete session">&times;`);
12706
12709
  const SettingsAccount = (props) => {
12707
12710
  const p = props.premium;
@@ -12958,7 +12961,7 @@ const SettingsAccount = (props) => {
12958
12961
  kind: "error",
12959
12962
  text: result.error || "Could not open billing portal."
12960
12963
  });
12961
- setTimeout(() => p.setMessage(null), 5e3);
12964
+ setTimeout(() => p.setMessage(null), STATUS_MESSAGE_LONG_CLEAR_MS);
12962
12965
  }
12963
12966
  };
12964
12967
  _el$17.$$click = async () => {
@@ -13001,7 +13004,7 @@ const SettingsAccount = (props) => {
13001
13004
  kind: "success",
13002
13005
  text: "Session saved."
13003
13006
  });
13004
- setTimeout(() => props.setStatus(null), 3e3);
13007
+ setTimeout(() => props.setStatus(null), STATUS_MESSAGE_CLEAR_MS);
13005
13008
  } catch (err) {
13006
13009
  props.setStatus({
13007
13010
  kind: "error",
@@ -13034,7 +13037,7 @@ const SettingsAccount = (props) => {
13034
13037
  kind: "success",
13035
13038
  text: `Session "${session.name}" restored.`
13036
13039
  });
13037
- setTimeout(() => props.setStatus(null), 3e3);
13040
+ setTimeout(() => props.setStatus(null), STATUS_MESSAGE_CLEAR_MS);
13038
13041
  } catch (err) {
13039
13042
  props.setStatus({
13040
13043
  kind: "error",
@@ -13250,7 +13253,7 @@ const Settings = () => {
13250
13253
  kind: "success",
13251
13254
  text: "Profile saved."
13252
13255
  });
13253
- setTimeout(() => setAutofillMessage(null), 3e3);
13256
+ setTimeout(() => setAutofillMessage(null), STATUS_MESSAGE_CLEAR_MS);
13254
13257
  await loadAutofillProfiles();
13255
13258
  } catch (err) {
13256
13259
  setAutofillMessage({
@@ -13277,7 +13280,7 @@ const Settings = () => {
13277
13280
  text: "No matching fields found on this page."
13278
13281
  });
13279
13282
  }
13280
- setTimeout(() => setAutofillMessage(null), 3e3);
13283
+ setTimeout(() => setAutofillMessage(null), STATUS_MESSAGE_CLEAR_MS);
13281
13284
  } catch (err) {
13282
13285
  setAutofillMessage({
13283
13286
  kind: "error",
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta http-equiv="Content-Security-Policy" content="default-src 'self'; base-uri 'none'; object-src 'none'; frame-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'; font-src 'self' data:; form-action 'self';" />
7
7
  <title>Vessel</title>
8
- <script type="module" crossorigin src="./assets/index-BjtfG1IG.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-3HMjZNhK.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="./assets/index-CWy6khUL.css">
10
10
  </head>
11
11
  <body>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quanta-intellect/vessel-browser",
3
3
  "mcpName": "io.github.unmodeled-tyler/vessel-browser",
4
- "version": "0.1.132",
4
+ "version": "0.1.133",
5
5
  "description": "AI-native web browser runtime for autonomous agents with human supervision",
6
6
  "main": "./out/main/index.js",
7
7
  "bin": {