@neta-art/neta-search-cli 0.2.31 → 0.2.36

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 CHANGED
@@ -19,7 +19,7 @@ npx -y @neta-art/neta-search-cli@latest skills submit <name> # submi
19
19
 
20
20
  `use` prints the skill directory and the full SKILL.md, so an agent can follow it right away; relative paths in SKILL.md resolve against that directory. If the local entry is a pointer (frontmatter `metadata.neta-skill-id`), `use` fetches the full skill it points to.
21
21
 
22
- Every result has a trust level: `platform` (published by the Neta team), `verified` (passed Neta's review) or `community` (shared by a Cohub user, not reviewed). `find --json` items carry it as `trust`, plus `basic: true` for built-in Cohub abilities and `author` for community skills. `use` and `add` say so when a skill is a community one; read those before relying on them.
22
+ Every result has a trust level: `platform` (published by the Neta team), `verified` (made or reviewed by the Neta team) or `community` (shared by a Cohub user, not reviewed). `find --json` items carry it as `trust`, plus `basic: true` for built-in Cohub abilities and `author` for community skills. `use` and `add` say so when a skill is a community one; read those before relying on them.
23
23
 
24
24
  Each `find --json` item carries a ready-to-run `use` command (`skills use <id> --via find`); prefix it with `npx -y @neta-art/neta-search-cli@latest` or `neta-search`. `--via` only labels where the use came from in usage stats.
25
25
 
package/neta-search.mjs CHANGED
@@ -28179,6 +28179,7 @@ var FIND_COMMUNITY_NOTE = "Community results were shared by Cohub users and have
28179
28179
  var TRUST_LABEL = {
28180
28180
  platform: "platform",
28181
28181
  verified: "verified",
28182
+ official: "official",
28182
28183
  community: "community, not reviewed"
28183
28184
  };
28184
28185
  function label(c) {
@@ -28299,7 +28300,7 @@ var ARCHIVE_PATH = "/v1/skills/archive";
28299
28300
  var TIMEOUT_MS = 6e4;
28300
28301
  var MAX_TRIES = 4;
28301
28302
  function parseTrust(v) {
28302
- return v === "platform" || v === "verified" || v === "community" ? v : void 0;
28303
+ return v === "platform" || v === "official" || v === "verified" || v === "community" ? v : void 0;
28303
28304
  }
28304
28305
  var ArchiveNotFound = class extends Error {
28305
28306
  };
@@ -29072,7 +29073,7 @@ async function cmdSubmit(name, opts) {
29072
29073
  }
29073
29074
  }
29074
29075
  function finish(opts, id, digest, name, s) {
29075
- const base = { id, digest, state: s.state, handle: s.handle || void 0, gated: s.gated, released: s.released, reason: s.reason || void 0, duplicate_of: s.duplicate_of || void 0 };
29076
+ const base = { id, digest, state: s.state, handle: s.handle || void 0, released: s.released, reason: s.reason || void 0, duplicate_of: s.duplicate_of || void 0 };
29076
29077
  switch (s.state) {
29077
29078
  case "rejected":
29078
29079
  return done(opts, base, `Not published: ${rejectLabel(s.reason ?? "the server rejected the directory")}.`, 1);
@@ -29085,19 +29086,19 @@ function finish(opts, id, digest, name, s) {
29085
29086
  return done(
29086
29087
  opts,
29087
29088
  { ...base, taken_down: true },
29088
- `Not listed: ${s.handle || id} was taken down by the Neta operators, so new versions are kept but not shown anywhere. If you think this is a mistake, contact the Neta team.`,
29089
+ `Not listed: this version of ${s.handle || id} was taken down by the Neta operators, so it is kept but not shown anywhere. Submitting changed content creates a new version, which is published as usual. If you think this is a mistake, contact the Neta team.`,
29089
29090
  1
29090
29091
  );
29091
29092
  }
29092
29093
  const lines = [`${s.published === true ? "Published" : "Collected"}: ${s.handle || id} ${digest}`];
29093
29094
  if (s.duplicate_of) {
29094
- lines.push(`Its content is identical to ${s.duplicate_of}, so the hub treats it as a copy of that skill; it will not be listed on its own.`);
29095
+ lines.push(`Its content is identical to ${s.duplicate_of}, so the public list shows them as one entry. It still works under its own name.`);
29095
29096
  } else if (s.released) {
29096
29097
  lines.push("This version is already live.");
29097
- } else if (s.gated) {
29098
- lines.push("It is waiting for review: it goes live once the gate writes back pass for this version (publishing runs every 30 minutes). Until then the current live version, if any, stays.");
29098
+ } else if (s.trusted === true) {
29099
+ lines.push("It appears on the public skills site and in find at the next publish (within a few minutes). Studio only uses reviewed versions: until this one is reviewed (picked or nominated skills are), Studio keeps the last reviewed version, if any.");
29099
29100
  } else {
29100
- lines.push("It appears on the public skills site and in find at the next publish (every 30 minutes), marked as a community skill. Getting into Studio needs a review.");
29101
+ lines.push("It appears on the public skills site and in find at the next publish (within a few minutes), marked as a community skill. Getting into Studio needs a review.");
29101
29102
  }
29102
29103
  lines.push(`To take it down later: neta-search skills submit --withdraw ${name} (deleting the directory does not withdraw it).`);
29103
29104
  return done(opts, base, lines.join("\n"), 0);
@@ -29137,7 +29138,7 @@ async function withdraw(env, name, opts) {
29137
29138
  return done(
29138
29139
  opts,
29139
29140
  { id, state: s.state },
29140
- `Withdrawn: ${id} is taken off the public skills site, find and downloads (people who already installed it keep their copy). Your copy here is unchanged; run neta-search skills submit ${name} to publish it again.`,
29141
+ `Withdrawn: ${id} is no longer shared \u2014 it is taken off the public skills site, find and Studio. Anyone who already uses it by name can still install it; to have its files deleted for good (for example a leaked secret), contact the Neta team. Your copy here is unchanged; run neta-search skills submit ${name} to share it again.`,
29141
29142
  0
29142
29143
  );
29143
29144
  } else if (s.state === "rejected") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neta-art/neta-search-cli",
3
- "version": "0.2.31",
3
+ "version": "0.2.36",
4
4
  "description": "neta-search CLI — find, try and install skills from the Cohub / Neta skill registry",
5
5
  "type": "module",
6
6
  "bin": {