@simonesiega/codex-limits 1.1.0 → 1.2.0

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.
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://raw.githubusercontent.com/simonesiega/codex-limits/main/docs/schema/codex-limits-doctor.schema.json",
4
+ "title": "Codex Limits Doctor JSON Output",
5
+ "description": "Schema for the output of `codex-limits doctor --json`.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "packageVersion",
10
+ "nodeVersion",
11
+ "operatingSystem",
12
+ "codexHomeDetected",
13
+ "authenticationFound",
14
+ "localUsageFound",
15
+ "liveEndpoint",
16
+ "agentIntegrations"
17
+ ],
18
+ "properties": {
19
+ "packageVersion": {
20
+ "type": "string"
21
+ },
22
+ "nodeVersion": {
23
+ "type": "string"
24
+ },
25
+ "operatingSystem": {
26
+ "type": "string"
27
+ },
28
+ "codexHomeDetected": {
29
+ "type": "boolean"
30
+ },
31
+ "authenticationFound": {
32
+ "type": "boolean"
33
+ },
34
+ "localUsageFound": {
35
+ "type": "boolean"
36
+ },
37
+ "liveEndpoint": {
38
+ "enum": ["not-checked", "reachable", "unreachable"]
39
+ },
40
+ "agentIntegrations": {
41
+ "type": "object",
42
+ "propertyNames": {
43
+ "pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,63}$"
44
+ },
45
+ "additionalProperties": {
46
+ "enum": ["installed", "not-installed", "unknown"]
47
+ }
48
+ }
49
+ }
50
+ }
@@ -163,7 +163,8 @@
163
163
  "anyOf": [
164
164
  {
165
165
  "type": "integer",
166
- "minimum": 0
166
+ "minimum": 0,
167
+ "maximum": 9007199254740991
167
168
  },
168
169
  {
169
170
  "type": "null"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simonesiega/codex-limits",
3
- "version": "1.1.0",
4
- "description": "Inspect Codex usage limits, reset times, and reset-credit coupons from the terminal, or explicitly confirm a remote usage reset.",
3
+ "version": "1.2.0",
4
+ "description": "Cross-platform npm CLI with agent integrations for monitoring OpenAI Codex usage limits, reset times, and reset-credit coupons.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "codex-limits": "dist/cli.js"
@@ -20,6 +20,10 @@
20
20
  "types": "./types/opencode.d.ts",
21
21
  "import": "./dist/opencode.js"
22
22
  },
23
+ "./tui": {
24
+ "types": "./types/opencode.d.ts",
25
+ "import": "./dist/opencode.js"
26
+ },
23
27
  "./pi": {
24
28
  "types": "./types/pi.d.ts",
25
29
  "import": "./dist/pi.js"
@@ -37,6 +41,7 @@
37
41
  "scripts/postinstall.cjs",
38
42
  "README.md",
39
43
  "CONTRIBUTING.md",
44
+ "CODE_OF_CONDUCT.md",
40
45
  "CHANGELOG.md",
41
46
  "SECURITY.md",
42
47
  ".env.example",
@@ -51,6 +56,8 @@
51
56
  "docs:schema": "bun run scripts/check-doc-schema.ts",
52
57
  "docs:check": "bun run docs:link && bun run docs:schema",
53
58
  "typecheck": "tsc --noEmit",
59
+ "audit": "bun audit",
60
+ "agents:compat": "bun run scripts/check-agent-compatibility.ts",
54
61
  "test": "bun test",
55
62
  "package:validate": "bun run scripts/validate-package.ts",
56
63
  "check": "bun run format:check && bun run docs:check && bun run typecheck && bun test && bun run build && bun run package:validate",
@@ -87,7 +94,8 @@
87
94
  "packageManager": "bun@1.3.14",
88
95
  "overrides": {
89
96
  "brace-expansion": "5.0.9",
90
- "fast-uri": "3.1.4"
97
+ "fast-uri": "3.1.5",
98
+ "undici": "8.10.0"
91
99
  },
92
100
  "peerDependencies": {
93
101
  "@earendil-works/pi-coding-agent": "*",