@industry-theme/agent-panels 0.2.5 → 0.2.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"SkillDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/SkillDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAQpD,OAAO,wBAAwB,CAAC;AAEhC,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;CAAG;AAErE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAsP5D,CAAC"}
1
+ {"version":3,"file":"SkillDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/SkillDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAQpD,OAAO,wBAAwB,CAAC;AAEhC,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;CAAG;AAErE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA+R5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SkillCard.d.ts","sourceRoot":"","sources":["../../../../src/panels/skills/components/SkillCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAEjE,UAAU,cAAc;IACtB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAkDD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAkR9C,CAAC"}
1
+ {"version":3,"file":"SkillCard.d.ts","sourceRoot":"","sources":["../../../../src/panels/skills/components/SkillCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAEjE,UAAU,cAAc;IACtB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAkDD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAyS9C,CAAC"}
@@ -28,6 +28,7 @@ export interface Skill {
28
28
  source: SkillSource;
29
29
  priority: 1 | 2 | 3 | 4 | 5;
30
30
  metadata?: SkillMetadata;
31
+ hasFrontmatter: boolean;
31
32
  }
32
33
  /**
33
34
  * Global skills data provided by the host application
@@ -1 +1 @@
1
- {"version":3,"file":"useSkillsData.d.ts","sourceRoot":"","sources":["../../../../src/panels/skills/hooks/useSkillsData.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,MAAM,WAAW,GACnB,mBAAmB,GACnB,kBAAkB,GAClB,gBAAgB,GAChB,eAAe,GACf,eAAe,CAAC;AAEpB,MAAM,WAAW,aAAa;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,EAAE,CA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AU,mBAAmB;IAC3B,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACpC;AAsND;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,cAE3B,mBAAmB,KAAG,mBAiHxB,CAAC"}
@@ -2201,7 +2201,7 @@ const createLucideIcon = (iconName, iconNode) => {
2201
2201
  * This source code is licensed under the ISC license.
2202
2202
  * See the LICENSE file in the root directory of this source tree.
2203
2203
  */
2204
- const __iconNode$n = [
2204
+ const __iconNode$o = [
2205
2205
  ["path", { d: "M12 7v14", key: "1akyts" }],
2206
2206
  [
2207
2207
  "path",
@@ -2211,14 +2211,14 @@ const __iconNode$n = [
2211
2211
  }
2212
2212
  ]
2213
2213
  ];
2214
- const BookOpen = createLucideIcon("book-open", __iconNode$n);
2214
+ const BookOpen = createLucideIcon("book-open", __iconNode$o);
2215
2215
  /**
2216
2216
  * @license lucide-react v0.552.0 - ISC
2217
2217
  *
2218
2218
  * This source code is licensed under the ISC license.
2219
2219
  * See the LICENSE file in the root directory of this source tree.
2220
2220
  */
2221
- const __iconNode$m = [
2221
+ const __iconNode$n = [
2222
2222
  ["path", { d: "M12 8V4H8", key: "hb8ula" }],
2223
2223
  ["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
2224
2224
  ["path", { d: "M2 14h2", key: "vft8re" }],
@@ -2226,76 +2226,76 @@ const __iconNode$m = [
2226
2226
  ["path", { d: "M15 13v2", key: "1xurst" }],
2227
2227
  ["path", { d: "M9 13v2", key: "rq6x2g" }]
2228
2228
  ];
2229
- const Bot = createLucideIcon("bot", __iconNode$m);
2229
+ const Bot = createLucideIcon("bot", __iconNode$n);
2230
2230
  /**
2231
2231
  * @license lucide-react v0.552.0 - ISC
2232
2232
  *
2233
2233
  * This source code is licensed under the ISC license.
2234
2234
  * See the LICENSE file in the root directory of this source tree.
2235
2235
  */
2236
- const __iconNode$l = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
2237
- const Check = createLucideIcon("check", __iconNode$l);
2236
+ const __iconNode$m = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
2237
+ const Check = createLucideIcon("check", __iconNode$m);
2238
2238
  /**
2239
2239
  * @license lucide-react v0.552.0 - ISC
2240
2240
  *
2241
2241
  * This source code is licensed under the ISC license.
2242
2242
  * See the LICENSE file in the root directory of this source tree.
2243
2243
  */
2244
- const __iconNode$k = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
2245
- const ChevronDown = createLucideIcon("chevron-down", __iconNode$k);
2244
+ const __iconNode$l = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
2245
+ const ChevronDown = createLucideIcon("chevron-down", __iconNode$l);
2246
2246
  /**
2247
2247
  * @license lucide-react v0.552.0 - ISC
2248
2248
  *
2249
2249
  * This source code is licensed under the ISC license.
2250
2250
  * See the LICENSE file in the root directory of this source tree.
2251
2251
  */
2252
- const __iconNode$j = [
2252
+ const __iconNode$k = [
2253
2253
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
2254
2254
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
2255
2255
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
2256
2256
  ];
2257
- const CircleAlert = createLucideIcon("circle-alert", __iconNode$j);
2257
+ const CircleAlert = createLucideIcon("circle-alert", __iconNode$k);
2258
2258
  /**
2259
2259
  * @license lucide-react v0.552.0 - ISC
2260
2260
  *
2261
2261
  * This source code is licensed under the ISC license.
2262
2262
  * See the LICENSE file in the root directory of this source tree.
2263
2263
  */
2264
- const __iconNode$i = [
2264
+ const __iconNode$j = [
2265
2265
  ["path", { d: "m18 16 4-4-4-4", key: "1inbqp" }],
2266
2266
  ["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }],
2267
2267
  ["path", { d: "m14.5 4-5 16", key: "e7oirm" }]
2268
2268
  ];
2269
- const CodeXml = createLucideIcon("code-xml", __iconNode$i);
2269
+ const CodeXml = createLucideIcon("code-xml", __iconNode$j);
2270
2270
  /**
2271
2271
  * @license lucide-react v0.552.0 - ISC
2272
2272
  *
2273
2273
  * This source code is licensed under the ISC license.
2274
2274
  * See the LICENSE file in the root directory of this source tree.
2275
2275
  */
2276
- const __iconNode$h = [
2276
+ const __iconNode$i = [
2277
2277
  ["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
2278
2278
  ["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
2279
2279
  ];
2280
- const Code = createLucideIcon("code", __iconNode$h);
2280
+ const Code = createLucideIcon("code", __iconNode$i);
2281
2281
  /**
2282
2282
  * @license lucide-react v0.552.0 - ISC
2283
2283
  *
2284
2284
  * This source code is licensed under the ISC license.
2285
2285
  * See the LICENSE file in the root directory of this source tree.
2286
2286
  */
2287
- const __iconNode$g = [
2287
+ const __iconNode$h = [
2288
2288
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
2289
2289
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
2290
2290
  ];
2291
- const Copy = createLucideIcon("copy", __iconNode$g);
2291
+ const Copy = createLucideIcon("copy", __iconNode$h);
2292
2292
  /**
2293
2293
  * @license lucide-react v0.552.0 - ISC
2294
2294
  *
2295
2295
  * This source code is licensed under the ISC license.
2296
2296
  * See the LICENSE file in the root directory of this source tree.
2297
2297
  */
2298
- const __iconNode$f = [
2298
+ const __iconNode$g = [
2299
2299
  ["path", { d: "m15 15 6 6", key: "1s409w" }],
2300
2300
  ["path", { d: "m15 9 6-6", key: "ko1vev" }],
2301
2301
  ["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
@@ -2305,14 +2305,14 @@ const __iconNode$f = [
2305
2305
  ["path", { d: "M3 8V3h5", key: "1ln10m" }],
2306
2306
  ["path", { d: "M9 9 3 3", key: "v551iv" }]
2307
2307
  ];
2308
- const Expand = createLucideIcon("expand", __iconNode$f);
2308
+ const Expand = createLucideIcon("expand", __iconNode$g);
2309
2309
  /**
2310
2310
  * @license lucide-react v0.552.0 - ISC
2311
2311
  *
2312
2312
  * This source code is licensed under the ISC license.
2313
2313
  * See the LICENSE file in the root directory of this source tree.
2314
2314
  */
2315
- const __iconNode$e = [
2315
+ const __iconNode$f = [
2316
2316
  [
2317
2317
  "path",
2318
2318
  {
@@ -2324,14 +2324,14 @@ const __iconNode$e = [
2324
2324
  ["path", { d: "M10 12.5 8 15l2 2.5", key: "1tg20x" }],
2325
2325
  ["path", { d: "m14 12.5 2 2.5-2 2.5", key: "yinavb" }]
2326
2326
  ];
2327
- const FileCode = createLucideIcon("file-code", __iconNode$e);
2327
+ const FileCode = createLucideIcon("file-code", __iconNode$f);
2328
2328
  /**
2329
2329
  * @license lucide-react v0.552.0 - ISC
2330
2330
  *
2331
2331
  * This source code is licensed under the ISC license.
2332
2332
  * See the LICENSE file in the root directory of this source tree.
2333
2333
  */
2334
- const __iconNode$d = [
2334
+ const __iconNode$e = [
2335
2335
  [
2336
2336
  "path",
2337
2337
  {
@@ -2344,14 +2344,14 @@ const __iconNode$d = [
2344
2344
  ["path", { d: "M16 13H8", key: "t4e002" }],
2345
2345
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
2346
2346
  ];
2347
- const FileText = createLucideIcon("file-text", __iconNode$d);
2347
+ const FileText = createLucideIcon("file-text", __iconNode$e);
2348
2348
  /**
2349
2349
  * @license lucide-react v0.552.0 - ISC
2350
2350
  *
2351
2351
  * This source code is licensed under the ISC license.
2352
2352
  * See the LICENSE file in the root directory of this source tree.
2353
2353
  */
2354
- const __iconNode$c = [
2354
+ const __iconNode$d = [
2355
2355
  [
2356
2356
  "path",
2357
2357
  {
@@ -2369,14 +2369,14 @@ const __iconNode$c = [
2369
2369
  ["path", { d: "M3 5a2 2 0 0 0 2 2h3", key: "f2jnh7" }],
2370
2370
  ["path", { d: "M3 3v13a2 2 0 0 0 2 2h3", key: "k8epm1" }]
2371
2371
  ];
2372
- const FolderTree = createLucideIcon("folder-tree", __iconNode$c);
2372
+ const FolderTree = createLucideIcon("folder-tree", __iconNode$d);
2373
2373
  /**
2374
2374
  * @license lucide-react v0.552.0 - ISC
2375
2375
  *
2376
2376
  * This source code is licensed under the ISC license.
2377
2377
  * See the LICENSE file in the root directory of this source tree.
2378
2378
  */
2379
- const __iconNode$b = [
2379
+ const __iconNode$c = [
2380
2380
  [
2381
2381
  "path",
2382
2382
  {
@@ -2385,14 +2385,14 @@ const __iconNode$b = [
2385
2385
  }
2386
2386
  ]
2387
2387
  ];
2388
- const Folder = createLucideIcon("folder", __iconNode$b);
2388
+ const Folder = createLucideIcon("folder", __iconNode$c);
2389
2389
  /**
2390
2390
  * @license lucide-react v0.552.0 - ISC
2391
2391
  *
2392
2392
  * This source code is licensed under the ISC license.
2393
2393
  * See the LICENSE file in the root directory of this source tree.
2394
2394
  */
2395
- const __iconNode$a = [
2395
+ const __iconNode$b = [
2396
2396
  [
2397
2397
  "path",
2398
2398
  {
@@ -2402,49 +2402,49 @@ const __iconNode$a = [
2402
2402
  ],
2403
2403
  ["path", { d: "M9 18c-4.51 2-5-2-7-2", key: "9comsn" }]
2404
2404
  ];
2405
- const Github = createLucideIcon("github", __iconNode$a);
2405
+ const Github = createLucideIcon("github", __iconNode$b);
2406
2406
  /**
2407
2407
  * @license lucide-react v0.552.0 - ISC
2408
2408
  *
2409
2409
  * This source code is licensed under the ISC license.
2410
2410
  * See the LICENSE file in the root directory of this source tree.
2411
2411
  */
2412
- const __iconNode$9 = [
2412
+ const __iconNode$a = [
2413
2413
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
2414
2414
  ["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
2415
2415
  ["path", { d: "M2 12h20", key: "9i4pu4" }]
2416
2416
  ];
2417
- const Globe = createLucideIcon("globe", __iconNode$9);
2417
+ const Globe = createLucideIcon("globe", __iconNode$a);
2418
2418
  /**
2419
2419
  * @license lucide-react v0.552.0 - ISC
2420
2420
  *
2421
2421
  * This source code is licensed under the ISC license.
2422
2422
  * See the LICENSE file in the root directory of this source tree.
2423
2423
  */
2424
- const __iconNode$8 = [
2424
+ const __iconNode$9 = [
2425
2425
  ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
2426
2426
  ["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
2427
2427
  ["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
2428
2428
  ];
2429
- const Monitor = createLucideIcon("monitor", __iconNode$8);
2429
+ const Monitor = createLucideIcon("monitor", __iconNode$9);
2430
2430
  /**
2431
2431
  * @license lucide-react v0.552.0 - ISC
2432
2432
  *
2433
2433
  * This source code is licensed under the ISC license.
2434
2434
  * See the LICENSE file in the root directory of this source tree.
2435
2435
  */
2436
- const __iconNode$7 = [
2436
+ const __iconNode$8 = [
2437
2437
  ["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
2438
2438
  ["path", { d: "M2 12H22", key: "1m8cig" }]
2439
2439
  ];
2440
- const MoveRight = createLucideIcon("move-right", __iconNode$7);
2440
+ const MoveRight = createLucideIcon("move-right", __iconNode$8);
2441
2441
  /**
2442
2442
  * @license lucide-react v0.552.0 - ISC
2443
2443
  *
2444
2444
  * This source code is licensed under the ISC license.
2445
2445
  * See the LICENSE file in the root directory of this source tree.
2446
2446
  */
2447
- const __iconNode$6 = [
2447
+ const __iconNode$7 = [
2448
2448
  [
2449
2449
  "path",
2450
2450
  {
@@ -2456,14 +2456,14 @@ const __iconNode$6 = [
2456
2456
  ["polyline", { points: "3.29 7 12 12 20.71 7", key: "ousv84" }],
2457
2457
  ["path", { d: "m7.5 4.27 9 5.15", key: "1c824w" }]
2458
2458
  ];
2459
- const Package = createLucideIcon("package", __iconNode$6);
2459
+ const Package = createLucideIcon("package", __iconNode$7);
2460
2460
  /**
2461
2461
  * @license lucide-react v0.552.0 - ISC
2462
2462
  *
2463
2463
  * This source code is licensed under the ISC license.
2464
2464
  * See the LICENSE file in the root directory of this source tree.
2465
2465
  */
2466
- const __iconNode$5 = [
2466
+ const __iconNode$6 = [
2467
2467
  [
2468
2468
  "path",
2469
2469
  {
@@ -2472,31 +2472,49 @@ const __iconNode$5 = [
2472
2472
  }
2473
2473
  ]
2474
2474
  ];
2475
- const Play = createLucideIcon("play", __iconNode$5);
2475
+ const Play = createLucideIcon("play", __iconNode$6);
2476
2476
  /**
2477
2477
  * @license lucide-react v0.552.0 - ISC
2478
2478
  *
2479
2479
  * This source code is licensed under the ISC license.
2480
2480
  * See the LICENSE file in the root directory of this source tree.
2481
2481
  */
2482
- const __iconNode$4 = [
2482
+ const __iconNode$5 = [
2483
2483
  ["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
2484
2484
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
2485
2485
  ["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
2486
2486
  ["path", { d: "M8 16H3v5", key: "1cv678" }]
2487
2487
  ];
2488
- const RefreshCw = createLucideIcon("refresh-cw", __iconNode$4);
2488
+ const RefreshCw = createLucideIcon("refresh-cw", __iconNode$5);
2489
2489
  /**
2490
2490
  * @license lucide-react v0.552.0 - ISC
2491
2491
  *
2492
2492
  * This source code is licensed under the ISC license.
2493
2493
  * See the LICENSE file in the root directory of this source tree.
2494
2494
  */
2495
- const __iconNode$3 = [
2495
+ const __iconNode$4 = [
2496
2496
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
2497
2497
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
2498
2498
  ];
2499
- const Search = createLucideIcon("search", __iconNode$3);
2499
+ const Search = createLucideIcon("search", __iconNode$4);
2500
+ /**
2501
+ * @license lucide-react v0.552.0 - ISC
2502
+ *
2503
+ * This source code is licensed under the ISC license.
2504
+ * See the LICENSE file in the root directory of this source tree.
2505
+ */
2506
+ const __iconNode$3 = [
2507
+ [
2508
+ "path",
2509
+ {
2510
+ d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
2511
+ key: "wmoenq"
2512
+ }
2513
+ ],
2514
+ ["path", { d: "M12 9v4", key: "juzpu7" }],
2515
+ ["path", { d: "M12 17h.01", key: "p32p05" }]
2516
+ ];
2517
+ const TriangleAlert = createLucideIcon("triangle-alert", __iconNode$3);
2500
2518
  /**
2501
2519
  * @license lucide-react v0.552.0 - ISC
2502
2520
  *
@@ -2550,13 +2568,19 @@ const determineSkillSource = (path2) => {
2550
2568
  return { source: "project-other", priority: 5 };
2551
2569
  }
2552
2570
  };
2553
- const findSkillFiles = (fileTree) => {
2571
+ const findSkillFiles = (fileTree, isBrowserMode = false) => {
2554
2572
  const skillFiles = fileTree.allFiles.filter((file) => {
2555
2573
  const path2 = file.relativePath;
2556
2574
  const isMarkdown = file.name.endsWith(".md");
2557
- const isInSkillDir = path2.includes(".agent/skills/") || path2.includes(".claude/skills/");
2558
2575
  const isMetadata = file.name === ".metadata.json" || file.name.startsWith(".");
2559
- return isMarkdown && isInSkillDir && !isMetadata;
2576
+ if (isMetadata) {
2577
+ return false;
2578
+ }
2579
+ if (isBrowserMode) {
2580
+ return file.name === "SKILL.md" || file.name.toLowerCase() === "skill.md";
2581
+ }
2582
+ const isInSkillDir = path2.includes(".agent/skills/") || path2.includes(".claude/skills/");
2583
+ return isMarkdown && isInSkillDir;
2560
2584
  });
2561
2585
  return skillFiles.map((file) => file.relativePath);
2562
2586
  };
@@ -2592,7 +2616,22 @@ const analyzeSkillStructure = (fileTree, skillPath) => {
2592
2616
  assetFiles
2593
2617
  };
2594
2618
  };
2595
- const parseSkillContent = async (content2, path2, fileTree, fileSystemAdapter) => {
2619
+ const hasFrontmatterYAML = (content2) => {
2620
+ const trimmedContent = content2.trim();
2621
+ if (!trimmedContent.startsWith("---")) {
2622
+ return false;
2623
+ }
2624
+ const lines = trimmedContent.split("\n");
2625
+ let frontmatterEnd = -1;
2626
+ for (let i = 1; i < lines.length; i++) {
2627
+ if (lines[i].trim() === "---") {
2628
+ frontmatterEnd = i;
2629
+ break;
2630
+ }
2631
+ }
2632
+ return frontmatterEnd > 0;
2633
+ };
2634
+ const parseSkillContent = async (content2, path2, fileTree, fileSystemAdapter, isBrowserMode = false) => {
2596
2635
  const pathParts = path2.split("/");
2597
2636
  const fileName = pathParts[pathParts.length - 1];
2598
2637
  const parentDir = pathParts[pathParts.length - 2];
@@ -2621,7 +2660,7 @@ const parseSkillContent = async (content2, path2, fileTree, fileSystemAdapter) =
2621
2660
  const structure = analyzeSkillStructure(fileTree, path2);
2622
2661
  const { source: source2, priority } = determineSkillSource(path2);
2623
2662
  let metadata;
2624
- if (fileSystemAdapter && structure.skillFolderPath) {
2663
+ if (!isBrowserMode && fileSystemAdapter && structure.skillFolderPath) {
2625
2664
  try {
2626
2665
  const metadataPath = `${structure.skillFolderPath}/.metadata.json`;
2627
2666
  const metadataContent = await fileSystemAdapter.readFile(metadataPath);
@@ -2631,6 +2670,7 @@ const parseSkillContent = async (content2, path2, fileTree, fileSystemAdapter) =
2631
2670
  console.debug("[useSkillsData] No metadata file for skill:", skillDirName);
2632
2671
  }
2633
2672
  }
2673
+ const hasFrontmatter = hasFrontmatterYAML(content2);
2634
2674
  return {
2635
2675
  id: path2,
2636
2676
  name: skillDirName.replace(/-/g, " ").replace(/_/g, " "),
@@ -2642,7 +2682,8 @@ const parseSkillContent = async (content2, path2, fileTree, fileSystemAdapter) =
2642
2682
  ...structure,
2643
2683
  source: source2,
2644
2684
  priority,
2645
- metadata
2685
+ metadata,
2686
+ hasFrontmatter
2646
2687
  };
2647
2688
  };
2648
2689
  const useSkillsData = ({
@@ -2673,16 +2714,18 @@ const useSkillsData = ({
2673
2714
  try {
2674
2715
  let localSkills = [];
2675
2716
  if (fileTree && (fileSystem == null ? void 0 : fileSystem.readFile) && repoPath) {
2717
+ const isBrowserMode = !repoPath.startsWith("/");
2676
2718
  console.log("[useSkillsData] fileTree:", fileTree);
2677
2719
  console.log("[useSkillsData] typeof fileTree:", typeof fileTree);
2678
2720
  console.log("[useSkillsData] fileTree keys:", Object.keys(fileTree));
2679
- const skillPaths = findSkillFiles(fileTree);
2721
+ console.log("[useSkillsData] Browser mode:", isBrowserMode);
2722
+ const skillPaths = findSkillFiles(fileTree, isBrowserMode);
2680
2723
  console.log("[useSkillsData] Found skill paths:", skillPaths);
2681
2724
  const skillPromises = skillPaths.map(async (skillPath) => {
2682
2725
  try {
2683
- const fullPath = `${repoPath}/${skillPath}`;
2726
+ const fullPath = isBrowserMode ? skillPath : `${repoPath}/${skillPath}`;
2684
2727
  const content2 = await fileSystem.readFile(fullPath);
2685
- return parseSkillContent(content2, skillPath, fileTree, fileSystem);
2728
+ return parseSkillContent(content2, skillPath, fileTree, fileSystem, isBrowserMode);
2686
2729
  } catch (err) {
2687
2730
  console.error(`Failed to read skill at ${skillPath}:`, err);
2688
2731
  return null;
@@ -2890,6 +2933,30 @@ Installed: ${skill.metadata.installedAt ? new Date(skill.metadata.installedAt).t
2890
2933
  ] })
2891
2934
  ]
2892
2935
  }
2936
+ ),
2937
+ !skill.hasFrontmatter && /* @__PURE__ */ jsxs(
2938
+ "div",
2939
+ {
2940
+ style: {
2941
+ display: "inline-flex",
2942
+ alignItems: "center",
2943
+ gap: "4px",
2944
+ padding: "2px 6px",
2945
+ borderRadius: theme2.radii[1],
2946
+ backgroundColor: "#f59e0b15",
2947
+ // warning amber
2948
+ border: "1px solid #f59e0b30",
2949
+ fontSize: theme2.fontSizes[0],
2950
+ color: "#f59e0b",
2951
+ fontWeight: 500,
2952
+ width: "fit-content"
2953
+ },
2954
+ title: "This skill is missing YAML frontmatter metadata",
2955
+ children: [
2956
+ /* @__PURE__ */ jsx(TriangleAlert, { size: 10 }),
2957
+ /* @__PURE__ */ jsx("span", { children: "No Frontmatter" })
2958
+ ]
2959
+ }
2893
2960
  )
2894
2961
  ] })
2895
2962
  ] }),
@@ -48107,6 +48174,51 @@ const SkillDetailPanel = ({
48107
48174
  ]
48108
48175
  }
48109
48176
  ),
48177
+ !skill.hasFrontmatter && /* @__PURE__ */ jsxs(
48178
+ "div",
48179
+ {
48180
+ style: {
48181
+ padding: "1rem",
48182
+ borderBottom: `1px solid ${theme2.colors.border}`,
48183
+ display: "flex",
48184
+ alignItems: "center",
48185
+ gap: "0.75rem",
48186
+ backgroundColor: "#f59e0b15",
48187
+ // warning amber background
48188
+ borderLeft: "4px solid #f59e0b"
48189
+ },
48190
+ children: [
48191
+ /* @__PURE__ */ jsx(TriangleAlert, { size: 20, color: "#f59e0b" }),
48192
+ /* @__PURE__ */ jsxs("div", { style: { flex: 1 }, children: [
48193
+ /* @__PURE__ */ jsx(
48194
+ "div",
48195
+ {
48196
+ style: {
48197
+ fontSize: theme2.fontSizes[1],
48198
+ color: "#f59e0b",
48199
+ fontFamily: theme2.fonts.body,
48200
+ fontWeight: theme2.fontWeights.semibold,
48201
+ marginBottom: "0.25rem"
48202
+ },
48203
+ children: "Missing YAML Frontmatter"
48204
+ }
48205
+ ),
48206
+ /* @__PURE__ */ jsx(
48207
+ "div",
48208
+ {
48209
+ style: {
48210
+ fontSize: theme2.fontSizes[0],
48211
+ color: theme2.colors.textSecondary,
48212
+ fontFamily: theme2.fonts.body,
48213
+ lineHeight: "1.5"
48214
+ },
48215
+ children: "This skill is missing YAML frontmatter metadata. Skills should have frontmatter (like backlog tasks) to properly define metadata such as name, description, and capabilities."
48216
+ }
48217
+ )
48218
+ ] })
48219
+ ]
48220
+ }
48221
+ ),
48110
48222
  /* @__PURE__ */ jsx("div", { style: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ jsx(
48111
48223
  SkillMarkdown,
48112
48224
  {