@reddb-io/redcode 0.3.2 → 0.4.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.
Files changed (3) hide show
  1. package/NOTICE +76 -0
  2. package/README.md +29 -1
  3. package/package.json +13 -13
package/NOTICE ADDED
@@ -0,0 +1,76 @@
1
+ redcode
2
+ Copyright 2026 reddb.io
3
+
4
+ This product is licensed under the MIT License (see LICENSE).
5
+
6
+ Redcode is a fork of OpenCode (https://github.com/anomalyco/opencode), which is
7
+ licensed under the MIT License. The overwhelming majority of this repository is
8
+ their work — the agent loop, provider and model integration, the tool system,
9
+ LSP and formatter support, and the terminal UI foundation. The upstream
10
+ copyright notice is preserved verbatim in LICENSE:
11
+
12
+ MIT License
13
+ Copyright (c) 2025 opencode
14
+
15
+ Permission is hereby granted, free of charge, to any person obtaining a copy
16
+ of this software and associated documentation files (the "Software"), to deal
17
+ in the Software without restriction, including without limitation the rights
18
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19
+ copies of the Software, and to permit persons to whom the Software is
20
+ furnished to do so, subject to the following conditions:
21
+
22
+ The above copyright notice and this permission notice shall be included in all
23
+ copies or substantial portions of the Software.
24
+
25
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31
+ SOFTWARE.
32
+
33
+ Redcode keeps OpenCode's internal package names (@opencode-ai/*), environment
34
+ variable prefixes (OPENCODE_*), and module layout deliberately, so that changes
35
+ made here stay readable against upstream.
36
+
37
+ Redcode's runtime composition model is adapted from DeepSeek Harness
38
+ (https://github.com/deepseek-ai/deepseek-harness): reversible plugin ownership,
39
+ ordered and awaited profile activation, transactional replacement with rollback,
40
+ package-owned runtime invariants executed at boot readiness, and the practice of
41
+ proving semantic outcomes through real entry points. The audit that decided what
42
+ to adopt, adapt, and reject is recorded in .red/adr/0001 and in three research
43
+ reports under .red/researches/.
44
+
45
+ This product depends on @deepseek-ai/cordis, licensed under the MIT License.
46
+ Cordis is an independent plugin framework created by Shigma; DeepSeek vendors and
47
+ maintains this build inside the deepseek-harness repository at vendor/cordis. The
48
+ copyright is Shigma's:
49
+
50
+ MIT License
51
+ Copyright (c) 2021-present Shigma
52
+
53
+ Permission is hereby granted, free of charge, to any person obtaining a copy
54
+ of this software and associated documentation files (the "Software"), to deal
55
+ in the Software without restriction, including without limitation the rights
56
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
57
+ copies of the Software, and to permit persons to whom the Software is
58
+ furnished to do so, subject to the following conditions:
59
+
60
+ The above copyright notice and this permission notice shall be included in all
61
+ copies or substantial portions of the Software.
62
+
63
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
64
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
65
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
66
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
67
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
68
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
69
+ SOFTWARE.
70
+
71
+ Redcode integrates with RedSkills and the redskilled execution daemon
72
+ (https://github.com/reddb-io/red-skills), which is reddb.io work licensed under
73
+ Apache-2.0 and is not bundled here.
74
+
75
+ Neither the OpenCode project nor DeepSeek endorses Redcode. Report Redcode
76
+ issues at https://github.com/reddb-io/redcode/issues.
package/README.md CHANGED
@@ -1,3 +1,31 @@
1
1
  # Redcode
2
2
 
3
- Install with `npm install -g @reddb-io/redcode`, then run `redcode`.
3
+ RedDB's terminal coding agent. Prompts are durable before they run, the runtime is reversible, and
4
+ the autonomous Worker fleet is on screen next to your session.
5
+
6
+ ## Install
7
+
8
+ ```bash
9
+ npm install -g @reddb-io/redcode
10
+ redcode
11
+ ```
12
+
13
+ One native binary for Linux (glibc and musl), macOS, and Windows on x64 and arm64.
14
+
15
+ ## Use
16
+
17
+ | Command | What it does |
18
+ | --- | --- |
19
+ | `redcode` | Terminal UI — sessions, diffs, permissions, and the Worker fleet |
20
+ | `redcode run` | Non-interactive prompt |
21
+ | `redcode serve` | Headless HTTP server |
22
+ | `redcode acp` | Agent Client Protocol agent, for editors that speak ACP |
23
+ | `redcode --help` | Everything else |
24
+
25
+ Full documentation: https://github.com/reddb-io/redcode
26
+
27
+ ## Built on
28
+
29
+ Redcode is built on [OpenCode](https://github.com/anomalyco/opencode), and its runtime composition is
30
+ modelled on [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). MIT licensed; see
31
+ [NOTICE](https://github.com/reddb-io/redcode/blob/main/NOTICE) for full attribution.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reddb-io/redcode",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "description": "RedDB's AI coding agent for the terminal",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,17 +20,17 @@
20
20
  "x64"
21
21
  ],
22
22
  "optionalDependencies": {
23
- "@reddb-io/redcode-darwin-arm64": "0.3.2",
24
- "@reddb-io/redcode-darwin-x64": "0.3.2",
25
- "@reddb-io/redcode-darwin-x64-baseline": "0.3.2",
26
- "@reddb-io/redcode-linux-arm64": "0.3.2",
27
- "@reddb-io/redcode-linux-arm64-musl": "0.3.2",
28
- "@reddb-io/redcode-linux-x64": "0.3.2",
29
- "@reddb-io/redcode-linux-x64-baseline": "0.3.2",
30
- "@reddb-io/redcode-linux-x64-baseline-musl": "0.3.2",
31
- "@reddb-io/redcode-linux-x64-musl": "0.3.2",
32
- "@reddb-io/redcode-windows-arm64": "0.3.2",
33
- "@reddb-io/redcode-windows-x64": "0.3.2",
34
- "@reddb-io/redcode-windows-x64-baseline": "0.3.2"
23
+ "@reddb-io/redcode-darwin-arm64": "0.4.0",
24
+ "@reddb-io/redcode-darwin-x64": "0.4.0",
25
+ "@reddb-io/redcode-darwin-x64-baseline": "0.4.0",
26
+ "@reddb-io/redcode-linux-arm64": "0.4.0",
27
+ "@reddb-io/redcode-linux-arm64-musl": "0.4.0",
28
+ "@reddb-io/redcode-linux-x64": "0.4.0",
29
+ "@reddb-io/redcode-linux-x64-baseline": "0.4.0",
30
+ "@reddb-io/redcode-linux-x64-baseline-musl": "0.4.0",
31
+ "@reddb-io/redcode-linux-x64-musl": "0.4.0",
32
+ "@reddb-io/redcode-windows-arm64": "0.4.0",
33
+ "@reddb-io/redcode-windows-x64": "0.4.0",
34
+ "@reddb-io/redcode-windows-x64-baseline": "0.4.0"
35
35
  }
36
36
  }