ccwebtty 1.0.5 → 1.0.6

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/dist/index.js CHANGED
@@ -485,10 +485,10 @@ function fetchLatestVersion() {
485
485
  async function checkUpdate() {
486
486
  try {
487
487
  const latest = await fetchLatestVersion();
488
- if (latest !== "1.0.5") {
488
+ if (latest !== "1.0.6") {
489
489
  console.log(
490
490
  `
491
- New version available: ${"1.0.5"} -> \x1B[32m${latest}\x1B[0m`
491
+ New version available: ${"1.0.6"} -> \x1B[32m${latest}\x1B[0m`
492
492
  );
493
493
  console.log(` Run \x1B[36mccweb update\x1B[0m to update
494
494
  `);
@@ -499,11 +499,11 @@ async function checkUpdate() {
499
499
  async function selfUpdate() {
500
500
  try {
501
501
  const latest = await fetchLatestVersion();
502
- if (latest === "1.0.5") {
503
- console.log(`Already up to date (v${"1.0.5"})`);
502
+ if (latest === "1.0.6") {
503
+ console.log(`Already up to date (v${"1.0.6"})`);
504
504
  return;
505
505
  }
506
- console.log(`Updating ${PKG_NAME}: ${"1.0.5"} -> ${latest} ...`);
506
+ console.log(`Updating ${PKG_NAME}: ${"1.0.6"} -> ${latest} ...`);
507
507
  (0, import_child_process2.execSync)(`npm install -g ${PKG_NAME}@latest`, { stdio: "inherit" });
508
508
  console.log(`Successfully updated to v${latest}`);
509
509
  } catch (err) {
@@ -514,7 +514,7 @@ async function selfUpdate() {
514
514
 
515
515
  // src/index.ts
516
516
  var program = new import_commander.Command();
517
- program.name("ccweb").description("A CLI tool that exposes an interactive web terminal in the browser").version("1.0.5");
517
+ program.name("ccweb").description("A CLI tool that exposes an interactive web terminal in the browser").version("1.0.6");
518
518
  program.command("update").description("Update ccweb to the latest version").action(async () => {
519
519
  await selfUpdate();
520
520
  });
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2
+ <rect width="32" height="32" rx="6" fill="#1a1b26"/>
3
+ <rect x="1" y="1" width="30" height="30" rx="5" fill="none" stroke="#292e42" stroke-width="1"/>
4
+ <path d="M7 21l7-7-7-7" stroke="#7aa2f7" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
5
+ <line x1="17" y1="21" x2="25" y2="21" stroke="#565f89" stroke-width="2.5" stroke-linecap="round"/>
6
+ </svg>
@@ -4,6 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, interactive-widget=resizes-content" />
6
6
  <title>ccweb - Web Terminal</title>
7
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
7
8
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xterm/xterm@5.5.0/css/xterm.min.css" />
8
9
  <style>
9
10
  * { margin: 0; padding: 0; box-sizing: border-box; }
@@ -4,6 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>ccweb - Login</title>
7
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
7
8
  <style>
8
9
  * { margin: 0; padding: 0; box-sizing: border-box; }
9
10
  html, body { height: 100%; background: #1a1b26; color: #a9b1d6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccwebtty",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Remote-control your computer's terminal from any browser — run Claude Code, Cursor Agent, Aider and more from your phone",
5
5
  "main": "dist/index.js",
6
6
  "bin": {