sweatstack-cli 0.9.0__tar.gz → 0.11.0__tar.gz

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.
Files changed (62) hide show
  1. sweatstack_cli-0.11.0/.claude/settings.local.json +38 -0
  2. sweatstack_cli-0.11.0/CHANGELOG.md +53 -0
  3. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/PKG-INFO +1 -1
  4. sweatstack_cli-0.11.0/plans/001-page-init-command.md +593 -0
  5. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/pyproject.toml +1 -1
  6. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/__init__.py +1 -1
  7. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/api/client.py +41 -23
  8. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/commands/app.py +16 -19
  9. sweatstack_cli-0.11.0/src/sweatstack_cli/commands/page.py +642 -0
  10. sweatstack_cli-0.11.0/src/sweatstack_cli/exceptions.py +51 -0
  11. sweatstack_cli-0.11.0/src/sweatstack_cli/services/__init__.py +7 -0
  12. sweatstack_cli-0.11.0/src/sweatstack_cli/services/applications.py +111 -0
  13. sweatstack_cli-0.11.0/src/sweatstack_cli/templates/page/index.html +450 -0
  14. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/sweatstack.toml +3 -0
  15. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_commands/test_app.py +35 -41
  16. sweatstack_cli-0.11.0/tests/test_commands/test_page_init.py +268 -0
  17. sweatstack_cli-0.11.0/tests/test_services/__init__.py +0 -0
  18. sweatstack_cli-0.11.0/tests/test_services/test_applications.py +112 -0
  19. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/uv.lock +1 -1
  20. sweatstack_cli-0.9.0/.claude/settings.local.json +0 -26
  21. sweatstack_cli-0.9.0/src/sweatstack_cli/commands/page.py +0 -213
  22. sweatstack_cli-0.9.0/src/sweatstack_cli/exceptions.py +0 -30
  23. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/.claude/skills/sweatstack/SKILL.md +0 -0
  24. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/.claude/skills/sweatstack/api.md +0 -0
  25. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/.claude/skills/sweatstack/auth.md +0 -0
  26. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/.claude/skills/sweatstack/cli.md +0 -0
  27. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/.claude/skills/sweatstack/pyscript.md +0 -0
  28. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/.claude/skills/sweatstack/webapp.md +0 -0
  29. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/.gitignore +0 -0
  30. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/.python-version +0 -0
  31. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/CREATE_PRIVATE_APP.md +0 -0
  32. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/DEVELOPMENT.md +0 -0
  33. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/Makefile +0 -0
  34. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/PLAN.md +0 -0
  35. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/README.md +0 -0
  36. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/api/__init__.py +0 -0
  37. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/auth/__init__.py +0 -0
  38. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/auth/callback_server.py +0 -0
  39. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/auth/jwt.py +0 -0
  40. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/auth/pkce.py +0 -0
  41. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/auth/tokens.py +0 -0
  42. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/commands/__init__.py +0 -0
  43. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/commands/auth.py +0 -0
  44. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/config.py +0 -0
  45. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/console.py +0 -0
  46. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/main.py +0 -0
  47. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/project.py +0 -0
  48. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/py.typed +0 -0
  49. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/src/sweatstack_cli/version_check.py +0 -0
  50. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/__init__.py +0 -0
  51. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/conftest.py +0 -0
  52. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_api/__init__.py +0 -0
  53. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_api/test_client.py +0 -0
  54. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_auth/__init__.py +0 -0
  55. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_auth/test_callback_server.py +0 -0
  56. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_auth/test_jwt.py +0 -0
  57. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_auth/test_pkce.py +0 -0
  58. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_auth/test_tokens.py +0 -0
  59. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_commands/__init__.py +0 -0
  60. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_commands/test_cli.py +0 -0
  61. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_project.py +0 -0
  62. {sweatstack_cli-0.9.0 → sweatstack_cli-0.11.0}/tests/test_version_check.py +0 -0
