izteamslots 1.1.0 → 1.1.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ ## [1.1.2](https://github.com/izzzzzi/izTeamSlots/compare/v1.1.1...v1.1.2) (2026-03-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * use venv instead of --system for Python deps (fixes Windows/WSL permissions) ([232f174](https://github.com/izzzzzi/izTeamSlots/commit/232f174730402bac38d3b59eb7527702825b6df7))
7
+
8
+ ## [1.1.1](https://github.com/izzzzzi/izTeamSlots/compare/v1.1.0...v1.1.1) (2026-03-06)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * install semantic-release plugins before running release ([271cb07](https://github.com/izzzzzi/izTeamSlots/commit/271cb077b8cedaca300bdb001e0454d6ed43bcea))
14
+ * remove registry-url to avoid .npmrc conflict with semantic-release ([53a7839](https://github.com/izzzzzi/izTeamSlots/commit/53a783956e3073ad874e52f8378b0b9db4995ddd))
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 izzzzzi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -59,6 +59,7 @@ izTeamSlots/
59
59
  │ ├── chatgpt_workspace_api.py # ChatGPT Workspace API через браузер
60
60
  │ ├── slot_orchestrator.py # Оркестратор пайплайна слотов
61
61
  │ ├── dto.py # DTO для UI
62
+ │ ├── file_logger.py # Логирование в файл
62
63
  │ ├── jobs.py # Задачи в потоках
63
64
  │ ├── rpc_protocol.py # JSON-RPC протокол
64
65
  │ ├── rpc_server.py # RPC-сервер (stdio)
@@ -3,6 +3,13 @@ set -e
3
3
 
4
4
  ROOT="$(cd "$(dirname "$0")/.." && pwd)"
5
5
 
6
+ # Resolve Python from venv
7
+ if [ -f "$ROOT/.venv/bin/python" ]; then
8
+ export PYTHON_BIN="$ROOT/.venv/bin/python"
9
+ elif [ -f "$ROOT/.venv/Scripts/python.exe" ]; then
10
+ export PYTHON_BIN="$ROOT/.venv/Scripts/python.exe"
11
+ fi
12
+
6
13
  # Ensure bun is available
7
14
  if ! command -v bun &>/dev/null; then
8
15
  if [ -d "$HOME/.bun/bin" ]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "izteamslots",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "ChatGPT Team slot management — automated invite, register, OAuth login & codex token pipeline",
5
5
  "bin": {
6
6
  "izteamslots": "bin/izteamslots.sh"
@@ -19,6 +19,28 @@
19
19
  "url": "git+https://github.com/izzzzzi/izTeamSlots.git"
20
20
  },
21
21
  "license": "MIT",
22
+ "release": {
23
+ "branches": [
24
+ "main"
25
+ ],
26
+ "plugins": [
27
+ "@semantic-release/commit-analyzer",
28
+ "@semantic-release/release-notes-generator",
29
+ "@semantic-release/changelog",
30
+ "@semantic-release/npm",
31
+ "@semantic-release/github",
32
+ [
33
+ "@semantic-release/git",
34
+ {
35
+ "assets": [
36
+ "package.json",
37
+ "CHANGELOG.md"
38
+ ],
39
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
40
+ }
41
+ ]
42
+ ]
43
+ },
22
44
  "keywords": [
23
45
  "chatgpt",
24
46
  "team",
package/scripts/setup.sh CHANGED
@@ -43,9 +43,17 @@ fi
43
43
  command -v uv &>/dev/null || fail "uv install failed. Install manually: https://docs.astral.sh/uv"
44
44
  ok "uv: $(uv --version)"
45
45
 
46
- # ── Python deps ─────────────────────────────────────────
46
+ # ── Python venv + deps ──────────────────────────────────
47
+ VENV_DIR="$ROOT/.venv"
48
+ echo "Setting up Python venv..."
49
+ if [ ! -d "$VENV_DIR" ]; then
50
+ uv venv "$VENV_DIR" --python "$PYTHON" -q
51
+ fi
52
+ ok "venv: $VENV_DIR"
53
+
47
54
  echo "Installing Python dependencies..."
48
- uv pip install --system -q -r "$ROOT/requirements.txt"
55
+ uv pip install -q --python "$VENV_DIR/bin/python" -r "$ROOT/requirements.txt" 2>/dev/null \
56
+ || uv pip install -q --python "$VENV_DIR/Scripts/python.exe" -r "$ROOT/requirements.txt"
49
57
  ok "Python deps installed"
50
58
 
51
59
  # ── Bun ─────────────────────────────────────────────────
@@ -78,5 +86,5 @@ echo ""
78
86
  echo -e "${GREEN}Setup complete!${NC}"
79
87
  echo ""
80
88
  echo " Start: npm start"
81
- echo " Or: bun run --cwd ui src/main.ts"
89
+ echo " Or: izteamslots"
82
90
  echo ""