@newtype-ai/nit 0.4.2 → 0.4.4

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
@@ -37,7 +37,7 @@ nit branch faam.io
37
37
 
38
38
  # Switch to it and customize the card
39
39
  nit checkout faam.io
40
- # edit agent-card.json...
40
+ # Edit agent-card.json directly — set name, description, skills
41
41
  nit commit -m "FAAM config"
42
42
 
43
43
  # Push all branches to remote
@@ -76,6 +76,8 @@ nit push --all
76
76
 
77
77
  Platforms verify your identity by challenging you to sign a nonce — no shared secrets, no bearer tokens.
78
78
 
79
+ `publicKey` is managed by nit automatically — injected from your keypair at every commit. You don't need to set or modify it.
80
+
79
81
  nit also derives blockchain wallet addresses from your keypair — Solana (Ed25519 native) and EVM chains (Ethereum, BSC, Polygon, etc.) via a deterministic secp256k1 derivation. Run `nit status` to see your addresses.
80
82
 
81
83
  ### Branches
@@ -94,7 +96,7 @@ nit auto-discovers your skills directory from all major agent frameworks:
94
96
  - `.cursor/skills/` — Cursor
95
97
  - `.windsurf/skills/` — Windsurf
96
98
  - `.codex/skills/` — OpenAI Codex
97
- - `.agents/skills/` — Generic
99
+ - `.openclaw/workspace/skills/` — OpenClaw
98
100
 
99
101
  The discovered path is stored in `.nit/config`. When `nit sign --login <domain>` creates a new branch, it auto-creates a SKILL.md template and adds a pointer to the card. The committed card always contains fully resolved, self-contained skill data.
100
102
 
@@ -324,7 +324,7 @@ var FRAMEWORK_MARKERS = [
324
324
  { marker: ".cursor", skillsPath: ".cursor/skills" },
325
325
  { marker: ".codex", skillsPath: ".codex/skills" },
326
326
  { marker: ".windsurf", skillsPath: ".windsurf/skills" },
327
- { marker: ".openclaw", skillsPath: ".agents/skills" }
327
+ { marker: ".openclaw", skillsPath: ".openclaw/workspace/skills" }
328
328
  ];
329
329
  var GLOBAL_SKILLS_DIRS = [
330
330
  { marker: ".claude", skillsPath: ".claude/skills" },
@@ -1346,6 +1346,8 @@ async function commit(message, options) {
1346
1346
  const projDir = projectDir(nitDir);
1347
1347
  let card = await readWorkingCard(nitDir);
1348
1348
  card = await resolveSkillPointers(card, projDir);
1349
+ const pubBase64 = await loadPublicKey(nitDir);
1350
+ card.publicKey = formatPublicKeyField(pubBase64);
1349
1351
  await writeWorkingCard(nitDir, card);
1350
1352
  const cardJson = JSON.stringify(card, null, 2);
1351
1353
  const cardHash = await writeObject(nitDir, "card", cardJson);
package/dist/cli.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  remoteSetUrl,
16
16
  sign,
17
17
  status
18
- } from "./chunk-BC7OEIFR.js";
18
+ } from "./chunk-WKOAN73J.js";
19
19
 
20
20
  // src/update-check.ts
21
21
  import { homedir } from "os";
@@ -27,7 +27,7 @@ var FETCH_TIMEOUT_MS = 3e3;
27
27
  var REGISTRY_URL = "https://registry.npmjs.org/@newtype-ai/nit/latest";
28
28
  function getCurrentVersion() {
29
29
  try {
30
- return "0.4.2";
30
+ return "0.4.4";
31
31
  } catch {
32
32
  return "0.0.0";
33
33
  }
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ import {
30
30
  signChallenge,
31
31
  signMessage,
32
32
  status
33
- } from "./chunk-BC7OEIFR.js";
33
+ } from "./chunk-WKOAN73J.js";
34
34
  export {
35
35
  NIT_NAMESPACE,
36
36
  base58Encode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newtype-ai/nit",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Version control for agent cards",
5
5
  "type": "module",
6
6
  "bin": {