stml-cli 0.1.0__tar.gz → 0.1.2__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 (23) hide show
  1. {stml_cli-0.1.0 → stml_cli-0.1.2}/PKG-INFO +5 -5
  2. {stml_cli-0.1.0 → stml_cli-0.1.2}/README.md +4 -4
  3. {stml_cli-0.1.0 → stml_cli-0.1.2}/pyproject.toml +4 -1
  4. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli/__init__.py +1 -1
  5. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli/config.py +1 -1
  6. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli.egg-info/PKG-INFO +5 -5
  7. {stml_cli-0.1.0 → stml_cli-0.1.2}/setup.cfg +0 -0
  8. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli/__main__.py +0 -0
  9. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli/commands.py +0 -0
  10. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli/http.py +0 -0
  11. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli/oauth.py +0 -0
  12. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli/packaging.py +0 -0
  13. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli/paths.py +0 -0
  14. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli/refs.py +0 -0
  15. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli.egg-info/SOURCES.txt +0 -0
  16. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli.egg-info/dependency_links.txt +0 -0
  17. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli.egg-info/entry_points.txt +0 -0
  18. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli.egg-info/requires.txt +0 -0
  19. {stml_cli-0.1.0 → stml_cli-0.1.2}/stml_cli.egg-info/top_level.txt +0 -0
  20. {stml_cli-0.1.0 → stml_cli-0.1.2}/tests/test_disambiguation.py +0 -0
  21. {stml_cli-0.1.0 → stml_cli-0.1.2}/tests/test_paths.py +0 -0
  22. {stml_cli-0.1.0 → stml_cli-0.1.2}/tests/test_refs.py +0 -0
  23. {stml_cli-0.1.0 → stml_cli-0.1.2}/tests/test_whoami_expiry.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stml-cli
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: The stml partner CLI — pull, edit, push, and publish stml apps and libraries.
5
5
  Author: stml
6
6
  Project-URL: Homepage, https://stml.io
@@ -38,8 +38,8 @@ platform-specific beyond the filesystem and HTTPS.
38
38
  ## Quickstart
39
39
 
40
40
  ```sh
41
- # Point at your backend (default: http://localhost:8010)
42
- export STML4_BACKEND=https://api.stml.io
41
+ # Talks to https://api.stml.io by default — nothing to set.
42
+ # Override only for local dev: export STML4_BACKEND=http://localhost:8010
43
43
 
44
44
  # 1. Sign in — opens your browser; approve, and a session is cached locally.
45
45
  stml login
@@ -65,8 +65,8 @@ stml publish ./my-app
65
65
 
66
66
  ## Authentication
67
67
 
68
- `stml login` runs the platform's browser OAuth flow (the same one the monorepo's
69
- `npm run libs:login` uses): you authenticate in the browser, approve, and a
68
+ `stml login` runs the platform's browser OAuth flow: you authenticate in the
69
+ browser, approve, and a
70
70
  **refresh token** is cached under your OS config dir (`~/Library/Application
71
71
  Support/stml`, `$XDG_CONFIG_HOME/stml`, or `%APPDATA%\stml`). Access tokens are
72
72
  minted per-command and never written to disk.
@@ -28,8 +28,8 @@ platform-specific beyond the filesystem and HTTPS.
28
28
  ## Quickstart
29
29
 
30
30
  ```sh
31
- # Point at your backend (default: http://localhost:8010)
32
- export STML4_BACKEND=https://api.stml.io
31
+ # Talks to https://api.stml.io by default — nothing to set.
32
+ # Override only for local dev: export STML4_BACKEND=http://localhost:8010
33
33
 
34
34
  # 1. Sign in — opens your browser; approve, and a session is cached locally.
35
35
  stml login
@@ -55,8 +55,8 @@ stml publish ./my-app
55
55
 
56
56
  ## Authentication
57
57
 
58
- `stml login` runs the platform's browser OAuth flow (the same one the monorepo's
59
- `npm run libs:login` uses): you authenticate in the browser, approve, and a
58
+ `stml login` runs the platform's browser OAuth flow: you authenticate in the
59
+ browser, approve, and a
60
60
  **refresh token** is cached under your OS config dir (`~/Library/Application
61
61
  Support/stml`, `$XDG_CONFIG_HOME/stml`, or `%APPDATA%\stml`). Access tokens are
62
62
  minted per-command and never written to disk.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stml-cli"
3
- version = "0.1.0"
3
+ dynamic = ["version"]
4
4
  description = "The stml partner CLI — pull, edit, push, and publish stml apps and libraries."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -19,6 +19,9 @@ Homepage = "https://stml.io"
19
19
  requires = ["setuptools>=68"]
20
20
  build-backend = "setuptools.build_meta"
21
21
 
22
+ [tool.setuptools.dynamic]
23
+ version = { attr = "stml_cli.__version__" }
24
+
22
25
  [tool.setuptools.packages.find]
23
26
  where = ["."]
24
27
  include = ["stml_cli*"]
@@ -9,7 +9,7 @@ from __future__ import annotations
9
9
 
10
10
  import os
11
11
 
12
- __version__ = "0.1.0"
12
+ __version__ = "0.1.2"
13
13
 
14
14
  # TLS trust: framework/python.org builds have no OpenSSL CA path, so a real
15
15
  # https backend fails with "unable to get local issuer certificate". certifi's
@@ -12,7 +12,7 @@ import os
12
12
  import sys
13
13
  from pathlib import Path
14
14
 
15
- DEFAULT_BACKEND = os.environ.get("STML4_BACKEND", "http://localhost:8010")
15
+ DEFAULT_BACKEND = os.environ.get("STML4_BACKEND", "https://api.stml.io")
16
16
 
17
17
  _SESSION_FILE = "session.json"
18
18
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stml-cli
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: The stml partner CLI — pull, edit, push, and publish stml apps and libraries.
5
5
  Author: stml
6
6
  Project-URL: Homepage, https://stml.io
@@ -38,8 +38,8 @@ platform-specific beyond the filesystem and HTTPS.
38
38
  ## Quickstart
39
39
 
40
40
  ```sh
41
- # Point at your backend (default: http://localhost:8010)
42
- export STML4_BACKEND=https://api.stml.io
41
+ # Talks to https://api.stml.io by default — nothing to set.
42
+ # Override only for local dev: export STML4_BACKEND=http://localhost:8010
43
43
 
44
44
  # 1. Sign in — opens your browser; approve, and a session is cached locally.
45
45
  stml login
@@ -65,8 +65,8 @@ stml publish ./my-app
65
65
 
66
66
  ## Authentication
67
67
 
68
- `stml login` runs the platform's browser OAuth flow (the same one the monorepo's
69
- `npm run libs:login` uses): you authenticate in the browser, approve, and a
68
+ `stml login` runs the platform's browser OAuth flow: you authenticate in the
69
+ browser, approve, and a
70
70
  **refresh token** is cached under your OS config dir (`~/Library/Application
71
71
  Support/stml`, `$XDG_CONFIG_HOME/stml`, or `%APPDATA%\stml`). Access tokens are
72
72
  minted per-command and never written to disk.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes