@jipsoft/factusync-cli 0.1.0 → 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.
Files changed (2) hide show
  1. package/README.md +17 -1
  2. package/package.json +5 -6
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # factusync — FactuSync CLI for agents and scripts
2
2
 
3
+ <a href="https://github.com/Gentleman-Programming/gentle-ai">
4
+ <img width="220" src="https://raw.githubusercontent.com/Gentleman-Programming/gentle-ai/main/docs/assets/brand/built-with-gentle-ai.png" alt="Built with Gentle-AI" />
5
+ </a>
6
+
3
7
  `factusync` issues and reads Ecuadorian SRI electronic documents in FactuSync from a shell. It is a
4
8
  thin client of the FactuSync MCP endpoint: every command calls one MCP tool, with the same input,
5
9
  the same API-key scopes, the same error texts and the same idempotency as the MCP tools.
@@ -10,7 +14,7 @@ scripts. Every command prints JSON.
10
14
  ## Run it
11
15
 
12
16
  ```bash
13
- # Once published to npm:
17
+ # From npm (https://www.npmjs.com/package/@jipsoft/factusync-cli):
14
18
  npx @jipsoft/factusync-cli context
15
19
  npm install -g @jipsoft/factusync-cli && factusync context
16
20
 
@@ -206,6 +210,18 @@ factusync documents get "$DOCUMENT_ID" # until AUTHORIZED or REJECTED
206
210
  factusync ride "$DOCUMENT_ID" --out invoice.pdf --xml invoice.xml
207
211
  ```
208
212
 
213
+ ## Source and issues
214
+
215
+ This package is developed inside JipSoft's private monorepo, next to the FactuSync server it talks
216
+ to, so a shared contract test (`mcp-tool-contract.json`) keeps the commands and the server's tools
217
+ from drifting apart. [github.com/jipsoft-labs/factusync-cli](https://github.com/jipsoft-labs/factusync-cli)
218
+ is a public mirror, synced on every release. Issues are welcome there; pull requests are read and
219
+ ported into the monorepo by hand, so they are not merged in the mirror itself.
220
+
221
+ To build and test a checkout of the mirror: `npm install && npm test` with npm 11 or later. npm 10
222
+ fails to resolve vitest 4's peer dependencies (`Cannot read properties of null (reading 'edgesOut')`);
223
+ on npm 10 use `npm install --legacy-peer-deps`. Installing the published package is not affected.
224
+
209
225
  ## License
210
226
 
211
227
  MIT. See [LICENSE](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jipsoft/factusync-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "FactuSync command line for AI agents (Pi) and shell scripts: Ecuadorian SRI e-invoicing through the FactuSync MCP endpoint",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -14,11 +14,10 @@
14
14
  "homepage": "https://jipsoft.com/factusync/mcp",
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "git+https://github.com/jipsoft-labs/jipsoft-global.git",
18
- "directory": "packages/factusync-cli"
17
+ "url": "git+https://github.com/jipsoft-labs/factusync-cli.git"
19
18
  },
20
19
  "bugs": {
21
- "url": "https://github.com/jipsoft-labs/jipsoft-global/issues"
20
+ "url": "https://github.com/jipsoft-labs/factusync-cli/issues"
22
21
  },
23
22
  "type": "module",
24
23
  "bin": {
@@ -37,9 +36,9 @@
37
36
  },
38
37
  "scripts": {
39
38
  "build": "rm -rf dist && tsc --project tsconfig.build.json && chmod +x dist/cli.js",
40
- "test": "pnpm run build && pnpm exec vitest run",
39
+ "test": "npm run build && vitest run",
41
40
  "typecheck": "tsc --project tsconfig.json --noEmit",
42
- "prepublishOnly": "pnpm run test"
41
+ "prepublishOnly": "npm test"
43
42
  },
44
43
  "dependencies": {
45
44
  "@modelcontextprotocol/sdk": "1.30.1",