deepctl 0.3.1__tar.gz → 0.3.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deepctl
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Official Deepgram CLI for speech recognition and audio intelligence
5
5
  Author-email: Deepgram <devrel@deepgram.com>
6
6
  Maintainer-email: Deepgram <devrel@deepgram.com>
@@ -27,20 +27,20 @@ Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
28
  Requires-Dist: click>=8.0.0
29
29
  Requires-Dist: deepgram-sdk<8,>=7.7.0
30
- Requires-Dist: deepctl-core>=0.2.17
31
- Requires-Dist: deepctl-cmd-login>=0.1.18
30
+ Requires-Dist: deepctl-core>=0.2.18
31
+ Requires-Dist: deepctl-cmd-login>=0.1.19
32
32
  Requires-Dist: deepctl-cmd-projects>=0.2.0
33
33
  Requires-Dist: deepctl-cmd-transcribe>=0.1.12
34
- Requires-Dist: deepctl-cmd-usage>=0.2.0
34
+ Requires-Dist: deepctl-cmd-usage>=0.2.1
35
35
  Requires-Dist: deepctl-cmd-mcp>=0.1.15
36
36
  Requires-Dist: deepctl-cmd-api>=0.0.2
37
- Requires-Dist: deepctl-cmd-debug>=0.1.12
37
+ Requires-Dist: deepctl-cmd-debug>=0.1.13
38
38
  Requires-Dist: deepctl-cmd-debug-browser>=0.1.12
39
39
  Requires-Dist: deepctl-cmd-debug-network>=0.1.12
40
- Requires-Dist: deepctl-cmd-debug-audio>=0.1.13
40
+ Requires-Dist: deepctl-cmd-debug-audio>=0.1.14
41
41
  Requires-Dist: deepctl-cmd-debug-probe>=0.0.2
42
42
  Requires-Dist: deepctl-cmd-debug-toolkit>=0.1.0
43
- Requires-Dist: deepctl-cmd-ffprobe>=0.0.2
43
+ Requires-Dist: deepctl-cmd-ffprobe>=0.0.3
44
44
  Requires-Dist: deepctl-cmd-update>=0.2.7
45
45
  Requires-Dist: deepctl-cmd-plugin>=0.1.13
46
46
  Requires-Dist: deepctl-cmd-skills>=0.0.8
@@ -54,8 +54,8 @@ Requires-Dist: deepctl-cmd-requests>=0.1.0
54
54
  Requires-Dist: deepctl-cmd-billing>=0.1.0
55
55
  Requires-Dist: deepctl-cmd-members>=0.1.0
56
56
  Requires-Dist: deepctl-cmd-completion>=0.0.3
57
- Requires-Dist: deepctl-shared-utils>=0.1.12
58
- Requires-Dist: deepctl-telemetry>=0.0.6
57
+ Requires-Dist: deepctl-shared-utils>=0.1.13
58
+ Requires-Dist: deepctl-telemetry>=0.0.7
59
59
  Requires-Dist: pydantic>=2.0.0
60
60
  Requires-Dist: rich>=13.0.0
61
61
  Requires-Dist: httpx>=0.24.0
@@ -400,8 +400,12 @@ dg keys --list -o csv
400
400
  dg usage --last-week -o yaml
