Skip to content

Commit

Permalink
Merge branch 'agallardol/send-page-to-node' into agallardol/fix-store…
Browse files Browse the repository at this point in the history
…-persistence
  • Loading branch information
agallardol committed Oct 11, 2023
2 parents 79104af + 023fa4e commit 970a104
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/shinkai-visor/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"description": "Open/Close Shinkai popup"
}
},
"permissions": ["storage", "contextMenus", "offscreen", "scripting"],
"permissions": ["storage", "contextMenus"],
"host_permissions": ["<all_urls>"],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ export enum ServiceWorkerMessageType {
ContentScript = 'content-script',
SendToAgent = 'send-to-agent',
SendPageToAgent = 'send-page-to-agent',
OffscreenMessageType = 'offscreen',
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ContentScriptMessage } from './content-script-message';
import { OffscreenMessage } from './offscreen-message';
import { ServiceWorkerMessageType } from './service-worker-message-type';

export type ServiceWorkerMessage =
Expand All @@ -12,6 +11,5 @@ export type ServiceWorkerMessage =
}
| {
type: ServiceWorkerMessageType.SendPageToAgent;
}
| { type: ServiceWorkerMessageType.OffscreenMessageType; data: OffscreenMessage };
};

0 comments on commit 970a104

Please sign in to comment.