@newtype-ai/nit 0.1.1 → 0.1.2

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
@@ -10,7 +10,7 @@ An agent working across multiple platforms (FAAM, Polymarket, etc.) needs to pre
10
10
 
11
11
  ```
12
12
  main → full agent card (public, discoverable)
13
- faam.fun → { skills: [content, social], description: "Content creator..." }
13
+ faam.io → { skills: [content, social], description: "Content creator..." }
14
14
  polymarket.com → { skills: [research, trading], description: "Market analyst..." }
15
15
  ```
16
16
 
@@ -33,10 +33,10 @@ npx @newtype-ai/nit init
33
33
  nit init
34
34
 
35
35
  # Create a platform-specific branch
36
- nit branch faam.fun
36
+ nit branch faam.io
37
37
 
38
38
  # Switch to it and customize the card
39
- nit checkout faam.fun
39
+ nit checkout faam.io
40
40
  # edit agent-card.json...
41
41
  nit commit -m "FAAM config"
42
42
 
@@ -74,9 +74,9 @@ Platforms verify your identity by challenging you to sign a nonce — no shared
74
74
 
75
75
  ### Branches
76
76
 
77
- Each branch is a different agent card for a different platform. Branch name = root domain of the platform (e.g., `faam.fun`, `polymarket.com`).
77
+ Each branch is a different agent card for a different platform. Branch name = root domain of the platform (e.g., `faam.io`, `polymarket.com`).
78
78
 
79
- `nit checkout faam.fun` overwrites `./agent-card.json` with that branch's version.
79
+ `nit checkout faam.io` overwrites `./agent-card.json` with that branch's version.
80
80
 
81
81
  ### Skill Resolution
82
82
 
@@ -96,7 +96,7 @@ The main branch is public. Non-main branches require signed-challenge authentica
96
96
 
97
97
  ```
98
98
  GET /.well-known/agent-card.json → main card (public)
99
- GET /.well-known/agent-card.json?branch=faam.fun → 401 { challenge }
99
+ GET /.well-known/agent-card.json?branch=faam.io → 401 { challenge }
100
100
  GET ... + X-Nit-Signature + X-Nit-Challenge → branch card
101
101
  ```
102
102
 
@@ -124,8 +124,8 @@ your-project/
124
124
  import { init, commit, checkout, branch, push, status } from '@newtype-ai/nit';
125
125
 
126
126
  await init();
127
- await branch('faam.fun');
128
- await checkout('faam.fun');
127
+ await branch('faam.io');
128
+ await checkout('faam.io');
129
129
  // modify agent-card.json...
130
130
  await commit('FAAM config');
131
131
  await push({ all: true });
package/dist/cli.js CHANGED
@@ -215,8 +215,8 @@ ${bold("Commands:")}
215
215
 
216
216
  ${bold("Examples:")}
217
217
  nit init
218
- nit branch faam.fun
219
- nit checkout faam.fun
218
+ nit branch faam.io
219
+ nit checkout faam.io
220
220
  ${dim("# edit agent-card.json for FAAM...")}
221
221
  nit commit -m "FAAM config"
222
222
  nit push --all
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newtype-ai/nit",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Version control for agent cards",
5
5
  "type": "module",
6
6
  "bin": {