401
401
  ```
402
402
 
403
- When running in a non-TTY environment (pipes, CI, or AI coding tools), the CLI
404
- automatically switches to structured JSON output with plain-text status messages.
403
+ In CI, in AI coding tools, and in any fully non-interactive environment with
404
+ no terminal attached (cron, systemd, `docker run` without `-t`), the CLI
405
+ detects the context and automatically switches to structured JSON output with
406
+ plain-text status messages. A plain pipe on its own does not trigger this —
407
+ `dg projects | jq` from an interactive shell still gets the human-readable
408
+ table, so pass `-o json` explicitly when you are piping by hand.
405
409
 
406
410
  ### Exit codes
407
411
 
@@ -418,8 +422,14 @@ Note that `dg` reports `2` for an interrupt rather than the shell's
418
422
  conventional `130`, so the code is the same whether the cancellation came from
419
423
  Ctrl-C or from declining a prompt.
420
424
 
421
- If a CI step relied on `dg` always exiting `0` (every command did, before
422
- 0.3.0), it will now fail where it previously passed silently.
425
+ Human-readable status and error messages go to stderr, and stdout carries the
426
+ result. With an explicit structured-output mode, authentication-guard failures
427
+ and commands that return an error result write a payload with `"status":
428
+ "error"` to stdout — authentication failures, `dg ffprobe`, and `dg debug
429
+ audio` included. Usage errors and handler-raised exceptions report on stderr
430
+ and can leave stdout empty. Branch on the exit code rather than on whether
431
+ stdout parsed. If a CI step relied on `dg` always exiting `0` (every command
432
+ did, before 0.3.0), it will now fail where it previously passed silently.
423
433
 
424
434
  ### Forcing non-interactive mode
425
435
 
@@ -427,7 +437,7 @@ Three explicit ways to skip every prompt and run with defaults — useful from a
427
437
  real terminal where auto-detection wouldn't otherwise trigger:
428
438
 
429
439
  ```bash
430
- # Global flag (works at any position)
440
+ # Global flag (before any command, or after a leaf command)
431
441
  dg --non-interactive listen recording.wav
432
442
  dg listen --non-interactive recording.wav
433
443
 
@@ -479,10 +489,14 @@ The CLI phones home anonymous error reports to help us catch crashes and regress
479
489
 
480
490
  ### Opt out
481
491
 
482
- Persistent (recommended):
492
+ Persistent (recommended) — add this to your `config.yaml`
493
+ (`~/.config/deepctl/config.yaml` on Linux,
494
+ `~/Library/Application Support/deepctl/config.yaml` on macOS,
495
+ `%LOCALAPPDATA%\deepgram\deepctl\config.yaml` on Windows):
483
496
 
484
- ```bash
485
- dg config set telemetry.enabled false
497
+ ```yaml
498
+ telemetry:
499
+ enabled: false
486
500
  ```
487
501
 
488
502
  One-shot (CI, scripts, single command):
@@ -316,8 +316,12 @@ dg keys --list -o csv
316
316
  dg usage --last-week -o yaml
317
317
  ```
318
318
 
319
- When running in a non-TTY environment (pipes, CI, or AI coding tools), the CLI
320
- automatically switches to structured JSON output with plain-text status messages.
319
+ In CI, in AI coding tools, and in any fully non-interactive environment with
320
+ no terminal attached (cron, systemd, `docker run` without `-t`), the CLI
321
+ detects the context and automatically switches to structured JSON output with
322
+ plain-text status messages. A plain pipe on its own does not trigger this —
323
+ `dg projects | jq` from an interactive shell still gets the human-readable
324
+ table, so pass `-o json` explicitly when you are piping by hand.
321
325
 
322
326
  ### Exit codes
323
327
 
@@ -334,8 +338,14 @@ Note that `dg` reports `2` for an interrupt rather than the shell's
334
338
  conventional `130`, so the code is the same whether the cancellation came from
335
339
  Ctrl-C or from declining a prompt.
336
340
 
337
- If a CI step relied on `dg` always exiting `0` (every command did, before
338
- 0.3.0), it will now fail where it previously passed silently.
341
+ Human-readable status and error messages go to stderr, and stdout carries the
342
+ result. With an explicit structured-output mode, authentication-guard failures
343
+ and commands that return an error result write a payload with `"status":
344
+ "error"` to stdout — authentication failures, `dg ffprobe`, and `dg debug
345
+ audio` included. Usage errors and handler-raised exceptions report on stderr
346
+ and can leave stdout empty. Branch on the exit code rather than on whether
347
+ stdout parsed. If a CI step relied on `dg` always exiting `0` (every command
348
+ did, before 0.3.0), it will now fail where it previously passed silently.
339
349
 
340
350
  ### Forcing non-interactive mode
341
351
 
@@ -343,7 +353,7 @@ Three explicit ways to skip every prompt and run with defaults — useful from a
343
353
  real terminal where auto-detection wouldn't otherwise trigger:
