tazavibe 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/README.md
CHANGED
|
@@ -56,6 +56,18 @@
|
|
|
56
56
|
- Лендинг (`landing/`) написан с нуля без библиотек, шрифтов и CDN.
|
|
57
57
|
- Чужого кода и готовых шаблонов в проекте нет; всё остальное написано во время хакатона с Claude Code.
|
|
58
58
|
|
|
59
|
+
### Установка
|
|
60
|
+
|
|
61
|
+
Опубликовано на [npm](https://www.npmjs.com/package/tazavibe) и [PyPI](https://pypi.org/project/tazavibe/) (нужен Node.js 22+):
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
npx tazavibe # без установки
|
|
65
|
+
npm install -g tazavibe # или: pip install tazavibe / pipx install tazavibe
|
|
66
|
+
taza
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Для проверки жюри ниже — запуск из репозитория, пошагово, на демо-проектах.
|
|
70
|
+
|
|
59
71
|
### Запуск локально (пошагово)
|
|
60
72
|
|
|
61
73
|
**Нужно:** Node.js **22+** и git. Docker и Python не обязательны.
|
|
@@ -98,7 +110,7 @@ npm test # 63 теста
|
|
|
98
110
|
|
|
99
111
|
Сайт продукта: `node dist/cli.js site` (лендинг лежит внутри пакета, открывается в браузере без интернета; то же в меню). Свои проекты: `node dist/cli.js scan ~/projects` или просто `node dist/cli.js` в нужной папке. Защита коммитов: `node dist/cli.js hook <репозиторий>`. Язык: `--lang ru|en`.
|
|
100
112
|
|
|
101
|
-
**Как команду `taza
|
|
113
|
+
**Как команду `taza` из исходников:** `npm link`, затем `taza`. **pip из исходников:** `npm run build:py && pip install ./python`.
|
|
102
114
|
|
|
103
115
|
### Как мы использовали Claude Code
|
|
104
116
|
|
|
@@ -188,6 +200,18 @@ Everything runs **locally**: keys, code and logs never leave the machine.
|
|
|
188
200
|
- The landing page (`landing/`) is written from scratch with no libraries, fonts or CDNs.
|
|
189
201
|
- No third-party code or ready-made templates; everything else was written during the hackathon with Claude Code.
|
|
190
202
|
|
|
203
|
+
### Install
|
|
204
|
+
|
|
205
|
+
Published on [npm](https://www.npmjs.com/package/tazavibe) and [PyPI](https://pypi.org/project/tazavibe/) (requires Node.js 22+):
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
npx tazavibe # no install
|
|
209
|
+
npm install -g tazavibe # or: pip install tazavibe / pipx install tazavibe
|
|
210
|
+
taza
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
For the jury, below is a step-by-step run from the repository on demo projects.
|
|
214
|
+
|
|
191
215
|
### Run locally (step by step)
|
|
192
216
|
|
|
193
217
|
**Requires:** Node.js **22+** and git. Docker and Python are optional.
|
|
@@ -230,7 +254,7 @@ npm test # 63 tests
|
|
|
230
254
|
|
|
231
255
|
Product website: `node dist/cli.js site` (the landing page ships inside the package and opens in the browser offline; also in the menu). Your own projects: `node dist/cli.js scan ~/projects`, or just `node dist/cli.js` in the folder. Commit guard: `node dist/cli.js hook <repo>`. Language: `--lang ru|en`.
|
|
232
256
|
|
|
233
|
-
**As the `taza` command:** `npm link`, then `taza`. **
|
|
257
|
+
**As the `taza` command from source:** `npm link`, then `taza`. **pip from source:** `npm run build:py && pip install ./python`.
|
|
234
258
|
|
|
235
259
|
### How we used Claude Code
|
|
236
260
|
|
|
@@ -1890,6 +1890,9 @@ function renderCostsReport(claude, services, leakedByProject, t) {
|
|
|
1890
1890
|
return lines.join("\n");
|
|
1891
1891
|
}
|
|
1892
1892
|
|
|
1893
|
+
// src/version.ts
|
|
1894
|
+
var VERSION = "0.1.1";
|
|
1895
|
+
|
|
1893
1896
|
export {
|
|
1894
1897
|
exists,
|
|
1895
1898
|
git,
|
|
@@ -1921,5 +1924,6 @@ export {
|
|
|
1921
1924
|
usd,
|
|
1922
1925
|
compactNumber,
|
|
1923
1926
|
cachePercent,
|
|
1924
|
-
renderCostsReport
|
|
1927
|
+
renderCostsReport,
|
|
1928
|
+
VERSION
|
|
1925
1929
|
};
|
package/dist/cli.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DemoTargetNotEmptyError,
|
|
4
4
|
PROVIDER_TO_SERVICE,
|
|
5
|
+
VERSION,
|
|
5
6
|
brandLabel,
|
|
6
7
|
createDemo,
|
|
7
8
|
deleteJunk,
|
|
@@ -21,7 +22,7 @@ import {
|
|
|
21
22
|
scanSecrets,
|
|
22
23
|
scanStaged,
|
|
23
24
|
translateDockerAge
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6G6TY3QL.js";
|
|
25
26
|
|
|
26
27
|
// src/cli.ts
|
|
27
28
|
import { parseArgs } from "util";
|
|
@@ -541,7 +542,6 @@ function renderSecretsReports(reports, lang) {
|
|
|
541
542
|
}
|
|
542
543
|
|
|
543
544
|
// src/cli.ts
|
|
544
|
-
var VERSION = "0.1.0";
|
|
545
545
|
var CLI_PATH = fileURLToPath(import.meta.url);
|
|
546
546
|
function findSite() {
|
|
547
547
|
const candidate = path.join(path.dirname(CLI_PATH), "..", "landing", "index.html");
|
|
@@ -619,7 +619,7 @@ async function main() {
|
|
|
619
619
|
console.error(pc3.red(t.pathMissing(startPath)));
|
|
620
620
|
return 2;
|
|
621
621
|
}
|
|
622
|
-
const { startTui } = await import("./tui-
|
|
622
|
+
const { startTui } = await import("./tui-N7EENR2R.js");
|
|
623
623
|
await startTui({ t, startPath, cliPath: CLI_PATH, autoScan: Boolean(first), sitePath: findSite() });
|
|
624
624
|
return 0;
|
|
625
625
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DemoTargetNotEmptyError,
|
|
4
4
|
PROVIDER_TO_SERVICE,
|
|
5
|
+
VERSION,
|
|
5
6
|
cachePercent,
|
|
6
7
|
compactNumber,
|
|
7
8
|
createDemo,
|
|
@@ -26,7 +27,7 @@ import {
|
|
|
26
27
|
trackedFiles,
|
|
27
28
|
translateDockerAge,
|
|
28
29
|
usd
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6G6TY3QL.js";
|
|
30
31
|
import {
|
|
31
32
|
openFile,
|
|
32
33
|
openUrl
|
|
@@ -415,7 +416,10 @@ function Header({ t, right, state = "idle", big = false, width = 120 }) {
|
|
|
415
416
|
/* @__PURE__ */ jsx2(Text2, { children: " " }),
|
|
416
417
|
/* @__PURE__ */ jsxs(Text2, { children: [
|
|
417
418
|
/* @__PURE__ */ jsx2(Wordmark, {}),
|
|
418
|
-
/* @__PURE__ */
|
|
419
|
+
/* @__PURE__ */ jsxs(Text2, { color: "gray", children: [
|
|
420
|
+
" v",
|
|
421
|
+
VERSION
|
|
422
|
+
] })
|
|
419
423
|
] }),
|
|
420
424
|
/* @__PURE__ */ jsx2(Text2, { color: "gray", children: t.ui.tagline }),
|
|
421
425
|
/* @__PURE__ */ jsx2(Text2, { children: " " }),
|
|
@@ -1241,7 +1245,7 @@ function CostsPane({ t, claude, services, leaked, rows, width = 120, active, set
|
|
|
1241
1245
|
// src/tui/App.tsx
|
|
1242
1246
|
import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1243
1247
|
function splashSide(tagline, where2) {
|
|
1244
|
-
return ["", bold(
|
|
1248
|
+
return ["", bold(`TazaVibe v${VERSION}`), dim(tagline), "", dim(where2), "", ""];
|
|
1245
1249
|
}
|
|
1246
1250
|
var TABS = ["guard", "cleaner", "costs"];
|
|
1247
1251
|
function App({ t, startPath, cliPath, autoScan, docker: withDocker = true, claudeLogDir, sitePath }) {
|
package/landing/index.html
CHANGED
|
@@ -103,14 +103,14 @@
|
|
|
103
103
|
</button>
|
|
104
104
|
</div>
|
|
105
105
|
<a class="btn-ghost" href="#install">
|
|
106
|
-
<span data-l="ru"
|
|
106
|
+
<span data-l="ru">Как установить</span><span data-l="en">How to install</span>
|
|
107
107
|
<svg aria-hidden="true"><use href="#i-arrow"/></svg>
|
|
108
108
|
</a>
|
|
109
109
|
</div>
|
|
110
110
|
<p class="hero__note rise" style="--d:5">
|
|
111
|
-
<span class="tag tag--
|
|
112
|
-
<span data-l="ru"
|
|
113
|
-
<span data-l="en">
|
|
111
|
+
<span class="tag tag--ok" data-l="ru">на npm и PyPI</span><span class="tag tag--ok" data-l="en">on npm and PyPI</span>
|
|
112
|
+
<span data-l="ru"><code>npx tazavibe</code> или <code>pip install tazavibe</code>. Нужен Node.js 22+.</span>
|
|
113
|
+
<span data-l="en"><code>npx tazavibe</code> or <code>pip install tazavibe</code>. Requires Node.js 22+.</span>
|
|
114
114
|
</p>
|
|
115
115
|
|
|
116
116
|
<ul class="facts rise" style="--d:6" aria-label="Совместимость" data-aria-ru="Совместимость" data-aria-en="Compatibility">
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
<div class="banner">
|
|
138
138
|
<svg class="taza taza--sm" data-taza="mock" viewBox="0 0 16 14" aria-hidden="true" focusable="false"><g fill="#a07440"><rect x="4" y="0" width="1" height="1"/><rect x="11" y="0" width="1" height="1"/><rect x="3" y="1" width="2" height="1"/><rect x="11" y="1" width="2" height="1"/><rect x="3" y="2" width="2" height="1"/><rect x="11" y="2" width="2" height="1"/><rect x="2" y="3" width="3" height="1"/><rect x="11" y="3" width="3" height="1"/><rect x="2" y="4" width="3" height="1"/><rect x="11" y="4" width="3" height="1"/></g><g fill="#e2bc7c"><rect x="6" y="0" width="4" height="1"/><rect x="5" y="1" width="6" height="1"/><rect x="5" y="2" width="1" height="1"/><rect x="7" y="2" width="2" height="1"/><rect x="10" y="2" width="1" height="1"/><rect x="5" y="3" width="1" height="1"/><rect x="7" y="3" width="2" height="1"/><rect x="10" y="3" width="1" height="1"/><rect x="5" y="4" width="6" height="1"/><rect x="5" y="5" width="2" height="1"/><rect x="9" y="5" width="2" height="1"/><rect x="6" y="6" width="1" height="1"/><rect x="9" y="6" width="1" height="1"/><rect x="6" y="7" width="1" height="1"/><rect x="9" y="7" width="1" height="1"/><rect x="4" y="9" width="1" height="1"/><rect x="11" y="9" width="1" height="1"/><rect x="4" y="10" width="1" height="1"/><rect x="11" y="10" width="3" height="1"/><rect x="4" y="11" width="3" height="1"/><rect x="9" y="11" width="3" height="1"/><rect x="4" y="12" width="3" height="1"/><rect x="9" y="12" width="3" height="1"/></g><g fill="#eb5050"><rect x="14" y="0" width="1" height="1"/><rect x="14" y="1" width="1" height="1"/><rect x="14" y="3" width="1" height="1"/></g><g fill="#faf1de"><rect x="6" y="2" width="1" height="1"/><rect x="9" y="2" width="1" height="1"/><rect x="7" y="5" width="2" height="1"/><rect x="7" y="6" width="2" height="1"/><rect x="5" y="9" width="6" height="1"/><rect x="5" y="10" width="6" height="1"/><rect x="4" y="13" width="3" height="1"/><rect x="9" y="13" width="3" height="1"/></g><g fill="#1e1c24"><rect x="6" y="3" width="1" height="1"/><rect x="9" y="3" width="1" height="1"/><rect x="7" y="7" width="2" height="1"/></g><g fill="#ebbe50"><rect x="5" y="8" width="6" height="1"/></g></svg>
|
|
139
139
|
<div class="banner__side">
|
|
140
|
-
<p class="banner__name"><b>TazaVibe</b> v0.1.
|
|
140
|
+
<p class="banner__name"><b>TazaVibe</b> v0.1.1</p>
|
|
141
141
|
<p class="banner__tag"><span data-l="ru">вайбкодь чисто</span><span data-l="en">keep your vibe taza</span></p>
|
|
142
142
|
<p class="banner__path">~/projects · 4 <span data-l="ru">проекта</span><span data-l="en">projects</span></p>
|
|
143
143
|
</div>
|
|
@@ -467,12 +467,12 @@
|
|
|
467
467
|
|
|
468
468
|
<div class="itabs reveal">
|
|
469
469
|
<div class="itabs__list" role="tablist" aria-label="Способ установки" data-aria-ru="Способ установки" data-aria-en="Install method">
|
|
470
|
-
<button type="button" role="tab" id="it-
|
|
471
|
-
<button type="button" role="tab" id="it-
|
|
472
|
-
<button type="button" role="tab" id="it-
|
|
470
|
+
<button type="button" role="tab" id="it-npm" aria-controls="ip-npm" aria-selected="true" tabindex="0">npm</button>
|
|
471
|
+
<button type="button" role="tab" id="it-pip" aria-controls="ip-pip" aria-selected="false" tabindex="-1">pip</button>
|
|
472
|
+
<button type="button" role="tab" id="it-src" aria-controls="ip-src" aria-selected="false" tabindex="-1"><span data-l="ru">Из репозитория</span><span data-l="en">From source</span></button>
|
|
473
473
|
</div>
|
|
474
474
|
|
|
475
|
-
<div class="itabs__panel" role="tabpanel" id="ip-src" aria-labelledby="it-src">
|
|
475
|
+
<div class="itabs__panel" role="tabpanel" id="ip-src" aria-labelledby="it-src" hidden>
|
|
476
476
|
<div class="code" data-copy-root>
|
|
477
477
|
<pre data-copy-text><span class="c-dim">$</span> git clone <repo-url>
|
|
478
478
|
<span class="c-dim">$</span> cd Everyday/tazavibe
|
|
@@ -488,15 +488,18 @@
|
|
|
488
488
|
<p class="itabs__note"><span data-l="ru">Python-пакет из исходников:</span><span data-l="en">Python package from source:</span> <code>npm run build:py</code> → <code>pip install ./python</code></p>
|
|
489
489
|
</div>
|
|
490
490
|
|
|
491
|
-
<div class="itabs__panel" role="tabpanel" id="ip-npm" aria-labelledby="it-npm"
|
|
491
|
+
<div class="itabs__panel" role="tabpanel" id="ip-npm" aria-labelledby="it-npm">
|
|
492
492
|
<div class="code" data-copy-root>
|
|
493
|
-
<pre data-copy-text><span class="c-dim">$</span> npx tazavibe
|
|
493
|
+
<pre data-copy-text><span class="c-dim">$</span> npx tazavibe
|
|
494
|
+
<span class="c-dim"># или установить / or install:</span>
|
|
495
|
+
<span class="c-dim">$</span> npm install -g tazavibe
|
|
496
|
+
<span class="c-dim">$</span> taza</pre>
|
|
494
497
|
<button type="button" class="copy copy--abs" data-copy aria-label="Скопировать команду" data-aria-ru="Скопировать команду" data-aria-en="Copy command">
|
|
495
498
|
<svg class="copy__i copy__i--a" aria-hidden="true"><use href="#i-copy"/></svg>
|
|
496
499
|
<svg class="copy__i copy__i--b" aria-hidden="true"><use href="#i-check"/></svg>
|
|
497
500
|
</button>
|
|
498
501
|
</div>
|
|
499
|
-
<p class="itabs__note"><span data-l="ru"
|
|
502
|
+
<p class="itabs__note"><span data-l="ru">Нужен Node.js 22+. Сайт продукта открывается командой <code>taza site</code>, без интернета.</span><span data-l="en">Requires Node.js 22+. <code>taza site</code> opens this page offline.</span></p>
|
|
500
503
|
</div>
|
|
501
504
|
|
|
502
505
|
<div class="itabs__panel" role="tabpanel" id="ip-pip" aria-labelledby="it-pip" hidden>
|
|
@@ -508,7 +511,7 @@
|
|
|
508
511
|
<svg class="copy__i copy__i--b" aria-hidden="true"><use href="#i-check"/></svg>
|
|
509
512
|
</button>
|
|
510
513
|
</div>
|
|
511
|
-
<p class="itabs__note"><span data-l="ru"
|
|
514
|
+
<p class="itabs__note"><span data-l="ru">Или <code>pipx install tazavibe</code> / <code>uvx tazavibe</code>. Сама программа работает на Node.js 22+, он должен быть установлен.</span><span data-l="en">Or <code>pipx install tazavibe</code> / <code>uvx tazavibe</code>. The tool itself runs on Node.js 22+, which must be installed.</span></p>
|
|
512
515
|
</div>
|
|
513
516
|
</div>
|
|
514
517
|
|