@sandgarden/miranda 0.1.88 → 0.1.90
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/collector/stub.sh
CHANGED
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
# now downloads the same release from "sandgardenhq/plugins" with the
|
|
45
45
|
# "miranda-collector" prefix (#813). They stay placeholders rather than
|
|
46
46
|
# literals so the release host can move without editing this file.
|
|
47
|
-
BUILD_VERSION="
|
|
48
|
-
RELEASE_TAG="collector-
|
|
47
|
+
BUILD_VERSION="898a3aeb70f0"
|
|
48
|
+
RELEASE_TAG="collector-898a3aeb70f0"
|
|
49
49
|
RELEASE_REPO="sandgardenhq/plugins"
|
|
50
50
|
ASSET_PREFIX="miranda-collector"
|
|
51
|
-
CHECKSUM_DARWIN_ARM64="
|
|
52
|
-
CHECKSUM_DARWIN_X64="
|
|
53
|
-
CHECKSUM_LINUX_X64="
|
|
54
|
-
CHECKSUM_LINUX_ARM64="
|
|
55
|
-
CHECKSUM_WINDOWS_X64="
|
|
51
|
+
CHECKSUM_DARWIN_ARM64="634e7fcfcdaf31dbc634c05c376cf7cb06faf39cbaed6dd97cc294795419433f"
|
|
52
|
+
CHECKSUM_DARWIN_X64="bf72e11cdd05607323e9519c255ad934c8b50ab9c7893f3938832a1dd5187d11"
|
|
53
|
+
CHECKSUM_LINUX_X64="adcdb67e25f025a604582e8346728692995121bbef5325db7dc227c6bbebc111"
|
|
54
|
+
CHECKSUM_LINUX_ARM64="ab06c59c86067b622374f725f45e87c3cb68287f55534a8fd2dd6ff5c32871e1"
|
|
55
|
+
CHECKSUM_WINDOWS_X64="826194a0fc0ab7af0c32b1405e9ffb82603e66033c26fe1e45dc2f61e8786d5f"
|
|
56
56
|
|
|
57
57
|
# A download lock older than this is a downloader that died mid-run: take it
|
|
58
58
|
# over (mirrors the collector's sweep-lock staleness cutoff).
|
package/package.json
CHANGED
|
@@ -321,14 +321,29 @@ spend stops landing in Unassigned. Use the `miranda` MCP tools only.
|
|
|
321
321
|
attached to a project is that project's as much as its primary is. If a
|
|
322
322
|
project matches, name the existing project — its name and slug (all of
|
|
323
323
|
them, if more than one matches) — say spend from this repository is
|
|
324
|
-
already attributed to it, and register nothing.
|
|
324
|
+
already attributed to it, and register nothing. Never overwrite an existing
|
|
325
|
+
description, even a blank or weak one: a person may have written it, and
|
|
326
|
+
they can edit it on the project's page.
|
|
325
327
|
|
|
326
328
|
4. **Register when nothing matches.** Call `register_project` with
|
|
327
|
-
`{ "project": { "slug": …, "name": …, "repoUrls": [<normalized URL>] } }`:
|
|
329
|
+
`{ "project": { "slug": …, "name": …, "description": …, "repoUrls": [<normalized URL>] } }`:
|
|
328
330
|
- `name` — the repository name: the last path segment of the normalized
|
|
329
331
|
URL (`https://github.com/sandgardenhq/gloria.dev` → `gloria.dev`);
|
|
330
332
|
- `slug` — that name lowercased, every run of characters outside `a-z0-9`
|
|
331
|
-
replaced by `-`, leading and trailing `-` trimmed (`gloria-dev`)
|
|
333
|
+
replaced by `-`, leading and trailing `-` trimmed (`gloria-dev`);
|
|
334
|
+
- `description` — one or two plain sentences, at most about 300
|
|
335
|
+
characters, saying what this project is and what it does, written from
|
|
336
|
+
what you can read at the repo root: the README first, then the manifest's
|
|
337
|
+
own description (`package.json`, `pyproject.toml`, `Cargo.toml`, `go.mod`
|
|
338
|
+
and the like), the agent instruction file, and the top-level layout. Be
|
|
339
|
+
specific: say who or what it serves and the main things it does, e.g.
|
|
340
|
+
"Next.js dashboard and Cloudflare Workers API that monitors a team's
|
|
341
|
+
third-party service dependencies and alerts on outages." Not the
|
|
342
|
+
project's name or its URL restated, no boilerplate ("A software
|
|
343
|
+
project", "This repository contains code"), no markdown. Never claim a
|
|
344
|
+
capability, user or integration the files don't show. If they show too
|
|
345
|
+
little to say anything concrete, omit `description` rather than guess.
|
|
346
|
+
The developer can edit it on the project's page afterwards.
|
|
332
347
|
|
|
333
348
|
`register_project` **upserts by slug**: sending a slug some other project
|
|
334
349
|
already has overwrites that project's name and repository. So if
|
|
@@ -353,6 +368,8 @@ spend stops landing in Unassigned. Use the `miranda` MCP tools only.
|
|
|
353
368
|
`backfill`:
|
|
354
369
|
- the `slug` it registered under (and the name, when it isn't the same as
|
|
355
370
|
the slug);
|
|
371
|
+
- the description it saved, quoted, so the developer can correct it on the
|
|
372
|
+
project's page — or that you sent none, and why;
|
|
356
373
|
- `backfill.status` `"ran"` with `sessionCount` above 0 — that many earlier
|
|
357
374
|
sessions moved from Unassigned onto the project, worth `spendMicros` ÷
|
|
358
375
|
1,000,000 dollars (round to cents), the earliest from `earliestSessionAt`
|