344
354
 
345
355
  ```bash
346
- # Global flag (works at any position)
356
+ # Global flag (before any command, or after a leaf command)
347
357
  dg --non-interactive listen recording.wav
348
358
  dg listen --non-interactive recording.wav
349
359
 
@@ -395,10 +405,14 @@ The CLI phones home anonymous error reports to help us catch crashes and regress
395
405
 
396
406
  ### Opt out
397
407
 
398
- Persistent (recommended):
408
+ Persistent (recommended) — add this to your `config.yaml`
409
+ (`~/.config/deepctl/config.yaml` on Linux,
410
+ `~/Library/Application Support/deepctl/config.yaml` on macOS,
411
+ `%LOCALAPPDATA%\deepgram\deepctl\config.yaml` on Windows):
399
412
 
400
- ```bash
401
- dg config set telemetry.enabled false
413
+ ```yaml
414
+ telemetry:
415
+ enabled: false
402
416
  ```
403
417
 
404
418
  One-shot (CI, scripts, single command):
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "deepctl"
7
- version = "0.3.1" # x-release-please-version
7
+ version = "0.3.2" # x-release-please-version
8
8
  description = "Official Deepgram CLI for speech recognition and audio intelligence"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -35,20 +35,20 @@ requires-python = ">=3.10"
