@pydantic/logfire-cli-linux-x64-musl 0.0.0 → 0.1.5

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 (3) hide show
  1. package/README.md +139 -2
  2. package/bin/logfire +0 -0
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1,3 +1,140 @@
1
- # Placeholder
1
+ # Logfire CLI
2
2
 
3
- Bootstrap version that only reserves this package name for trusted publishing. Do not install.
3
+ Set up [Pydantic Logfire](https://pydantic.dev/logfire), query your telemetry,
4
+ and manage projects and tokens without leaving the terminal.
5
+
6
+ [Getting started](docs/getting-started.md) · [Install](docs/installation.md) ·
7
+ [User guide](docs/README.md) · [Develop the CLI](dev-docs/README.md)
8
+
9
+ ## Get started
10
+
11
+ Install the native CLI with `uv`:
12
+
13
+ ```bash
14
+ uv tool install logfire-cli
15
+ logfire --version
16
+ ```
17
+
18
+ Want to try it first? Run either command without installing anything:
19
+
20
+ ```bash
21
+ uvx logfire-cli --help
22
+ npx logfire-cli --help
23
+ ```
24
+
25
+ You can also install it with npm:
26
+
27
+ ```bash
28
+ npm install --global logfire-cli
29
+ logfire --version
30
+ ```
31
+
32
+ ### New to Logfire?
33
+
34
+ From your application's directory, choose the organization and first project
35
+ names you want:
36
+
37
+ ```bash
38
+ logfire --region us signup --org acme --project my-app
39
+ ```
40
+
41
+ The CLI opens a short-lived signup page in your browser. After you approve the
42
+ signup, it creates the organization and project and connects the current
43
+ directory to that project. Use `--region eu` if your Logfire account belongs in
44
+ the EU region.
45
+
46
+ ### Already have a Logfire account?
47
+
48
+ Sign in, then create or choose a project interactively:
49
+
50
+ ```bash
51
+ logfire --region us auth --org acme
52
+ logfire --org acme init
53
+ ```
54
+
55
+ Browser credentials stay in your operating system's credential store. `init`
56
+ writes the project's SDK credential to `.logfire/logfire_credentials.json` and
57
+ keeps it out of version control.
58
+
59
+ ### Check it and do something useful
60
+
61
+ ```bash
62
+ logfire --org acme project current
63
+ logfire --org acme setup
64
+ logfire --org acme mcp query run 'SELECT message FROM records LIMIT 20' --project my-app
65
+ ```
66
+
67
+ - `project current` verifies which Logfire project this directory uses.
68
+ - `project open` opens that validated project, while `--no-open` prints its URL.
69
+ - `setup` prepares the account and project, then asks an installed Codex or
70
+ Claude Code agent to instrument and verify your application.
71
+ - `mcp query run` queries your Logfire data through the hosted MCP server.
72
+
73
+ For the complete walkthrough, including existing-project and automation flows,
74
+ see [Getting started](docs/getting-started.md).
75
+
76
+ ## Common jobs
77
+
78
+ | I want to… | Command | Guide |
79
+ | --- | --- | --- |
80
+ | Create my Logfire account and first project | `logfire signup` | [Signup](docs/commands/signup.md) |
81
+ | Sign in to an existing account | `logfire auth` | [Authentication](docs/authentication.md) |
82
+ | Connect this directory to a project | `logfire init` | [Project setup](docs/commands/init.md) |
83
+ | Add application instrumentation | `logfire setup` | [Agent-assisted setup](docs/commands/setup.md) |
84
+ | Try the beta AI Gateway integration | `logfire --beta agent gateway` or `logfire --beta agent proxy launch` | [Gateway setup](docs/commands/proxy.md) |
85
+ | Run Python with automatic instrumentation | `logfire run` | [Run Python](docs/commands/run.md) |
86
+ | Query traces and logs | `logfire mcp query` | [MCP](docs/commands/mcp.md) |
87
+ | Open or inspect the current project | `logfire project` | [Project](docs/commands/project.md) |
88
+ | Create a project read or write token | `logfire token` | [Tokens](docs/commands/token.md) |
89
+ | Diagnose credentials or local setup | `logfire doctor` | [Doctor](docs/commands/doctor.md) |
90
+
91
+ The CLI also includes beta typed Platform API commands, safe generic MCP calls,
92
+ agent skills, and beta Codex telemetry setup. The [user guide](docs/README.md) lists
93
+ every command by task.
94
+
95
+ ## Help that starts small
96
+
97
+ ```bash
98
+ logfire --help
99
+ logfire help signup
100
+ logfire help init
101
+ logfire help mcp query
102
+ ```
103
+
104
+ Short help keeps common choices visible. `logfire help <command>` adds examples,
105
+ effects, and advanced options.
106
+
107
+ For scripts and coding agents, add `--no-input` and request `--output json` or
108
+ `--output jsonl` instead of parsing human-readable output. See
109
+ [Output contracts](docs/output-contracts.md).
110
+
111
+ ## Credentials stay in the right place
112
+
113
+ - Browser OAuth credentials are scoped to one Logfire origin and organization
114
+ and stored in the operating system credential store.
115
+ - Project write credentials stay with the local project under `.logfire/`.
116
+ - Newly created secrets are printed once only when a token-creation command is
117
+ explicitly used.
118
+ - `--org` always means the real organization name shown in Logfire.
119
+
120
+ See [Authentication](docs/authentication.md) for multiple organizations,
121
+ headless API keys, logout, and credential precedence.
122
+
123
+ ## Installation and updates
124
+
125
+ PyPI provides native binaries for all 17 supported targets. npm covers the five
126
+ common macOS, GNU/Linux, and Windows combinations. Repository readers can also
127
+ download every prebuilt archive, plus checksums and verification evidence, from
128
+ [GitHub Releases](https://github.com/pydantic/logfire-cli/releases/latest). Until
129
+ this repository is public, that GitHub route requires Pydantic repository access.
130
+
131
+ See [Installation](docs/installation.md) for supported platforms, one-off use,
132
+ updates, and shell completions.
133
+
134
+ ## Contributing and security
135
+
136
+ Developing the CLI itself? Start with the [developer guide](dev-docs/README.md)
137
+ and [contribution guide](CONTRIBUTING.md). Report vulnerabilities through the
138
+ private process in [SECURITY.md](SECURITY.md), never through a public issue.
139
+
140
+ Logfire CLI is released under the [MIT License](LICENSE).
package/bin/logfire CHANGED
Binary file
package/package.json CHANGED
@@ -4,6 +4,9 @@
4
4
  ],
5
5
  "description": "Native binary for @pydantic/logfire-cli-linux-x64-musl.",
6
6
  "homepage": "https://pydantic.dev/logfire",
7
+ "libc": [
8
+ "musl"
9
+ ],
7
10
  "license": "MIT",
8
11
  "name": "@pydantic/logfire-cli-linux-x64-musl",
9
12
  "os": [
@@ -11,8 +14,5 @@
11
14
  ],
12
15
  "preferUnplugged": true,
13
16
  "repository": "https://github.com/pydantic/logfire-cli",
14
- "version": "0.0.0",
15
- "libc": [
16
- "musl"
17
- ]
17
+ "version": "0.1.5"
18
18
  }