@dealdeploy/skl 1.10.0 → 1.10.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.
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: yolo
3
+ description: Commit all changes, push to remote, and deploy in one shot with no confirmations. Use when user says "yolo", wants to ship fast, or asks to commit+push+deploy in one go.
4
+ ---
5
+
6
+ # YOLO
7
+
8
+ Full send: commit, push, deploy. No stopping.
9
+
10
+ ## Steps
11
+
12
+ 1. **Stage everything**: `git add -A`
13
+ 2. **Commit**: Write a concise commit message based on the diff. Do NOT ask the user for a message — just write one.
14
+ 3. **Push**: `git push` to the current branch's remote. If no upstream, use `git push -u origin HEAD`.
15
+ 4. **Deploy**: Run `bun run deploy` from the repo root. This does a patch bump by default.
16
+ - If the user says "minor" or "major", run `bun run deploy:minor` or `bun run deploy:major` instead.
17
+
18
+ ## Rules
19
+
20
+ - Do NOT ask for confirmation at any step. Just do it.
21
+ - Do NOT pause between steps. Run them back to back.
22
+ - If any step fails, stop and report the error.
23
+ - Always include `Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>` in the commit message.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dealdeploy/skl",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "TUI skill manager for Claude Code agents",
5
5
  "module": "index.ts",
6
6
  "bin": {
package/skills-lock.json CHANGED
@@ -5,6 +5,11 @@
5
5
  "source": "vercel-labs/agent-browser",
6
6
  "sourceType": "github",
7
7
  "computedHash": "46eddb8bcb7de8e7c75ff53ee54bf764a576a923d19765b4ef6a71bb04755db6"
8
+ },
9
+ "yolo": {
10
+ "source": "matiacone/dotfiles",
11
+ "sourceType": "github",
12
+ "computedHash": "f60574ed5c0226568c153a01804b7ee0552e9dde4af13af28b1629b037d5bae1"
8
13
  }
9
14
  }
10
15
  }
package/tui.ts CHANGED
@@ -265,8 +265,6 @@ export function createTui(renderer: CliRenderer, deps: TuiDeps) {
265
265
  };
266
266
  const rows: RowRefs[] = new Array(allSkills.length);
267
267
 
268
- scrollBox.add(searchRow);
269
-
270
268
  for (let di = 0; di < displayItems.length; di++) {
271
269
  const item = displayItems[di]!;
272
270
  if (item.type === "header") {
@@ -369,6 +367,7 @@ export function createTui(renderer: CliRenderer, deps: TuiDeps) {
369
367
 
370
368
  outer.add(colHeaderRow);
371
369
  outer.add(sep);
370
+ outer.add(searchRow);
372
371
  outer.add(scrollBox);
373
372
  outer.add(footerSep);
374
373
  outer.add(footer);
@@ -509,23 +508,34 @@ export function createTui(renderer: CliRenderer, deps: TuiDeps) {
509
508
  function ensureVisible() {
510
509
  if (focusArea === "search") {
511
510
  scrollBox.scrollTo(0);
512
- } else {
513
- const targetDi = filteredDisplayIndices[cursor];
514
- if (targetDi === undefined) return;
515
- let visibleBefore = 0;
516
- for (let di = 0; di < targetDi; di++) {
517
- const item = displayItems[di]!;
518
- if (item.type === "header") {
519
- const ref = headerRefs.get(di)!;
520
- if (ref.row.visible) {
521
- visibleBefore++;
522
- if (ref.spacer.visible) visibleBefore++;
523
- }
524
- } else {
525
- if (rows[item.skillIndex]!.row.visible) visibleBefore++;
511
+ return;
512
+ }
513
+
514
+ const targetDi = filteredDisplayIndices[cursor];
515
+ if (targetDi === undefined) return;
516
+
517
+ let cursorPos = 0;
518
+ for (let di = 0; di < targetDi; di++) {
519
+ const item = displayItems[di]!;
520
+ if (item.type === "header") {
521
+ const ref = headerRefs.get(di)!;
522
+ if (ref.row.visible) {
523
+ cursorPos++;
524
+ if (ref.spacer.visible) cursorPos++;
526
525
  }
526
+ } else {
527
+ if (rows[item.skillIndex]!.row.visible) cursorPos++;
527
528
  }
528
- scrollBox.scrollTo(Math.max(0, visibleBefore + 2 - 2));
529
+ }
530
+
531
+ const top = scrollBox.scrollTop;
532
+ const termH = (renderer as any).height ?? process.stdout.rows ?? 24;
533
+ const viewportH = termH - 6;
534
+
535
+ if (cursorPos < top) {
536
+ scrollBox.scrollTo(cursorPos);
537
+ } else if (cursorPos >= top + viewportH) {
538
+ scrollBox.scrollTo(cursorPos - viewportH + 1);
529
539
  }
530
540
  }
531
541