@@ -0,0 +1,38 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(uv pip install:*)",
5
+ "Bash(uv venv:*)",
6
+ "Bash(source .venv/bin/activate:*)",
7
+ "Bash(uv run pytest:*)",
8
+ "Bash(uv run ruff check:*)",
9
+ "Bash(uv run ruff format:*)",
10
+ "Bash(uv run mypy:*)",
11
+ "Bash(uv run sweatstack:*)",
12
+ "Bash(uv sync:*)",
13
+ "Bash(pytest:*)",
14
+ "Bash(ruff check:*)",
15
+ "WebFetch(domain:localhost)",
16
+ "Bash(curl:*)",
17
+ "Bash(python3:*)",
18
+ "Bash(make help:*)",
19
+ "Bash(tree:*)",
20
+ "Bash(env:*)",
21
+ "Bash(uv run python:*)",
22
+ "Bash(git:*)",
23
+ "Bash(grep:*)",
24
+ "WebFetch(domain:docs.sweatstack.no)",
25
+ "WebFetch(domain:pages.sweatstack.dev)",
26
+ "Read(//Users/aart/.claude/**)",
27
+ "Bash(find / -type d -iname \"*sweatstack*skill*\")",
28
+ "WebFetch(domain:nlec.pages.sweatstack.dev)",
29
+ "Read(//Users/aart/projects/sweatstack-nlec/**)",
30
+ "Read(//Users/aart/projects/**)",
31
+ "Bash(uv build *)",
32
+ "Bash(rm -rf ssверify)",
33
+ "Bash(rm -rf ss_verify)",
34
+ "Bash(ss_verify/bin/sweatstack page *)",
35
+ "Bash(ss_verify/bin/python -c \"from sweatstack_cli.commands.page import _load_template; t=_load_template\\(\\); print\\('OK', len\\(t\\), 'chars; has CLIENT_ID placeholder:', '{{CLIENT_ID}}' in t\\)\")"
36
+ ]
37
+ }
38
+ }
@@ -0,0 +1,53 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented here. The format is based on
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
5
+ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [0.11.0] - 2026-06-30
8
+
9
+ ### Added
10
+
11
+ - **`sweatstack page init`**. Scaffold a deployable SweatStack Pages app. It
12
+ creates (or reuses) an OAuth2 application, ensures its Page exists, records
13
+ everything in `sweatstack.toml`, and generates `public/index.html`. Together
14
+ with `page deploy`, this takes you from nothing to a live page in two commands: 'sweatstack page init "My App"' and 'sweatstack page deploy'
15
+ ```
16
+
17
+ ### Changed
18
+
19
+ - `app create` now writes `directory = "public"` to `sweatstack.toml` by default.
20
+ - Application creation is now a single shared implementation used by both
21
+ `app create` and `page init`, so the two cannot drift.
22
+
23
+ ### Fixed
24
+
25
+ - `page deploy` no longer passes loosely-typed keyword arguments when updating
26
+ `sweatstack.toml` after a deploy (internal correctness; restores a clean
27
+ `mypy --strict`).
28
+
29
+ ## [0.10.0] - 2026-02
30
+
31
+ ### Added
32
+
33
+ - `sweatstack page serve` to preview a site locally.
34
+
35
+ ## [0.9.1] - 2026-02
36
+
37
+ ### Fixed
38
+
39
+ - Page directory verification bug.
40
+
41
+ ## [0.9.0] - 2026-02
42
+
43
+ ### Added
44
+
45
+ - Interactive flow for `app create`.
46
+
47
+ ## [0.8.0] - 2026-02
48
+
49
+ ### Changed
50
+
51
+ - `page deploy` cleanup: dropped the positional directory argument in favour of
52
+ `--dir`, added non-interactive guards, standardized exit codes, and protected
53
+ `sweatstack.toml` from accidental overwrite.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sweatstack-cli
3
- Version: 0.9.0
3
+ Version: 0.11.0
4
4
  Summary: Command-line interface for SweatStack — the sports data platform for developers
5
5
  Project-URL: Homepage, https://sweatstack.no
6
6
  Project-URL: Documentation, https://docs.sweatstack.no