costlayers 0.8.13 → 0.8.14
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.
- package/README.md +4 -4
- package/bin/agentspend.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ One-command setup:
|
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
cd your-repo
|
|
11
|
-
npx -y
|
|
11
|
+
npx -y costlayers@latest start --email you@example.com
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
@@ -24,7 +24,7 @@ Launch Codex with CostLayers context:
|
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
26
|
cd your-repo
|
|
27
|
-
npx -y
|
|
27
|
+
npx -y costlayers@latest start --email you@example.com -- codex
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
This gives Codex `.agentspend/repo-pack.md` and `.agentspend/runtime-plan.md`
|
|
@@ -44,7 +44,7 @@ API write permission:
|
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
46
|
export OPENAI_API_KEY=sk-proj-...
|
|
47
|
-
npx -y
|
|
47
|
+
npx -y costlayers@latest start --email you@example.com --codex-proxy -- codex
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
ChatGPT-login Codex can be metered, but it does not create per-request OpenAI
|
|
@@ -59,7 +59,7 @@ Platform invoice savings because it is not billed through your Platform API key.
|
|
|
59
59
|
To install only the Codex profile after signup:
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
|
-
npx -y
|
|
62
|
+
npx -y costlayers@latest codex-profile
|
|
63
63
|
codex --profile costlayers
|
|
64
64
|
```
|
|
65
65
|
|
package/bin/agentspend.js
CHANGED
|
@@ -9,8 +9,8 @@ const https = require("https");
|
|
|
9
9
|
const os = require("os");
|
|
10
10
|
const { spawnSync } = require("child_process");
|
|
11
11
|
|
|
12
|
-
const VERSION = "0.8.
|
|
13
|
-
const INSTALL_SPEC = "
|
|
12
|
+
const VERSION = "0.8.14";
|
|
13
|
+
const INSTALL_SPEC = "costlayers@latest";
|
|
14
14
|
const DEFAULT_RUNS_PER_WEEK = 20;
|
|
15
15
|
const WEEKS_PER_MONTH = 4.33;
|
|
16
16
|
const DEFAULT_EXCLUDES = new Set([
|
package/package.json
CHANGED