Fix: Unified plug identity to Library/sstent/icalendar (v0.3.18)
All checks were successful
Build SilverBullet Plug / build (push) Successful in 28s

This commit is contained in:
2026-02-17 16:04:22 -08:00
parent 2f4499a068
commit 4030c3fef0
6 changed files with 41 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
---
name: Library/sstent/icalendar
version: 0.3.17
version: 0.3.18
tags: meta/library
files:
- icalendar.plug.js
---
iCalendar sync plug for SilverBullet.
iCalendar sync plug for SilverBullet.

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
name: Library/sstent/icalendar
version: 0.3.17
version: 0.3.18
author: sstent
index: icalendar.ts
permissions:
@@ -27,4 +27,4 @@ functions:
path: icalendar.ts:showVersion
command:
name: "iCalendar: Version"
priority: -2
priority: -2

View File

@@ -1,7 +1,7 @@
import { clientStore, config, datastore, editor, index } from "@silverbulletmd/silverbullet/syscalls";
import { convertIcsCalendar } from "https://esm.sh/ts-ics@2.4.0";
const VERSION = "0.3.17";
const VERSION = "0.3.18";
const CACHE_KEY = "icalendar:lastSync";
console.log(`[iCalendar] Plug script executing at top level (Version ${VERSION})`);

BIN
repro_check.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

35
verify_test_results.cjs Normal file
View File

@@ -0,0 +1,35 @@
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const context = await browser.newContext();
const page = await context.newPage();
page.on('console', msg => {
console.log(`[BROWSER] ${msg.text()}`);
});
console.log('Logging in...');
await page.goto('http://localhost:3000/.auth');
await page.fill('input[type="text"]', 'admin');
await page.fill('input[type="password"]', 'admin');
await page.click('button:has-text("Login")');
await page.waitForNavigation();
console.log('Waiting 30s for indexing and plug activation...');
await page.waitForTimeout(30000);
// Check command palette
console.log('Opening command palette to check for iCalendar commands...');
await page.keyboard.press('Control+/');
await page.waitForTimeout(2000);
await page.keyboard.type('iCalendar:');
await page.waitForTimeout(2000);
const body = await page.innerText('body');
console.log('--- Body Output ---');
console.log(body);
await page.screenshot({ path: 'repro_check.png', fullPage: true });
await browser.close();
})();