podojo-cli 1.35.0__tar.gz → 1.36.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.
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/CHANGELOG.md +16 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/PKG-INFO +4 -2
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/README.md +3 -1
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/pyproject.toml +1 -1
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/aiinterviews.py +18 -1
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/auth.py +4 -1
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/tests/test_aiinterviews.py +55 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/tests/test_auth.py +1 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/uv.lock +1 -1
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/.github/workflows/publish.yml +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/.gitignore +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/CLAUDE.md +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/LICENSE +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/__init__.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/client.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/__init__.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/interviews.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/projects.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/showreel.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/synth.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/transcripts.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/usertests.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/commands/videos.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/config.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/main.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/oauth.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/synth/__init__.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/synth/driver.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/synth/session.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/tables.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/version_check.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/video/__init__.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/src/podojo_cli/video/showreel.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/tests/conftest.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/tests/test_interviews.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/tests/test_projects.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/tests/test_showreel.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/tests/test_transcripts.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/tests/test_usertests.py +0 -0
- {podojo_cli-1.35.0 → podojo_cli-1.36.0}/tests/test_videos.py +0 -0
|
@@ -5,6 +5,22 @@ All notable changes to the Podojo CLI will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org).
|
|
7
7
|
|
|
8
|
+
## [1.36.0] - 2026-11-30
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- AI interview screening questions can have an "Other" option with a text
|
|
12
|
+
field: set `free_text: true` on one option per question. Participants who
|
|
13
|
+
pick it type their own answer, which is recorded with the session.
|
|
14
|
+
`podojo aiinterviews validate` checks the flag and
|
|
15
|
+
`podojo aiinterviews example` shows it.
|
|
16
|
+
|
|
17
|
+
## [1.35.1] - 2026-11-26
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- When `podojo auth login` finds no workspace for the account, it now says to
|
|
21
|
+
confirm the email address first. New accounts get their workspace only after
|
|
22
|
+
the email is confirmed.
|
|
23
|
+
|
|
8
24
|
## [1.35.0] - 2026-11-26
|
|
9
25
|
|
|
10
26
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: podojo-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.36.0
|
|
4
4
|
Summary: CLI for the Podojo user research platform
|
|
5
5
|
Project-URL: Homepage, https://github.com/podojo/cli-podojo
|
|
6
6
|
Project-URL: Source, https://github.com/podojo/cli-podojo
|
|
@@ -193,7 +193,9 @@ pick a qualifying option see the study's `rejection_message` and never reach
|
|
|
193
193
|
the voice interview. A question can carry a `show_if` condition to appear only
|
|
194
194
|
when an earlier question was answered with specific options. Each closed
|
|
195
195
|
question can also carry a `subtitle` — optional secondary text shown under the
|
|
196
|
-
question on the participant's screen.
|
|
196
|
+
question on the participant's screen. One option per question can set
|
|
197
|
+
`free_text: true` to act as an "Other" option: participants who pick it type
|
|
198
|
+
their own answer, which is recorded with the session. See
|
|
197
199
|
`podojo aiinterviews example` for the exact shape.
|
|
198
200
|
|
|
199
201
|
### Synthetic participants
|
|
@@ -161,7 +161,9 @@ pick a qualifying option see the study's `rejection_message` and never reach
|
|
|
161
161
|
the voice interview. A question can carry a `show_if` condition to appear only
|
|
162
162
|
when an earlier question was answered with specific options. Each closed
|
|
163
163
|
question can also carry a `subtitle` — optional secondary text shown under the
|
|
164
|
-
question on the participant's screen.
|
|
164
|
+
question on the participant's screen. One option per question can set
|
|
165
|
+
`free_text: true` to act as an "Other" option: participants who pick it type
|
|
166
|
+
their own answer, which is recorded with the session. See
|
|
165
167
|
`podojo aiinterviews example` for the exact shape.
|
|
166
168
|
|
|
167
169
|
### Synthetic participants
|
|
@@ -69,7 +69,10 @@ EXAMPLE_YAML = """\
|
|
|
69
69
|
# into screening_questions and that question's options
|
|
70
70
|
# options (required, at least 2) each with `text`; `qualifies: true`
|
|
71
71
|
# marks the accepted answers of a screener question and is
|
|
72
|
-
# ignored on plain closed questions
|
|
72
|
+
# ignored on plain closed questions. One option per question
|
|
73
|
+
# may set `free_text: true` (an "Other" option): participants
|
|
74
|
+
# who pick it type their own answer, which is recorded with
|
|
75
|
+
# the session
|
|
73
76
|
|
|
74
77
|
interview_id: checkout-experience-v1
|
|
75
78
|
title: Checkout Experience Research
|
|
@@ -151,6 +154,8 @@ screening_questions:
|
|
|
151
154
|
- text: Forced account creation
|
|
152
155
|
- text: Missing payment options
|
|
153
156
|
- text: Delivery time
|
|
157
|
+
- text: Other
|
|
158
|
+
free_text: true
|
|
154
159
|
|
|
155
160
|
# Optional: shown to participants whose screener answers don't qualify
|
|
156
161
|
rejection_message: >
|
|
@@ -314,6 +319,7 @@ def validate_ai_interview_data(data: dict) -> list[str]:
|
|
|
314
319
|
f"{len(options)} options"
|
|
315
320
|
)
|
|
316
321
|
qualifying = 0
|
|
322
|
+
free_text_options = 0
|
|
317
323
|
for j, option in enumerate(options, 1):
|
|
318
324
|
if not isinstance(option, dict) or "text" not in option:
|
|
319
325
|
errors.append(
|
|
@@ -327,6 +333,17 @@ def validate_ai_interview_data(data: dict) -> list[str]:
|
|
|
327
333
|
)
|
|
328
334
|
elif qualifies:
|
|
329
335
|
qualifying += 1
|
|
336
|
+
free_text = option.get("free_text", False)
|
|
337
|
+
if not isinstance(free_text, bool):
|
|
338
|
+
errors.append(
|
|
339
|
+
f"Screening question {i}, option {j}: 'free_text' must be true or false"
|
|
340
|
+
)
|
|
341
|
+
elif free_text:
|
|
342
|
+
free_text_options += 1
|
|
343
|
+
if free_text_options > 1:
|
|
344
|
+
errors.append(
|
|
345
|
+
f"Screening question {i}: only one option can have 'free_text: true'"
|
|
346
|
+
)
|
|
330
347
|
if screener and qualifying == 0:
|
|
331
348
|
errors.append(
|
|
332
349
|
f"Screening question {i}: needs at least one option with 'qualifies: true'"
|
|
@@ -53,7 +53,10 @@ def _login_with_browser():
|
|
|
53
53
|
tokens = oauth.login(auth_config, show_url=show_url)
|
|
54
54
|
status = _api_status(tokens["access_token"])
|
|
55
55
|
if status == 403:
|
|
56
|
-
console.print(
|
|
56
|
+
console.print(
|
|
57
|
+
"[red]Error:[/red] Your account has no Podojo workspace yet. If you just signed up, "
|
|
58
|
+
"confirm your email address with the link we sent you, then log in again."
|
|
59
|
+
)
|
|
57
60
|
raise typer.Exit(1)
|
|
58
61
|
if status != 200:
|
|
59
62
|
console.print("[red]Error:[/red] Logged in, but the Podojo API did not accept the login.")
|
|
@@ -907,6 +907,61 @@ def test_validate_screening_option_qualifies_must_be_bool(runner, tmp_path):
|
|
|
907
907
|
assert "'qualifies' must be true or false" in result.output
|
|
908
908
|
|
|
909
909
|
|
|
910
|
+
def test_validate_accepts_one_free_text_option(runner, tmp_path):
|
|
911
|
+
yaml_file = tmp_path / "interview.yaml"
|
|
912
|
+
yaml_file.write_text(
|
|
913
|
+
VALID_AI_INTERVIEW_YAML
|
|
914
|
+
+ "screening_questions:\n"
|
|
915
|
+
+ " - text: Q\n"
|
|
916
|
+
+ " options:\n"
|
|
917
|
+
+ " - text: A\n"
|
|
918
|
+
+ " - text: Other\n"
|
|
919
|
+
+ " free_text: true\n"
|
|
920
|
+
)
|
|
921
|
+
|
|
922
|
+
result = runner.invoke(app, ["aiinterviews", "validate", str(yaml_file)])
|
|
923
|
+
|
|
924
|
+
assert result.exit_code == 0
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
def test_validate_rejects_two_free_text_options(runner, tmp_path):
|
|
928
|
+
yaml_file = tmp_path / "interview.yaml"
|
|
929
|
+
yaml_file.write_text(
|
|
930
|
+
VALID_AI_INTERVIEW_YAML
|
|
931
|
+
+ "screening_questions:\n"
|
|
932
|
+
+ " - text: Q\n"
|
|
933
|
+
+ " options:\n"
|
|
934
|
+
+ " - text: A\n"
|
|
935
|
+
+ " - text: Other\n"
|
|
936
|
+
+ " free_text: true\n"
|
|
937
|
+
+ " - text: Something else\n"
|
|
938
|
+
+ " free_text: true\n"
|
|
939
|
+
)
|
|
940
|
+
|
|
941
|
+
result = runner.invoke(app, ["aiinterviews", "validate", str(yaml_file)])
|
|
942
|
+
|
|
943
|
+
assert result.exit_code == 1
|
|
944
|
+
assert "only one option can have 'free_text: true'" in result.output
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
def test_validate_screening_option_free_text_must_be_bool(runner, tmp_path):
|
|
948
|
+
yaml_file = tmp_path / "interview.yaml"
|
|
949
|
+
yaml_file.write_text(
|
|
950
|
+
VALID_AI_INTERVIEW_YAML
|
|
951
|
+
+ "screening_questions:\n"
|
|
952
|
+
+ " - text: Q\n"
|
|
953
|
+
+ " options:\n"
|
|
954
|
+
+ " - text: A\n"
|
|
955
|
+
+ " - text: Other\n"
|
|
956
|
+
+ " free_text: yep\n"
|
|
957
|
+
)
|
|
958
|
+
|
|
959
|
+
result = runner.invoke(app, ["aiinterviews", "validate", str(yaml_file)])
|
|
960
|
+
|
|
961
|
+
assert result.exit_code == 1
|
|
962
|
+
assert "'free_text' must be true or false" in result.output
|
|
963
|
+
|
|
964
|
+
|
|
910
965
|
def test_example(runner):
|
|
911
966
|
result = runner.invoke(app, ["aiinterviews", "example"])
|
|
912
967
|
|
|
@@ -155,6 +155,7 @@ def test_browser_login_without_workspace(runner, httpx_mock, mock_keyring, brows
|
|
|
155
155
|
|
|
156
156
|
assert result.exit_code != 0
|
|
157
157
|
assert "no Podojo workspace" in result.output
|
|
158
|
+
assert "confirm your email" in " ".join(result.output.split())
|
|
158
159
|
assert stored(mock_keyring, oauth.KEYRING_SESSION) is None
|
|
159
160
|
|
|
160
161
|
|
|
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
|