@generativereality/cctabs 0.1.0 → 0.1.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.
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +3 -3
- package/dist/index.js +5 -5
- package/package.json +1 -1
- package/skills/{herd → cctabs}/SKILL.md +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cctabs",
|
|
3
3
|
"description": "Claude Code tab manager. Terminal tabs as the UI, no tmux. Claude can orchestrate its own sibling sessions.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "generativereality",
|
|
7
7
|
"url": "https://cctabs.com"
|
package/README.md
CHANGED
|
@@ -55,9 +55,9 @@ npm install -g cctabs
|
|
|
55
55
|
**Skill only** (if you already have the CLI installed via npm):
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
mkdir -p .claude/skills/
|
|
59
|
-
curl -fsSL https://raw.githubusercontent.com/generativereality/cctabs/main/skills/
|
|
60
|
-
-o .claude/skills/
|
|
58
|
+
mkdir -p .claude/skills/cctabs
|
|
59
|
+
curl -fsSL https://raw.githubusercontent.com/generativereality/cctabs/main/skills/cctabs/SKILL.md \
|
|
60
|
+
-o .claude/skills/cctabs/SKILL.md
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
**Requirements:** [Wave Terminal](https://waveterm.dev) · macOS · Node.js 20+
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { consola } from "consola";
|
|
|
10
10
|
import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "fs";
|
|
11
11
|
//#region package.json
|
|
12
12
|
var name = "@generativereality/cctabs";
|
|
13
|
-
var version = "0.1.
|
|
13
|
+
var version = "0.1.1";
|
|
14
14
|
var description = "Claude Code tab manager. Terminal tabs as the UI, no tmux.";
|
|
15
15
|
var package_default = {
|
|
16
16
|
name,
|
|
@@ -633,7 +633,7 @@ const newCommand = define({
|
|
|
633
633
|
}
|
|
634
634
|
let initialPromptFile;
|
|
635
635
|
if (promptText) {
|
|
636
|
-
initialPromptFile = join(tmpdir(), `
|
|
636
|
+
initialPromptFile = join(tmpdir(), `cctabs-prompt-${Date.now()}.txt`);
|
|
637
637
|
writeFileSync(initialPromptFile, promptText);
|
|
638
638
|
} else if (promptFile) initialPromptFile = promptFile;
|
|
639
639
|
const tabId = await openSession({
|
|
@@ -1024,7 +1024,7 @@ const renameCommand = define({
|
|
|
1024
1024
|
const query = ctx.positionals[1];
|
|
1025
1025
|
const newName = ctx.positionals[2];
|
|
1026
1026
|
if (!query || !newName) {
|
|
1027
|
-
consola.error("Usage:
|
|
1027
|
+
consola.error("Usage: cctabs rename <tab> <new-name>");
|
|
1028
1028
|
process.exit(1);
|
|
1029
1029
|
}
|
|
1030
1030
|
const adapter = requireWaveAdapter();
|
|
@@ -1134,7 +1134,7 @@ const sendCommand = define({
|
|
|
1134
1134
|
const filePath = ctx.values.file;
|
|
1135
1135
|
const appendEnter = ctx.values.enter ?? true;
|
|
1136
1136
|
if (!query) {
|
|
1137
|
-
consola.error("Usage:
|
|
1137
|
+
consola.error("Usage: cctabs send <tab-or-block> [text]");
|
|
1138
1138
|
process.exit(1);
|
|
1139
1139
|
}
|
|
1140
1140
|
let rawText;
|
|
@@ -1254,7 +1254,7 @@ const restoreCommand = define({
|
|
|
1254
1254
|
continue;
|
|
1255
1255
|
}
|
|
1256
1256
|
if (sessions.length > 1) {
|
|
1257
|
-
consola.log(` ${tab.name} — multiple sessions found, skipping (use
|
|
1257
|
+
consola.log(` ${tab.name} — multiple sessions found, skipping (use cctabs resume --session to pick one)`);
|
|
1258
1258
|
results.push({
|
|
1259
1259
|
name: tab.name,
|
|
1260
1260
|
result: "ambiguous (multiple sessions)"
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: cctabs
|
|
3
3
|
description: Manage Claude Code sessions across terminal tabs (NOT browser tabs) — list running sessions, open new ones, fork, close, inspect output, and send input. Use this when working with multiple parallel Claude Code sessions in terminal tabs.
|
|
4
4
|
---
|
|
5
5
|
|