@promptster/teams-cli 0.1.0

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/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # @promptster/teams-cli
2
+
3
+ On-device, auditable AI-coding capture for internal engineering teams.
4
+
5
+ ```sh
6
+ npm install -g @promptster/teams-cli
7
+
8
+ export PROMPTSTER_TEAMS_API_URL="https://<your-team-ingest-host>"
9
+ export PROMPTSTER_TEAMS_TOKEN="<your-org/device-token>"
10
+
11
+ promptster-teams doctor
12
+ promptster-teams watch
13
+ ```
14
+
15
+ Tails Claude Code + Codex transcripts, redacts secrets on-device, signs each
16
+ event into a tamper-evident chain, and streams to your team's backend. Capture
17
+ is content, not surveillance — no keystroke logging, no behavioral analysis.
18
+
19
+ Source (public, auditable): https://github.com/pa-arth/promptster-teams-cli
@@ -0,0 +1,36 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ // Platform shim: selects and execs the right prebuilt Go binary for this OS/arch.
5
+ const { spawnSync } = require("child_process");
6
+ const path = require("path");
7
+ const fs = require("fs");
8
+
9
+ const MAP = {
10
+ "darwin-x64": "promptster-teams-darwin-x64",
11
+ "darwin-arm64": "promptster-teams-darwin-arm64",
12
+ "linux-x64": "promptster-teams-linux-x64",
13
+ "linux-arm64": "promptster-teams-linux-arm64",
14
+ "win32-x64": "promptster-teams-win32-x64.exe",
15
+ };
16
+
17
+ const key = `${process.platform}-${process.arch}`;
18
+ const binName = MAP[key];
19
+ if (!binName) {
20
+ console.error(`promptster-teams: unsupported platform ${key}`);
21
+ process.exit(1);
22
+ }
23
+
24
+ const binPath = path.join(__dirname, "..", "binaries", binName);
25
+ if (!fs.existsSync(binPath)) {
26
+ console.error(`promptster-teams: binary not found at ${binPath}`);
27
+ console.error("The package may have installed incorrectly; try reinstalling.");
28
+ process.exit(1);
29
+ }
30
+
31
+ const res = spawnSync(binPath, process.argv.slice(2), { stdio: "inherit" });
32
+ if (res.error) {
33
+ console.error(`promptster-teams: ${res.error.message}`);
34
+ process.exit(1);
35
+ }
36
+ process.exit(res.status === null ? 1 : res.status);
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@promptster/teams-cli",
3
+ "version": "0.1.0",
4
+ "description": "On-device, auditable AI-coding capture for internal engineering teams",
5
+ "keywords": [
6
+ "promptster",
7
+ "cli",
8
+ "teams",
9
+ "ai",
10
+ "observability",
11
+ "developer-productivity"
12
+ ],
13
+ "homepage": "https://github.com/pa-arth/promptster-teams-cli",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/pa-arth/promptster-teams-cli"
17
+ },
18
+ "license": "MIT",
19
+ "bin": {
20
+ "promptster-teams": "./bin/promptster-teams.js"
21
+ },
22
+ "scripts": {
23
+ "build": "node scripts/build.js",
24
+ "prepublishOnly": "node scripts/build.js && node scripts/check-binaries.js"
25
+ },
26
+ "files": [
27
+ "bin/",
28
+ "binaries/",
29
+ "README.md"
30
+ ],
31
+ "engines": {
32
+ "node": ">=16"
33
+ },
34
+ "publishConfig": {
35
+ "access": "public"
36
+ }
37
+ }