35
35
  dependencies = [
36
36
  "click>=8.0.0",
37
37
  "deepgram-sdk>=7.7.0,<8",
38
- "deepctl-core>=0.2.17",
39
- "deepctl-cmd-login>=0.1.18",
38
+ "deepctl-core>=0.2.18",
39
+ "deepctl-cmd-login>=0.1.19",
40
40
  "deepctl-cmd-projects>=0.2.0",
41
41
  "deepctl-cmd-transcribe>=0.1.12",
42
- "deepctl-cmd-usage>=0.2.0",
42
+ "deepctl-cmd-usage>=0.2.1",
43
43
  "deepctl-cmd-mcp>=0.1.15",
44
44
  "deepctl-cmd-api>=0.0.2",
45
- "deepctl-cmd-debug>=0.1.12",
45
+ "deepctl-cmd-debug>=0.1.13",
46
46
  "deepctl-cmd-debug-browser>=0.1.12",
47
47
  "deepctl-cmd-debug-network>=0.1.12",
48
- "deepctl-cmd-debug-audio>=0.1.13",
48
+ "deepctl-cmd-debug-audio>=0.1.14",
49
49
  "deepctl-cmd-debug-probe>=0.0.2",
50
50
  "deepctl-cmd-debug-toolkit>=0.1.0",
51
- "deepctl-cmd-ffprobe>=0.0.2",
51
+ "deepctl-cmd-ffprobe>=0.0.3",
52
52
  "deepctl-cmd-update>=0.2.7",
53
53
  "deepctl-cmd-plugin>=0.1.13",
54
54
  "deepctl-cmd-skills>=0.0.8",
@@ -62,8 +62,8 @@ dependencies = [
62
62
  "deepctl-cmd-billing>=0.1.0",
63
63
  "deepctl-cmd-members>=0.1.0",
64
64
  "deepctl-cmd-completion>=0.0.3",
65
- "deepctl-shared-utils>=0.1.12",
66
- "deepctl-telemetry>=0.0.6",
65
+ "deepctl-shared-utils>=0.1.13",
66
+ "deepctl-telemetry>=0.0.7",
67
67
  "pydantic>=2.0.0",
68
68
  "rich>=13.0.0",
69
69
  "httpx>=0.24.0",
@@ -1,7 +1,7 @@
1
1
  """deepctl - Official command-line interface for Deepgram's speech
2
2
  recognition API."""
3
3
 
4
- __version__ = "0.3.1" # x-release-please-version
4
+ __version__ = "0.3.2" # x-release-please-version
5
5
  __author__ = "Deepgram"
6
6
  __email__ = "devrel@deepgram.com"
7
7
  __license__ = "MIT"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deepctl
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Official Deepgram CLI for speech recognition and audio intelligence
5
5
  Author-email: Deepgram <devrel@deepgram.com>
6
6
  Maintainer-email: Deepgram <devrel@deepgram.com>
@@ -27,20 +27,20 @@ Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
28
  Requires-Dist: click>=8.0.0
29
29
  Requires-Dist: deepgram-sdk<8,>=7.7.0
30
- Requires-Dist: deepctl-core>=0.2.17
31
- Requires-Dist: deepctl-cmd-login>=0.1.18
30
+ Requires-Dist: deepctl-core>=0.2.18
31
+ Requires-Dist: deepctl-cmd-login>=0.1.19
32
32
  Requires-Dist: deepctl-cmd-projects>=0.2.0
33
33
  Requires-Dist: deepctl-cmd-transcribe>=0.1.12
34
- Requires-Dist: deepctl-cmd-usage>=0.2.0
34
+ Requires-Dist: deepctl-cmd-usage>=0.2.1
35
35
  Requires-Dist: deepctl-cmd-mcp>=0.1.15
36
36
  Requires-Dist: deepctl-cmd-api>=0.0.2
37
- Requires-Dist: deepctl-cmd-debug>=0.1.12
37
+ Requires-Dist: deepctl-cmd-debug>=0.1.13
38
38
  Requires-Dist: deepctl-cmd-debug-browser>=0.1.12
39
39
  Requires-Dist: deepctl-cmd-debug-network>=0.1.12
40
- Requires-Dist: deepctl-cmd-debug-audio>=0.1.13
40
+ Requires-Dist: deepctl-cmd-debug-audio>=0.1.14
41
41
  Requires-Dist: deepctl-cmd-debug-probe>=0.0.2
42
42
  Requires-Dist: deepctl-cmd-debug-toolkit>=0.1.0
43
- Requires-Dist: deepctl-cmd-ffprobe>=0.0.2
43
+ Requires-Dist: deepctl-cmd-ffprobe>=0.0.3
44
44
  Requires-Dist: deepctl-cmd-update>=0.2.7
45
45
  Requires-Dist: deepctl-cmd-plugin>=0.1.13
46
46
  Requires-Dist: deepctl-cmd-skills>=0.0.8
@@ -54,8 +54,8 @@ Requires-Dist: deepctl-cmd-requests>=0.1.0
54
54
  Requires-Dist: deepctl-cmd-billing>=0.1.0
55
55
  Requires-Dist: deepctl-cmd-members>=0.1.0
56
56
  Requires-Dist: deepctl-cmd-completion>=0.0.3
57
- Requires-Dist: deepctl-shared-utils>=0.1.12
58
- Requires-Dist: deepctl-telemetry>=0.0.6
57
+ Requires-Dist: deepctl-shared-utils>=0.1.13
58
+ Requires-Dist: deepctl-telemetry>=0.0.7
59
59
  Requires-Dist: pydantic>=2.0.0
60
60
  Requires-Dist: rich>=13.0.0
61
61
  Requires-Dist: httpx>=0.24.0
@@ -400,8 +400,12 @@ dg keys --list -o csv
400
400
  dg usage --last-week -o yaml
401
401
  ```
402
402
 
403
- When running in a non-TTY environment (pipes, CI, or AI coding tools), the CLI
404
- automatically switches to structured JSON output with plain-text status messages.
403
+ In CI, in AI coding tools, and in any fully non-interactive environment with
404
+ no terminal attached (cron, systemd, `docker run` without `-t`), the CLI
405
+ detects the context and automatically switches to structured JSON output with
406
+ plain-text status messages. A plain pipe on its own does not trigger this —
407
+ `dg projects | jq` from an interactive shell still gets the human-readable
408
+ table, so pass `-o json` explicitly when you are piping by hand.
405
409
 
406
410
  ### Exit codes
407
411
 
@@ -418,8 +422,14 @@ Note that `dg` reports `2` for an interrupt rather than the shell's
418
422
  conventional `130`, so the code is the same whether the cancellation came from
419
423
  Ctrl-C or from declining a prompt.
420
424
 
421
- If a CI step relied on `dg` always exiting `0` (every command did, before
422
- 0.3.0), it will now fail where it previously passed silently.
425
+ Human-readable status and error messages go to stderr, and stdout carries the
426
+ result. With an explicit structured-output mode, authentication-guard failures
427
+ and commands that return an error result write a payload with `"status":
428
+ "error"` to stdout — authentication failures, `dg ffprobe`, and `dg debug
429
+ audio` included. Usage errors and handler-raised exceptions report on stderr
430
+ and can leave stdout empty. Branch on the exit code rather than on whether
431
+ stdout parsed. If a CI step relied on `dg` always exiting `0` (every command
432
+ did, before 0.3.0), it will now fail where it previously passed silently.
423
433
 
424
434
  ### Forcing non-interactive mode
425
435
 
@@ -427,7 +437,7 @@ Three explicit ways to skip every prompt and run with defaults — useful from a
427
437
  real terminal where auto-detection wouldn't otherwise trigger:
428
438
 
429
439
  ```bash
430
- # Global flag (works at any position)
440
+ # Global flag (before any command, or after a leaf command)
431
441
  dg --non-interactive listen recording.wav
432
442
  dg listen --non-interactive recording.wav
433
443
 
@@ -479,10 +489,14 @@ The CLI phones home anonymous error reports to help us catch crashes and regress
479
489
 
480
490
  ### Opt out
481
491
 
482
- Persistent (recommended):
492
+ Persistent (recommended) — add this to your `config.yaml`
493
+ (`~/.config/deepctl/config.yaml` on Linux,
494
+ `~/Library/Application Support/deepctl/config.yaml` on macOS,
495
+ `%LOCALAPPDATA%\deepgram\deepctl\config.yaml` on Windows):
483
496
 
484
- ```bash
485
- dg config set telemetry.enabled false
497
+ ```yaml
498
+ telemetry:
499
+ enabled: false
486
500
  ```
487
501
 
488
502
  One-shot (CI, scripts, single command):
@@ -1,19 +1,19 @@
1
1
  click>=8.0.0
2
2
  deepgram-sdk<8,>=7.7.0
3
- deepctl-core>=0.2.17
4
- deepctl-cmd-login>=0.1.18
3
+ deepctl-core>=0.2.18
4
+ deepctl-cmd-login>=0.1.19
5
5
  deepctl-cmd-projects>=0.2.0
6
6
  deepctl-cmd-transcribe>=0.1.12
7
- deepctl-cmd-usage>=0.2.0
7
+ deepctl-cmd-usage>=0.2.1
8
8
  deepctl-cmd-mcp>=0.1.15
9
9
  deepctl-cmd-api>=0.0.2
10
- deepctl-cmd-debug>=0.1.12
10
+ deepctl-cmd-debug>=0.1.13
11
11
  deepctl-cmd-debug-browser>=0.1.12
12
12
  deepctl-cmd-debug-network>=0.1.12
13
- deepctl-cmd-debug-audio>=0.1.13
13
+ deepctl-cmd-debug-audio>=0.1.14
14
14
  deepctl-cmd-debug-probe>=0.0.2
15
15
  deepctl-cmd-debug-toolkit>=0.1.0
16
- deepctl-cmd-ffprobe>=0.0.2
16
+ deepctl-cmd-ffprobe>=0.0.3
17
17
  deepctl-cmd-update>=0.2.7
18
18
  deepctl-cmd-plugin>=0.1.13
19
19
  deepctl-cmd-skills>=0.0.8
@@ -27,8 +27,8 @@ deepctl-cmd-requests>=0.1.0
27
27
  deepctl-cmd-billing>=0.1.0
28
28
  deepctl-cmd-members>=0.1.0
29
29
  deepctl-cmd-completion>=0.0.3
30
- deepctl-shared-utils>=0.1.12
31
- deepctl-telemetry>=0.0.6
30
+ deepctl-shared-utils>=0.1.13
31
+ deepctl-telemetry>=0.0.7
32
32
  pydantic>=2.0.0
33
33
  rich>=13.0.0
34
34
  httpx>=0.24.0
File without changes
File without changes
File without changes