Skip to content

V0.6.1#38

Merged
Hendler merged 7 commits intomainfrom
v0.6.1
Feb 10, 2026
Merged

V0.6.1#38
Hendler merged 7 commits intomainfrom
v0.6.1

Conversation

@Hendler
Copy link
Copy Markdown
Contributor

@Hendler Hendler commented Feb 9, 2026

No description provided.

  ┌─────┬────────────────────────────────────────────────────────────────────┬────────┬─────────────┐
  │  #  │                                Task                                │ Status │    Tests    │
  ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤
  │ 1.1 │ Merge mcp_simple → mcp.py, implement 3 stubs                       │ Done   │ -           │
  ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤
  │ 1.2 │ Add strict mode to mcp.py                                          │ Done   │ -           │
  ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤
  │ 1.3 │ Remove hardcoded passwords (14 config files)                       │ Done   │ -           │
  ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤
  │ 1.4 │ Replace dead handlers with 4 message MCP tools                     │ Done   │ 5 new tests │
  ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤
  │ 1.5 │ Fix Agent::ready()                                                 │ Done   │ 1 new test  │
  ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤
  │ 1.6 │ Improve password error messages + check_password_strength()        │ Done   │ 38 pass     │
  ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤
  │ 1.7 │ Add reset() (Python, Node)                                         │ Done   │ -           │
  ├─────┼────────────────────────────────────────────────────────────────────┼────────┼─────────────┤
  │ 1.8 │ Add diagnostics()/debug_info() (Rust → binding-core → Python/Node) │ Done   │ 1+ new test │
  └─────┴────────────────────────────────────────────────────────────────────┴────────┴─────────────┘
  Test results:
  - jacs core: 348 passed (was 339, +9 new)
  - binding-core: 32 passed
  - jacs-mcp: compiles clean

  Key changes:
  - mcp_simple.py merged into mcp.py — one file, two APIs
  - JacsSSETransport, jacs_middleware(), create_jacs_mcp_server() implemented
  - strict mode + JACS_STRICT_MODE env var for MCP client/server
  - 14 config files cleaned of hardcoded passwords
  - 4 new MCP message tools (send/update/agree/receive) — 18 total tools
  - Agent::ready() does real validation
  - Password errors include full requirements
  - reset() for test isolation in Python + Node
  - debug_info()/debugInfo() in Python + Node, diagnostics() in Rust
  What was added

  Rust core (jacs/src/simple.rs):
  - SetupInstructions struct with all DNS, DNSSEC, well-known, and HAI registration fields
  - SimpleAgent::get_setup_instructions(domain, ttl) method
  - SimpleAgent::register_with_hai(api_key, hai_url, preview) method
  - Tests for serialization, agent-required guard, and preview mode

  DNS bootstrap (jacs/src/dns/bootstrap.rs):
  - dnssec_guidance(provider) — per-provider DNSSEC setup guidance
  - tld_requirement_text() — domain ownership requirement text

  Binding core (binding-core/src/lib.rs):
  - AgentWrapper::get_setup_instructions(domain, ttl) → JSON string
  - AgentWrapper::register_with_hai(api_key, hai_url, preview) → JSON string

  Python (jacspy/src/lib.rs, jacspy/python/jacs/simple.py, async_simple.py):
  - JacsAgent.get_setup_instructions(domain, ttl) PyO3 method
  - JacsAgent.register_with_hai(api_key, hai_url, preview) PyO3 method
  - simple.get_setup_instructions() and simple.register_with_hai() wrappers
  - Async versions in async_simple.py

  Node.js (jacsnpm/src/lib.rs, jacsnpm/simple.ts, simple.d.ts):
  - JacsAgent.getSetupInstructions(domain, ttl) NAPI method
  - JacsAgent.registerWithHai(apiKey, haiUrl, preview) NAPI method
  - simple.getSetupInstructions() wrapper function
  - TypeScript declarations updated

  Test results

  - 354 core tests, 32 binding-core tests, 18 MCP tests — all passing, 0 failures
@Hendler Hendler merged commit 57224e0 into main Feb 10, 2026
5 checks passed
@Hendler Hendler deleted the v0.6.1 branch February 10, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant