@stackwright-pro/raft 1.0.0-alpha.13 → 1.0.0-alpha.132
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/LICENSE +21 -0
- package/README.md +23 -1
- package/dist/index.js +763 -97
- package/dist/index.js.map +1 -1
- package/package.json +14 -9
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
PROPRIETARY SOFTWARE LICENSE
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-2026 Per Aspera LLC. All Rights Reserved.
|
|
4
|
+
|
|
5
|
+
This software and associated documentation files (the "Software") are the
|
|
6
|
+
proprietary and confidential property of Per Aspera LLC ("Company").
|
|
7
|
+
|
|
8
|
+
RESTRICTIONS: You may not use, copy, modify, merge, publish, distribute,
|
|
9
|
+
sublicense, sell, or otherwise exploit this Software or any portion thereof
|
|
10
|
+
without the express prior written consent of the Company.
|
|
11
|
+
|
|
12
|
+
GOVERNMENT USE: Use, duplication, or disclosure by the U.S. Government is
|
|
13
|
+
subject to restrictions as set forth in FAR 52.227-19 (Commercial Computer
|
|
14
|
+
Software - Restricted Rights) and DFARS 252.227-7013 (Rights in Technical
|
|
15
|
+
Data and Computer Software), as applicable.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED. IN NO EVENT SHALL THE COMPANY BE LIABLE FOR ANY CLAIM, DAMAGES, OR
|
|
19
|
+
OTHER LIABILITY ARISING FROM THE USE OF THE SOFTWARE.
|
|
20
|
+
|
|
21
|
+
For licensing inquiries: legal@peraspera.com
|
package/README.md
CHANGED
|
@@ -18,6 +18,8 @@ This provides the `raft-puppy` binary (and `code-puppy` alias) with two fixes re
|
|
|
18
18
|
Source: https://github.com/Per-Aspera-LLC/stackwright-puppy
|
|
19
19
|
Upstream: https://github.com/mpfaffenberger/code_puppy (MIT)
|
|
20
20
|
|
|
21
|
+
No specific credentials or API keys are required by the raft itself — see [Authentication](#authentication) below.
|
|
22
|
+
|
|
21
23
|
## Usage
|
|
22
24
|
|
|
23
25
|
```bash
|
|
@@ -32,6 +34,26 @@ npx @stackwright-pro/raft [options]
|
|
|
32
34
|
| `--verbose` | Enable verbose logging |
|
|
33
35
|
| `--help`, `-h` | Show help |
|
|
34
36
|
|
|
37
|
+
## Authentication
|
|
38
|
+
|
|
39
|
+
The raft does **not** check for API keys or credentials — that is `raft-puppy`/`code-puppy`'s responsibility. Any auth mechanism supported by your binary works:
|
|
40
|
+
|
|
41
|
+
- `claude auth login` — OAuth browser login (interactive sessions)
|
|
42
|
+
- `ANTHROPIC_API_KEY` — Direct Anthropic API key
|
|
43
|
+
- AWS Bedrock, Google Vertex, Ollama, custom inference — configured via your `raft-puppy`/`code-puppy` setup
|
|
44
|
+
|
|
45
|
+
If your binary can talk to a model, the raft will launch successfully.
|
|
46
|
+
|
|
47
|
+
## Air-gapped & custom deployments
|
|
48
|
+
|
|
49
|
+
To skip the binary version pre-flight check entirely (useful when running a custom or pinned binary that reports a non-standard version string):
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
STACKWRIGHT_SKIP_PREFLIGHT=true npx @stackwright-pro/raft
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
This bypasses all raft-level validation and spawns your binary directly. The binary itself is still responsible for validating its own environment.
|
|
56
|
+
|
|
35
57
|
## Binary resolution
|
|
36
58
|
|
|
37
59
|
`raft` searches for the Python binary in this order:
|
|
@@ -46,7 +68,7 @@ If neither is found, the error message will guide you to install `stackwright-pu
|
|
|
46
68
|
|
|
47
69
|
1. Acquires a pipeline lock (`.stackwright/.lock`) to prevent concurrent sessions
|
|
48
70
|
2. Writes/enriches `.stackwright/init-context.json` (project name, spec path, theme)
|
|
49
|
-
3. Registers the `@stackwright-pro/mcp` server in
|
|
71
|
+
3. Registers the `@stackwright-pro/mcp` server in `.code_puppy/mcp_servers.json`
|
|
50
72
|
4. Verifies otter file integrity
|
|
51
73
|
5. Spawns `raft-puppy` / `code-puppy` in foreman mode with `STACKWRIGHT_PROJECT_ROOT` set
|
|
52
74
|
|