pi-usage-limits 0.1.1 → 0.1.2

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 (2) hide show
  1. package/claude_limits.ts +2 -0
  2. package/package.json +1 -1
package/claude_limits.ts CHANGED
@@ -23,6 +23,8 @@ export const getLimits = async function (): Promise<ClaudeLimits> {
23
23
  persistSession: false,
24
24
  settingSources: [],
25
25
  strictMcpConfig: true,
26
+ // pi-claude-bridge sets this in pi's process; the CLI then skips the usage fetch and returns null
27
+ env: { ...process.env, CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: undefined },
26
28
  // CLI only explains a null usage result in its debug log
27
29
  extraArgs: { "debug-to-stderr": null },
28
30
  stderr: (s) => log.push(s),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-usage-limits",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "pi-package",