@pragmys/compass 0.0.3 → 0.0.4

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/INSTALL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Install
2
2
 
3
- Full documentation and downloads: [pragmys.com/compass](https://pragmys.com/compass).
3
+ Full documentation: [pragmys.com/compass](https://pragmys.com/compass).
4
4
 
5
5
  Compass is one MCP server. There is no separate skill, plugin or rules file to install: the instructions travel inside the server.
6
6
 
@@ -16,7 +16,7 @@ claude mcp add pragmys-compass -- npx -y @pragmys/compass@VERSION
16
16
 
17
17
  ## Claude Desktop
18
18
 
19
- Install the `.mcpb` bundle from [pragmys.com/compass](https://pragmys.com/compass) (one click), or add to `claude_desktop_config.json`:
19
+ Add to `claude_desktop_config.json`, then restart the app:
20
20
 
21
21
  ```json
22
22
  { "mcpServers": { "pragmys-compass": { "command": "npx", "args": ["-y", "@pragmys/compass@VERSION"] } } }
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Compass finds jobs through your own AI agent and ranks them against the skills you have verified on Pragmys. You say what role you want. Your agent searches and fetches; Compass cleans what it finds, scores it on your device, can run a deeper check on the jobs you pick, and writes a Pragmys-branded HTML report with company names, match %, what you have and what is missing.
4
4
 
5
- Compass is a Pragmys product: free to use with a Pragmys account, closed source, delivered as one signed MCP server. See [LICENSE](LICENSE) and [TERMS.md](TERMS.md).
5
+ Compass is a Pragmys product: free to use with a Pragmys account, closed source, delivered as one MCP server. See [LICENSE](LICENSE) and [TERMS.md](TERMS.md).
6
6
 
7
- **Documentation, install steps and downloads: [pragmys.com/compass](https://pragmys.com/compass).**
7
+ **Documentation and install steps: [pragmys.com/compass](https://pragmys.com/compass).**
8
8
 
9
9
  ## What it does
10
10
 
package/SECURITY.md CHANGED
@@ -15,8 +15,8 @@ Email **hello@pragmys.com** with details. Please do not post a security problem
15
15
 
16
16
  ## Network destinations
17
17
 
18
- `api.pragmys.com` (sign-in, your skill confidences, the public skill list, the operator settings record, the usage record) and `pragmys.com` (the signed release manifest, only when you check for an update). Compass itself contacts no job source; your agent does.
18
+ `api.pragmys.com` (sign-in, your skill confidences, the public skill list, the operator settings record, the usage record) and `pragmys.com` (the release manifest, only when you check for an update and one is published). Compass itself contacts no job source; your agent does.
19
19
 
20
20
  ## Releases
21
21
 
22
- Binaries are built in CI with provenance attestation and published to npm with provenance; versions are pinned in install snippets. Updates are announced and never applied silently. Where a signed update manifest is published, `compass_update` applies an update only after you confirm and after the download matches the signed checksum; otherwise update through npm.
22
+ Binaries are built in CI and published to npm from GitHub Actions with trusted publishing (no long-lived npm token is stored); versions are pinned in install snippets. Updates are announced and never applied silently. Where a signed update manifest is published, `compass_update` applies an update only after you confirm and after the download matches the signed checksum; otherwise update through npm.
package/bin/compass.js CHANGED
@@ -4,7 +4,7 @@
4
4
  // This file only finds that binary and runs it with the same stdio.
5
5
  'use strict';
6
6
  const { spawn } = require('node:child_process');
7
- const { existsSync } = require('node:fs');
7
+ const { chmodSync, existsSync, accessSync, constants } = require('node:fs');
8
8
  const { join, dirname } = require('node:path');
9
9
 
10
10
  const platform = `${process.platform}-${process.arch}`;
@@ -24,6 +24,10 @@ if (!binary || !existsSync(binary)) {
24
24
  );
25
25
  process.exit(1);
26
26
  }
27
+ if (process.platform !== 'win32') {
28
+ // Some installs drop the execute bit from the packaged binary. Repair it.
29
+ try { accessSync(binary, constants.X_OK); } catch { try { chmodSync(binary, 0o755); } catch { /* spawn reports it */ } }
30
+ }
27
31
  const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
28
32
  for (const sig of ['SIGINT', 'SIGTERM', 'SIGHUP']) process.on(sig, () => child.kill(sig));
29
33
  child.on('exit', (code, signal) => process.exit(signal ? 1 : (code ?? 0)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pragmys/compass",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Compass by Pragmys: rank jobs your agent finds against your verified evidence. A local MCP server.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://pragmys.com/compass",
@@ -17,11 +17,11 @@
17
17
  "THIRD_PARTY_NOTICES"
18
18
  ],
19
19
  "optionalDependencies": {
20
- "@pragmys/compass-darwin-arm64": "0.0.3",
21
- "@pragmys/compass-darwin-x64": "0.0.3",
22
- "@pragmys/compass-linux-x64": "0.0.3",
23
- "@pragmys/compass-linux-arm64": "0.0.3",
24
- "@pragmys/compass-win32-x64": "0.0.3"
20
+ "@pragmys/compass-darwin-arm64": "0.0.4",
21
+ "@pragmys/compass-darwin-x64": "0.0.4",
22
+ "@pragmys/compass-linux-x64": "0.0.4",
23
+ "@pragmys/compass-linux-arm64": "0.0.4",
24
+ "@pragmys/compass-win32-x64": "0.0.4"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=18"