You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jacs/docs/jacsbook/src/nodejs/installation.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Node.js Installation
2
2
3
-
The JACS Node.js package (`@hai-ai/jacs`) provides JavaScript/TypeScript bindings to the JACS Rust library, making it easy to integrate JACS into web applications, servers, and Node.js projects.
3
+
The JACS Node.js package (`@hai.ai/jacs`) provides JavaScript/TypeScript bindings to the JACS Rust library, making it easy to integrate JACS into web applications, servers, and Node.js projects.
Copy file name to clipboardExpand all lines: jacs/docs/jacsbook/src/nodejs/simple-api.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# Simplified API
2
2
3
-
The simplified API (`@hai-ai/jacs/simple`) provides a streamlined, module-level interface for common JACS operations. It's designed to get you signing and verifying in under 2 minutes.
3
+
The simplified API (`@hai.ai/jacs/simple`) provides a streamlined, module-level interface for common JACS operations. It's designed to get you signing and verifying in under 2 minutes.
4
4
5
5
## Quick Start
6
6
7
7
```javascript
8
-
constjacs=require('@hai-ai/jacs/simple');
8
+
constjacs=require('@hai.ai/jacs/simple');
9
9
10
10
// Load your agent
11
11
constagent=jacs.load('./jacs.config.json');
@@ -390,7 +390,7 @@ interface Attachment {
390
390
## Complete Example
391
391
392
392
```javascript
393
-
constjacs=require('@hai-ai/jacs/simple');
393
+
constjacs=require('@hai.ai/jacs/simple');
394
394
395
395
// Load agent
396
396
constagent=jacs.load('./jacs.config.json');
@@ -452,7 +452,7 @@ The simplified API works well with MCP tool implementations:
452
452
453
453
```javascript
454
454
const { Server } =require('@modelcontextprotocol/sdk/server/index.js');
Copy file name to clipboardExpand all lines: jacs/docs/jacsbook/src/usecases.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ See [USECASES.md § 2](https://github.com/HumanAssisted/JACS/blob/main/USECASES.
24
24
25
25
## 3. Registering and testing your agent on HAI.ai
26
26
27
-
**Summary.** You want to register your JACS agent with HAI.ai for attestation and discoverability, and to test verification before going live. Use the HAI registration flow: from Node `registerWithHai()` (@hai-ai/jacs), from Go `RegisterWithHai()` (jacsgo), from Python `register_with_hai` / `register_new_agent()` (jacspy), or `openclaw jacs register` (moltyjacs). Set `HAI_API_KEY`, then check attestation and run verification with `JACS_KEY_RESOLUTION=local,hai`.
27
+
**Summary.** You want to register your JACS agent with HAI.ai for attestation and discoverability, and to test verification before going live. Use the HAI registration flow: from Node `registerWithHai()` (@hai.ai/jacs), from Go `RegisterWithHai()` (jacsgo), from Python `register_with_hai` / `register_new_agent()` (jacspy), or `openclaw jacs register` (moltyjacs). Set `HAI_API_KEY`, then check attestation and run verification with `JACS_KEY_RESOLUTION=local,hai`.
28
28
29
29
See [USECASES.md § 3](https://github.com/HumanAssisted/JACS/blob/main/USECASES.md#3-registering-and-testing-your-agent-on-haiai) for the full scenario.
0 commit comments