Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Changelog

`metergraph-cli` is published on npm. Preview versions use the `next` dist-tag;
`latest` stays on the last stable version, currently `0.2.4`.
`latest` stays on the last stable version, currently `0.2.5`.

## 0.2.5 (prepared; not yet published)
## 0.2.6 (prepared; not yet published)

- Bundles the skills from metergraph/skills c8c8f85. `metergraph-price-check` now hands off
to setup when only the workflow skills are installed: it uses the `metergraph` setup skill
if present, otherwise https://www.metergraph.dev/SKILL.md, then `metergraph-onboarding`.
It also names the Pricing API catalog's `model_id` field. The setup skill is unchanged, so
`metergraph-skills` on PyPI needs no release.

## 0.2.5 (published 2026-10-29)

- Bundles the skills from metergraph/skills 65e2030, which add `metergraph-price-check`.
`skills install` now also writes it: a check that needs no Metergraph account, finds the
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ npx --yes metergraph-cli@latest traces --limit 20 # one page of trace metadata
```

To install it globally instead, run `npm install -g metergraph-cli@latest`. The command is
`metergraph`. Pin an exact version, such as `metergraph-cli@0.2.5`, when a
`metergraph`. Pin an exact version, such as `metergraph-cli@0.2.6`, when a
script must not change with the `latest` tag. Previews use the `next` tag.

## Requirements
Expand Down
4 changes: 2 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

The source of truth is the public repository
[github.com/metergraph/cli](https://github.com/metergraph/cli), licensed Apache-2.0.
`0.2.4` is published on the `latest` npm tag; `next` also points to `0.2.4`.
The next prepared stable version is `0.2.5`; preparation does not publish it.
`0.2.5` is published on the `latest` npm tag; `next` still points to `0.2.4`.
The next prepared stable version is `0.2.6`; preparation does not publish it.
The hosted service supports sign in, Metadata reads and ingest bootstrap.
Subsequent releases must pass the checks below before publication.

Expand Down
8 changes: 4 additions & 4 deletions assets/skills/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"repository": "metergraph/skills",
"commit": "65e203035df09544fe29dedba99cd64181b41c2a",
"commit": "c8c8f8537852662fada688476ca7434cc343c49a",
"skills": [
{
"name": "metergraph-analyze",
Expand Down Expand Up @@ -53,9 +53,9 @@
},
{
"name": "metergraph-price-check",
"sha256": "2a10b2c892a125dbfd77c29cede3567ab24831919723bddabd50f6cc9e6d8fde",
"size": 11538,
"revision": "sha256-2a10b2c892a1"
"sha256": "b5995a1a1487204e1a0cd2b85eaf1c282defeaa0d415c3e15ffc04e4ebf999fd",
"size": 12212,
"revision": "sha256-b5995a1a1487"
},
{
"name": "metergraph-report",
Expand Down
28 changes: 20 additions & 8 deletions assets/skills/metergraph-price-check/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,14 @@ whole check:
1. **One catalog read** (optional, about 250 KB):
`curl -sS https://app.metergraph.dev/v1/pricing/models -o <scratch file>`.
Save it to a temporary file and filter it with `jq` or a short script; do
not paste it into the conversation. Use it to match an ID the lookup does
not recognize to a catalog alias (each model lists `aliases` with
`provider`, `model` and `channel`) and to confirm a candidate exists before
you price it. Its `catalog.version` is the catalog date for the report.
not paste it into the conversation. Each entry in `models` is identified
by `model_id` (there is no `id` field), in the form `vendor/name` with
dotted versions, such as `anthropic/claude-opus-5.5`. Code usually writes
the provider's own ID instead (`claude-opus-5-5`); each entry's `aliases`
list maps those, with `provider`, `model` and `channel`. For example:
`jq -r '.models[] | select(any(.aliases[]; .model == "claude-opus-5-5")) | .model_id'`.
Use it to match an ID the lookup does not recognize to a catalog alias and
to confirm a candidate exists before you price it. Its `catalog.version` is the catalog date for the report.
The listing has no rates; only lookup returns prices.
2. **One batched lookup** for every model the code uses plus the candidates
from step 3, up to 100 records:
Expand Down Expand Up @@ -207,10 +211,18 @@ Close with this, adapted to what you found:
> hosted service or a commercial self-hosted install (the customer-local
> bundle or your own AWS account).

Ask that one question and stop. When the person chooses, hand off to the
`metergraph` skill, which asks the remaining setup questions and connects the
agent without asking for keys in chat. If that skill is not installed, follow
https://www.metergraph.dev/SKILL.md. Self-hosting options are compared at
Ask that one question and stop. When the person chooses, hand off to setup:

1. If the `metergraph` setup skill is installed, use it. It asks the
remaining setup questions and connects the agent without asking for keys
in chat. `metergraph skills install` does not include it; `metergraph
skill install` and `metergraph setup` do.
2. Otherwise, fetch https://www.metergraph.dev/SKILL.md and follow it. It is
the same setup skill.
3. Once the agent is connected, `metergraph-onboarding` (when installed)
instruments the application and confirms its first real trace.

Self-hosting options are compared at
https://www.metergraph.dev/docs/self-host/.

After setup and some real traffic, `metergraph-model-swap` takes a workload
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metergraph-cli",
"version": "0.2.5",
"version": "0.2.6",
"description": "Metergraph command line tool with a read-only connection probe, a project skill installer, Metadata-only sign in and bounded workspace Metadata reads",
"type": "module",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion skills-source.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"repository": "metergraph/skills",
"commit": "65e203035df09544fe29dedba99cd64181b41c2a",
"commit": "c8c8f8537852662fada688476ca7434cc343c49a",
"path": "skills/metergraph/SKILL.md"
}
2 changes: 1 addition & 1 deletion src/skill-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function loadBundledSkill() {
// The workflow skills that "skills install" writes, vendored from the public
// skills repository at one commit. The manifest's own hash is pinned here, and
// the manifest pins each skill's hash, so changing any file alone is detected.
const PINNED_PACK_SHA256 = "2b45d75155d88017c4753f446cf87ff288a6102a3d58826e02395bd16f34f6aa";
const PINNED_PACK_SHA256 = "d6d0dee92604b555c8dca567648cff0ae8b05f0f2beb1456ceb30d2446d2fe80";

const PACK_DIR = new URL("../assets/skills/", import.meta.url);
const PACK_KEYS = ["commit", "manifest_version", "repository", "skills"];
Expand Down
Loading