lake-meter 0.1.3 → 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.
package/LICENSE CHANGED
@@ -1,21 +1,14 @@
1
- MIT License
1
+ Lake License
2
2
 
3
- Copyright (c) 2026 Lake
3
+ Copyright (c) 2026 Lake. All rights reserved.
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
5
+ This software is proprietary. You may install and use it only during a Lake trial or under a valid Lake license
6
+ key, and only as described at https://getlake.dev/platform/ (full text: https://github.com/getlake/lake/blob/main/LICENSE). You may not copy, modify, redistribute, sublicense,
7
+ sell or host it for others, or remove or bypass any license checks, without Lake's written permission.
11
8
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
9
+ The software is provided "as is", without warranty of any kind. Lake is not liable for any damages arising from
10
+ its use.
14
11
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
12
+ Earlier releases: lake-gate versions up to and including 0.2.5 and lake-meter versions up to and including 0.1.4
13
+ were published under the MIT License, and those published copies remain under the MIT License. This license
14
+ applies to lake-gate 0.3.0 and later and lake-meter 0.1.5 and later.
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # lake-meter
2
2
 
3
- **A model for every step, and a hard stop for every run. For Claude Code.**
3
+ > **lake-meter is now the cost layer of [Lake](https://getlake.dev/).** Lake shifts review left: your coding agent's plan gets a cost for every step and is reviewed before the code is merged, and this cap holds while the agent runs. One install gives you both: `npm i -D lake-gate && npx lake-gate init --cap 10`. 14-day free trial, then from $12/month ([pricing](https://getlake.dev/#pricing)). Paid checkout isn't open yet. Request a key: https://github.com/getlake/getlake.github.io/discussions/1 Using this package requires a Lake trial or a Lake license.
4
+
5
+ **A model for every step, and a cap that stops and asks. For Claude Code.**
4
6
 
5
7
  Claude Code is great until a run loops, fans out into subagents, or quietly eats your 5‑hour window on a step a cheaper model could have done. `lake-meter` adds two things using only Claude Code's own extension points (hooks, statusline, skills, MCP):
6
8
 
@@ -178,10 +180,12 @@ Step titles are stored locally in `~/.lake-meter`, along with config and a run l
178
180
  npm run demo # simulated session: plan breakdown → cap prompt → receipt
179
181
  ```
180
182
 
181
- ## Teams
183
+ ## Part of Lake
182
184
 
183
- Works with [lake-gate](https://getlake.github.io/lake-gate/): a teammate approves the plan before the expensive run. Shared caps and a dashboard of runs by repo and model are in early access. [Request a team pilot](https://getlake.github.io/lake-meter/#waitlist).
185
+ [Lake](https://getlake.dev/) reviews the agent's plan, with this estimate on every step, before code is written. The PR can't merge until a teammate approves that exact plan version, and small plans can be auto-approved. Solo $12/month, Team $15 per user/month, both with a 14-day free trial. Paid checkout isn't open yet. Request a key: https://github.com/getlake/getlake.github.io/discussions/1 Founding offer: the first 50 users get 2 months free, then 50% off for life ([claim it](https://getlake.dev/#founding)).
184
186
 
185
187
  ## License
186
188
 
187
- MIT © Lake
189
+ lake-meter 0.1.5 and later are proprietary, under the [Lake License](https://github.com/getlake/lake/blob/main/LICENSE).
190
+
191
+ © 2026 Lake
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lake-meter",
3
- "version": "0.1.3",
4
- "description": "Per-step model picks and a hard per-run cost cap for Claude Code. Hooks + MCP, local only, no telemetry.",
3
+ "version": "0.1.5",
4
+ "description": "The cost layer of Lake (getlake.dev): per-step model picks and a cap that stops and asks, for Claude Code. Local only, no telemetry. 14-day free trial.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "lake-meter": "bin/lake-meter.js"
@@ -31,15 +31,15 @@
31
31
  "cursor",
32
32
  "ai-agents"
33
33
  ],
34
- "license": "MIT",
34
+ "license": "SEE LICENSE IN LICENSE",
35
35
  "author": "Lake",
36
- "homepage": "https://github.com/getlake/lake-meter#readme",
36
+ "homepage": "https://getlake.dev",
37
37
  "repository": {
38
38
  "type": "git",
39
- "url": "git+https://github.com/getlake/lake-meter.git"
39
+ "url": "git+https://github.com/getlake/lake.git"
40
40
  },
41
+ "mcpName": "io.github.getlake/lake-meter",
41
42
  "bugs": {
42
- "url": "https://github.com/getlake/lake-meter/issues"
43
- },
44
- "mcpName": "io.github.getlake/lake-meter"
43
+ "url": "https://github.com/getlake/lake/issues"
44
+ }
45
45
  }
package/src/cli.js CHANGED
@@ -9,7 +9,7 @@ import { totals } from './transcript.js';
9
9
  import { init, uninstall } from './init.js';
10
10
  import { serve } from './mcp.js';
11
11
 
12
- const HELP = `lake-meter · per-step model picks and a hard per-run cap for Claude Code
12
+ const HELP = `lake-meter · per-step model picks and a per-run cap that stops and asks for Claude Code
13
13
 
14
14
  npx lake-meter init [--project] [--cap 5] [--no-agents] [--statusline] install hooks, statusline, /meter
15
15
  lake-meter plan <file.md> [--openai] [--why] plan breakdown: complexity, model per step, cost ranges