dailybot-cli 3.3.0__tar.gz → 3.4.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.
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/PKG-INFO +1 -1
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/config.py +18 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/main.py +10 -2
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli.egg-info/PKG-INFO +1 -1
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/pyproject.toml +1 -1
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/LICENSE +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/README.md +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/__init__.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/api_client.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/__init__.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/agent.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/ask.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/auth.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/authoring_helpers.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/channels.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/chat.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/checkin.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/config.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/conversation.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/form.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/hook.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/identity.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/interactive.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/interactive_chat.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/kudos.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/public_api_helpers.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/query_options.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/status.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/team.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/uninstall.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/update.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/upgrade.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/user.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/user_scoped_actions.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/version.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/commands/workflow.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/display.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/install_method.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/ledger.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/tui/__init__.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/tui/app.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/tui/commands.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/tui/conversation.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli/tui/intents.py +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli.egg-info/SOURCES.txt +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli.egg-info/dependency_links.txt +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli.egg-info/entry_points.txt +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli.egg-info/requires.txt +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/dailybot_cli.egg-info/top_level.txt +0 -0
- {dailybot_cli-3.3.0 → dailybot_cli-3.4.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dailybot-cli
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: Dailybot CLI - The command-line bridge between humans and agents. Progress reports, observability, and workflow automation for modern teams across Slack, Google Chat, Discord, MS Teams, and more.
|
|
5
5
|
Author-email: Dailybot <support@dailybot.com>
|
|
6
6
|
License: MIT
|
|
@@ -6,7 +6,9 @@ from pathlib import Path
|
|
|
6
6
|
from typing import Any
|
|
7
7
|
|
|
8
8
|
DEFAULT_API_URL: str = "https://api.dailybot.com"
|
|
9
|
+
DEFAULT_APP_URL: str = "https://app.dailybot.com"
|
|
9
10
|
_api_url_override: str | None = None
|
|
11
|
+
_app_url_override: str | None = None
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
def set_api_url_override(url: str) -> None:
|
|
@@ -15,6 +17,12 @@ def set_api_url_override(url: str) -> None:
|
|
|
15
17
|
_api_url_override = url.rstrip("/")
|
|
16
18
|
|
|
17
19
|
|
|
20
|
+
def set_app_url_override(url: str) -> None:
|
|
21
|
+
"""Set a CLI-level webapp URL override (from --app-url flag)."""
|
|
22
|
+
global _app_url_override
|
|
23
|
+
_app_url_override = url.rstrip("/")
|
|
24
|
+
|
|
25
|
+
|
|
18
26
|
CONFIG_DIR: Path = Path.home() / ".config" / "dailybot"
|
|
19
27
|
CREDENTIALS_FILE: Path = CONFIG_DIR / "credentials.json"
|
|
20
28
|
CONFIG_FILE: Path = CONFIG_DIR / "config.json"
|
|
@@ -108,6 +116,16 @@ def get_api_url() -> str:
|
|
|
108
116
|
return DEFAULT_API_URL
|
|
109
117
|
|
|
110
118
|
|
|
119
|
+
def get_app_url() -> str:
|
|
120
|
+
"""Return the webapp URL (--app-url flag > env var > default)."""
|
|
121
|
+
if _app_url_override:
|
|
122
|
+
return _app_url_override
|
|
123
|
+
env_url: str | None = os.environ.get("DAILYBOT_APP_URL")
|
|
124
|
+
if env_url:
|
|
125
|
+
return env_url.rstrip("/")
|
|
126
|
+
return DEFAULT_APP_URL
|
|
127
|
+
|
|
128
|
+
|
|
111
129
|
def get_token() -> str | None:
|
|
112
130
|
"""Return the stored auth token, or the DAILYBOT_CLI_TOKEN env var."""
|
|
113
131
|
env_token: str | None = os.environ.get("DAILYBOT_CLI_TOKEN")
|
|
@@ -27,7 +27,7 @@ from dailybot_cli.commands.upgrade import upgrade
|
|
|
27
27
|
from dailybot_cli.commands.user import user
|
|
28
28
|
from dailybot_cli.commands.version import version
|
|
29
29
|
from dailybot_cli.commands.workflow import workflow
|
|
30
|
-
from dailybot_cli.config import set_api_url_override
|
|
30
|
+
from dailybot_cli.config import set_api_url_override, set_app_url_override
|
|
31
31
|
|
|
32
32
|
# Format used by `dailybot --version`. Single line so it's friendly to scripts
|
|
33
33
|
# parsing the output. The richer multi-line panel lives in `dailybot version`.
|
|
@@ -42,8 +42,14 @@ _VERSION_MESSAGE: str = f"dailybot {__version__} (Python {platform.python_versio
|
|
|
42
42
|
envvar="DAILYBOT_API_URL",
|
|
43
43
|
help="Override the API base URL (e.g. staging).",
|
|
44
44
|
)
|
|
45
|
+
@click.option(
|
|
46
|
+
"--app-url",
|
|
47
|
+
default=None,
|
|
48
|
+
envvar="DAILYBOT_APP_URL",
|
|
49
|
+
help="Override the webapp/dashboard base URL (default: https://app.dailybot.com).",
|
|
50
|
+
)
|
|
45
51
|
@click.pass_context
|
|
46
|
-
def cli(ctx: click.Context, api_url: str | None) -> None:
|
|
52
|
+
def cli(ctx: click.Context, api_url: str | None, app_url: str | None) -> None:
|
|
47
53
|
"""Dailybot CLI - The command-line bridge between humans and agents.
|
|
48
54
|
|
|
49
55
|
\b
|
|
@@ -68,6 +74,8 @@ def cli(ctx: click.Context, api_url: str | None) -> None:
|
|
|
68
74
|
"""
|
|
69
75
|
if api_url:
|
|
70
76
|
set_api_url_override(api_url)
|
|
77
|
+
if app_url:
|
|
78
|
+
set_app_url_override(app_url)
|
|
71
79
|
if ctx.invoked_subcommand is None:
|
|
72
80
|
run_interactive()
|
|
73
81
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dailybot-cli
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: Dailybot CLI - The command-line bridge between humans and agents. Progress reports, observability, and workflow automation for modern teams across Slack, Google Chat, Discord, MS Teams, and more.
|
|
5
5
|
Author-email: Dailybot <support@dailybot.com>
|
|
6
6
|
License: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "dailybot-cli"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.4.0"
|
|
8
8
|
description = "Dailybot CLI - The command-line bridge between humans and agents. Progress reports, observability, and workflow automation for modern teams across Slack, Google Chat, Discord, MS Teams, and more."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|