[verified] chore(release): prepare v0.1.3

This commit is contained in:
2026-10-04 16:32:23 +09:00
parent 6fe2594c09
commit 28527a0914
6 changed files with 25 additions and 30 deletions
+5 -11
View File
@@ -72,19 +72,13 @@ artifacts:
- type: container-http - type: container-http
name_template: "jarca-dashboard-{run_id}" name_template: "jarca-dashboard-{run_id}"
command: command:
- python - uvicorn
- -m - dashboard.server:app
- streamlit - --host
- run
- dashboard/app.py
- --server.address
- 0.0.0.0 - 0.0.0.0
- --server.port - --port
- "8501" - "8501"
- --server.headless - --proxy-headers
- "true"
- --browser.gatherUsageStats
- "false"
container_port: 8501 container_port: 8501
path: /_stcore/health path: /_stcore/health
expected_status: 200 expected_status: 200
+3 -3
View File
@@ -34,7 +34,7 @@ spec:
type: RuntimeDefault type: RuntimeDefault
initContainers: initContainers:
- name: init-db - name: init-db
image: gitea.jsfamily.quest/jsfamily/jarca-ledger-mcp:v0.1.2 image: gitea.jsfamily.quest/jsfamily/jarca-ledger-mcp:v0.1.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- python - python
@@ -62,7 +62,7 @@ spec:
mountPath: /tmp mountPath: /tmp
containers: containers:
- name: mcp - name: mcp
image: gitea.jsfamily.quest/jsfamily/jarca-ledger-mcp:v0.1.2 image: gitea.jsfamily.quest/jsfamily/jarca-ledger-mcp:v0.1.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
- name: JARCA_LEDGER_DB_PATH - name: JARCA_LEDGER_DB_PATH
@@ -104,7 +104,7 @@ spec:
- name: mcp-tmp - name: mcp-tmp
mountPath: /tmp mountPath: /tmp
- name: dashboard - name: dashboard
image: gitea.jsfamily.quest/jsfamily/jarca-ledger-mcp:v0.1.2 image: gitea.jsfamily.quest/jsfamily/jarca-ledger-mcp:v0.1.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- uvicorn - uvicorn
+1 -1
View File
@@ -1,3 +1,3 @@
"""Jarca Ledger MCP server.""" """Jarca Ledger MCP server."""
__version__ = "0.1.2" __version__ = "0.1.3"
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "jarca-ledger-mcp" name = "jarca-ledger-mcp"
version = "0.1.2" version = "0.1.3"
description = "Jarca household ledger MCP server for transactions, accounts, budgets, cashflow, and investable cashflow analysis" description = "Jarca household ledger MCP server for transactions, accounts, budgets, cashflow, and investable cashflow analysis"
readme = "README.md" readme = "README.md"
requires-python = ">=3.11" requires-python = ">=3.11"
+14 -13
View File
@@ -1,8 +1,9 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""CI wrapper for the Streamlit dashboard HTTP smoke gate. """CI wrapper for the production Dashboard ASGI HTTP smoke gate.
Creates a synthetic fixture DB, starts Streamlit against it, waits for HTTP 200, Creates a synthetic fixture DB, starts the authenticated Streamlit ASGI wrapper,
and always attempts process cleanup. Output is intentionally status-only. waits for HTTP 200, and always attempts process cleanup. Output is intentionally
status-only.
""" """
from __future__ import annotations from __future__ import annotations
@@ -26,7 +27,7 @@ from scripts.ci_fixture_db import create_ci_fixture_db
def parse_args() -> argparse.Namespace: def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(description="Run Streamlit dashboard HTTP smoke against a synthetic CI fixture DB.") parser = argparse.ArgumentParser(description="Run the Dashboard ASGI HTTP smoke against a synthetic CI fixture DB.")
parser.add_argument("--host", default="127.0.0.1", help="Loopback host to bind") parser.add_argument("--host", default="127.0.0.1", help="Loopback host to bind")
parser.add_argument("--port", type=int, default=18501, help="Deterministic smoke port") parser.add_argument("--port", type=int, default=18501, help="Deterministic smoke port")
parser.add_argument("--timeout", type=int, default=45, help="Readiness timeout in seconds") parser.add_argument("--timeout", type=int, default=45, help="Readiness timeout in seconds")
@@ -75,21 +76,21 @@ def main() -> int:
fixture = create_ci_fixture_db(fixture_path) fixture = create_ci_fixture_db(fixture_path)
env = os.environ.copy() env = os.environ.copy()
env["JARCA_LEDGER_DB_PATH"] = str(fixture_path) env["JARCA_LEDGER_DB_PATH"] = str(fixture_path)
env["JARCA_DASHBOARD_ADMIN_ID"] = "a"
env["JARCA_DASHBOARD_ADMIN_PASSWORD"] = "p"
env["JARCA_DASHBOARD_SIGNING_SECRET"] = "s" * 32
env["FORWARDED_ALLOW_IPS"] = "127.0.0.1"
env["STREAMLIT_BROWSER_GATHER_USAGE_STATS"] = "false" env["STREAMLIT_BROWSER_GATHER_USAGE_STATS"] = "false"
cmd = [ cmd = [
sys.executable, sys.executable,
"-m", "-m",
"streamlit", "uvicorn",
"run", "dashboard.server:app",
"dashboard/app.py", "--host",
"--server.address",
args.host, args.host,
"--server.port", "--port",
str(args.port), str(args.port),
"--server.headless", "--proxy-headers",
"true",
"--browser.gatherUsageStats",
"false",
] ]
proc = subprocess.Popen( proc = subprocess.Popen(
cmd, cmd,
Generated
+1 -1
View File
@@ -469,7 +469,7 @@ wheels = [
[[package]] [[package]]
name = "jarca-ledger-mcp" name = "jarca-ledger-mcp"
version = "0.1.2" version = "0.1.3"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "mcp" }, { name = "mcp" },