@nomadamas/k-skill 0.2.0 → 0.2.1

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.
@@ -6,5 +6,11 @@
6
6
  "browser",
7
7
  "action:booking"
8
8
  ],
9
- "frontmatter": "name: ktx-booking\ndescription: Search, reserve, inspect, and cancel KTX or Korail tickets in Korea with the korail2 + pycryptodome Python packages. Use when the user asks for KTX seats, Korail bookings, train changes, reservation status, remaining seat numbers, car-by-car seats, or power-outlet/good-seat tips. 돌쇠에서는 공식 표면을 통한 후속 액션까지 진행한다.\nlicense: MIT\nmetadata:\n category: travel\n locale: ko-KR\n phase: v1"
9
+ "frontmatter": "name: ktx-booking\ndescription: Search, reserve, inspect, and cancel KTX or Korail tickets in Korea with the korail2 + pycryptodome Python packages. Use when the user asks for KTX seats, Korail bookings, train changes, reservation status, remaining seat numbers, car-by-car seats, or power-outlet/good-seat tips. 돌쇠에서는 공식 표면을 통한 후속 액션까지 진행한다.\nlicense: MIT\nmetadata:\n category: travel\n locale: ko-KR\n phase: v1",
10
+ "bundle": [
11
+ {
12
+ "from": "scripts/ktx_booking.py",
13
+ "to": "scripts/ktx_booking.py"
14
+ }
15
+ ]
10
16
  }
package/src/assemble.js CHANGED
@@ -251,6 +251,7 @@ function bundledFiles(skillName) {
251
251
  while (stack.length) {
252
252
  const currentDir = stack.pop();
253
253
  for (const entry of fs.readdirSync(currentDir, { withFileTypes: true })) {
254
+ if (entry.name === "__pycache__" || entry.name.startsWith(".") || entry.name.endsWith(".pyc")) continue;
254
255
  const full = path.join(currentDir, entry.name);
255
256
  if (entry.isDirectory()) stack.push(full);
256
257
  else results.push(full);