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: CLAUDE.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
6
6
7
7
TypeScript SDK, CLI & MCP Server for Costa Rica Electronic Invoicing (Comprobantes Electrónicos) against the Ministerio de Hacienda API v4.4. Three-layer architecture: SDK (core library) → CLI (`hacienda` binary) → MCP Server (AI-accessible tools).
8
8
9
-
See `MASTER_PLAN.md` for full architecture, backlog, spikes (S-01 through S-06), and dependency graph.
10
-
11
9
## Commands
12
10
13
11
```bash
@@ -20,9 +18,9 @@ pnpm typecheck # Type-check all packages
20
18
pnpm clean # Remove all dist/ directories
21
19
22
20
# Single package
23
-
pnpm --filter @hacienda-cr/sdk build
24
-
pnpm --filter @hacienda-cr/sdk test
25
-
pnpm --filter @hacienda-cr/sdk test clave.spec.ts # Single test file
21
+
pnpm --filter @dojocoding/hacienda-sdk build
22
+
pnpm --filter @dojocoding/hacienda-sdk test
23
+
pnpm --filter @dojocoding/hacienda-sdk test clave.spec.ts # Single test file
26
24
```
27
25
28
26
**Build order matters:** Turbo handles this automatically — `shared` builds first, then `sdk`, then `cli`/`mcp`. Always run `pnpm build` before `pnpm test` on a fresh clone.
@@ -31,10 +29,10 @@ pnpm --filter @hacienda-cr/sdk test clave.spec.ts # Single test file
El paquete `@hacienda-cr/mcp` expone el SDK como servidor MCP ([Model Context Protocol](https://modelcontextprotocol.io)), permitiendo que asistentes de IA emitan facturas electrónicas de forma conversacional.
780
+
El paquete `@dojocoding/hacienda-mcp` expone el SDK como servidor MCP ([Model Context Protocol](https://modelcontextprotocol.io)), permitiendo que asistentes de IA emitan facturas electrónicas de forma conversacional.
781
781
782
782
### Configuración con Claude Desktop
783
783
@@ -788,7 +788,7 @@ Agregá esto al `claude_desktop_config.json`:
- Initial public release of hacienda-cr — TypeScript SDK, CLI, and MCP Server for Costa Rica electronic invoicing (Hacienda API v4.4).
8
8
9
-
**@hacienda-cr/shared** — Shared types, Zod schemas, and constants for all 7 document types, tax codes, and identification types.
9
+
**@dojocoding/hacienda-shared** — Shared types, Zod schemas, and constants for all 7 document types, tax codes, and identification types.
10
10
11
-
**@hacienda-cr/sdk** — Core SDK with OAuth2 authentication, 50-digit clave generation/parsing, XML builder, XAdES-EPES digital signing, API client with submission/polling, and document builders for all 7 electronic document types.
11
+
**@dojocoding/hacienda-sdk** — Core SDK with OAuth2 authentication, 50-digit clave generation/parsing, XML builder, XAdES-EPES digital signing, API client with submission/polling, and document builders for all 7 electronic document types.
12
12
13
-
**@hacienda-cr/cli** — `hacienda` CLI binary for login, invoice drafting, validation, signing, submission, status checking, and document listing.
13
+
**@dojocoding/hacienda-cli** — `hacienda` CLI binary for login, invoice drafting, validation, signing, submission, status checking, and document listing.
14
14
15
-
**@hacienda-cr/mcp** — MCP Server exposing invoice creation, status checking, document retrieval, taxpayer lookup, and reference data as AI-accessible tools and resources.
15
+
**@dojocoding/hacienda-mcp** — MCP Server exposing invoice creation, status checking, document retrieval, taxpayer lookup, and reference data as AI-accessible tools and resources.
0 commit comments