@newtype-ai/nit 0.4.3 → 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 +3 -1
- package/dist/{chunk-CPNPQQOU.js → chunk-WKOAN73J.js} +2 -0
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
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
|
-
#
|
|
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
|
|
@@ -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-
|
|
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.
|
|
30
|
+
return "0.4.4";
|
|
31
31
|
} catch {
|
|
32
32
|
return "0.0.0";
|
|
33
33
|
}
|
package/dist/index.js
CHANGED