Enhance SkillsGrid and Manifest Handling

- Added `ignoreInProduction` property to `SkillListEntry` and updated processing logic to filter skills based on the `IS_DEV` flag.
- Updated Rust structures in the Tauri backend to include `ignoreInProduction` in the skill manifest.
- Refactored desktop deep link listener to remove unnecessary `IS_DEV` checks.
- Improved JSON serialization handling in QuickJS skill instance.
This commit is contained in:
Steven Enamakel
2026-02-09 09:07:51 +05:30
parent 63625ae08e
commit af15c7c8e1
5 changed files with 42 additions and 31 deletions
+3 -3
View File
@@ -5,7 +5,6 @@ import { skillManager } from '../lib/skills/manager';
import { consumeLoginToken } from '../services/api/authApi';
import { store } from '../store';
import { setToken } from '../store/authSlice';
import { IS_DEV } from './config';
/**
* Handle an `alphahuman://auth?token=...` deep link for login.
@@ -126,8 +125,9 @@ export const setupDesktopDeepLinkListener = async () => {
void handleDeepLinkUrls(urls);
});
if (IS_DEV && typeof window !== 'undefined') {
// window.__simulateDeepLink('alphahuman//auth?token=1234567890')
if (typeof window !== 'undefined') {
// window.__simulateDeepLink('alphahuman://auth?token=1234567890')
// window.__simulateDeepLink('alphahuman://oauth/success?integrationId=6989178fad6dbfe9b137f577&skillId=notion')
(
window as Window & { __simulateDeepLink?: (url: string) => Promise<void> }
).__simulateDeepLink = (url: string) => handleDeepLinkUrls([url]);