@stmcw1/dacw 1.0.0 → 1.0.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 stmcw1
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -109,7 +109,7 @@ DACW 会执行模型生成的代码与命令,**不是容器级沙箱**。请
109
109
  | `runner.ts` | 运行机:命令解析、超时强杀、输出截断 |
110
110
  | `state_manager.ts` | 状态:原子写、HMAC、串行队列 |
111
111
  | `build.mjs` / `selftest.mjs` | 构建(TS → `dist/`)与回归自测 |
112
- | `cordis.patch.yml` / `locale/` / `icon.svg` | 插件清单与展示资源 |
112
+ | `cordis.patch.yml` / `locale/` / `icon.png` | 插件清单与展示资源 |
113
113
 
114
114
  ## 开发
115
115
 
@@ -120,4 +120,10 @@ DACW 会执行模型生成的代码与命令,**不是容器级沙箱**。请
120
120
 
121
121
  ## 状态
122
122
 
123
- 实验性开发者预览(当前版本 `v1.0.0`,bundle `@stmcw1/dacw`):构建冒烟与回归自测通过,并已在 DSH `desktop` profile 完成真实闭环验证(写手产出 → `npm test` 通过 → 独立审查 PASS → `NEED_HUMAN`),子代理工具隔离实测生效。欢迎 issue / PR。
123
+ 实验性开发者预览(当前版本 `v1.0.2`,bundle `@stmcw1/dacw`):构建冒烟与回归自测通过,并已在 DSH `desktop` profile 完成真实闭环验证(写手产出 → `npm test` 通过 → 独立审查 PASS → `NEED_HUMAN`),子代理工具隔离实测生效。欢迎 issue / PR。
124
+
125
+ ## 许可证
126
+
127
+ 本项目基于 [MIT](LICENSE) 许可证开源。
128
+
129
+ <p align="right">npm: <code>@stmcw1/dacw</code> · <a href="https://github.com/stmcw1/DACW">GitHub</a></p>
package/README_EN.md CHANGED
@@ -109,7 +109,7 @@ DACW executes model-generated code and commands and is **not a container-grade s
109
109
  | `runner.ts` | Runner: command resolution, timeout tree-kill, output truncation |
110
110
  | `state_manager.ts` | State: atomic writes, HMAC, serial queue |
111
111
  | `build.mjs` / `selftest.mjs` | Build (TS → `dist/`) and regression self-test |
112
- | `cordis.patch.yml` / `locale/` / `icon.svg` | Plugin manifest and display resources |
112
+ | `cordis.patch.yml` / `locale/` / `icon.png` | Plugin manifest and display resources |
113
113
 
114
114
  ## Development
115
115
 
@@ -120,4 +120,10 @@ DACW executes model-generated code and commands and is **not a container-grade s
120
120
 
121
121
  ## Status
122
122
 
123
- Experimental developer preview (current version `v1.0.0`, bundle `@stmcw1/dacw`): the build smoke check and regression self-test pass, and a live loop has been verified on the DSH `desktop` profile (writer produced files → `npm test` passed → independent reviewer PASS → `NEED_HUMAN`), with child tool isolation measured in effect. Issues and PRs are welcome.
123
+ Experimental developer preview (current version `v1.0.2`, bundle `@stmcw1/dacw`): the build smoke check and regression self-test pass, and a live loop has been verified on the DSH `desktop` profile (writer produced files → `npm test` passed → independent reviewer PASS → `NEED_HUMAN`), with child tool isolation measured in effect. Issues and PRs are welcome.
124
+
125
+ ## License
126
+
127
+ Released under the [MIT](LICENSE) license.
128
+
129
+ <p align="right">npm: <code>@stmcw1/dacw</code> · <a href="https://github.com/stmcw1/DACW">GitHub</a></p>
package/icon.png ADDED
Binary file
package/package.json CHANGED
@@ -1,13 +1,33 @@
1
1
  {
2
2
  "name": "@stmcw1/dacw",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Defensive Agent Coding Workflow (DACW) as a DSH Host plugin: an AI writer proposes code, a deterministic runner tests it, a separate reviewer audits it, and a human gate decides the merge.",
5
+ "keywords": [
6
+ "dacw",
7
+ "dsh",
8
+ "deepseek-harness",
9
+ "coding-agent",
10
+ "agent-workflow",
11
+ "code-review",
12
+ "ai",
13
+ "plugin"
14
+ ],
15
+ "homepage": "https://github.com/stmcw1/DACW#readme",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/stmcw1/DACW.git"
19
+ },
20
+ "bugs": {
21
+ "url": "https://github.com/stmcw1/DACW/issues"
22
+ },
23
+ "author": "stmcw1 <stmcw@163.com>",
24
+ "license": "MIT",
5
25
  "private": false,
6
26
  "type": "module",
7
27
  "exports": {
8
28
  ".": "./dist/plugin.js",
9
29
  "./locale/*.json": "./locale/*.json",
10
- "./icon": "./icon.svg"
30
+ "./icon": "./icon.png"
11
31
  },
12
32
  "files": [
13
33
  "dist/index.js",
@@ -16,11 +36,12 @@
16
36
  "dist/state_manager.js",
17
37
  "cordis.patch.yml",
18
38
  "locale/*.json",
19
- "icon.svg",
39
+ "icon.png",
20
40
  "README.md",
21
41
  "README_EN.md",
22
42
  "SAFETY.md",
23
- "SAFETY_EN.md"
43
+ "SAFETY_EN.md",
44
+ "LICENSE"
24
45
  ],
25
46
  "engines": {
26
47
  "node": ">=22.13"
@@ -31,6 +52,9 @@
31
52
  "pretest": "node build.mjs",
32
53
  "test": "node selftest.mjs"
33
54
  },
55
+ "publishConfig": {
56
+ "access": "public"
57
+ },
34
58
  "dsh": {
35
59
  "bundle": {
36
60
  "patch": "./cordis.patch.yml"
package/icon.svg DELETED
@@ -1,20 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" role="img" aria-label="DACW">
2
- <defs>
3
- <linearGradient id="dacw-bg" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0" stop-color="#2f3a4f"/>
5
- <stop offset="1" stop-color="#15202f"/>
6
- </linearGradient>
7
- <linearGradient id="dacw-shield" x1="0" y1="0" x2="0" y2="1">
8
- <stop offset="0" stop-color="#7cb6ff"/>
9
- <stop offset="1" stop-color="#4f7cff"/>
10
- </linearGradient>
11
- </defs>
12
- <rect width="64" height="64" rx="14" fill="url(#dacw-bg)"/>
13
- <path d="M32 8 L52 15 L52 31 C52 42 44 51 32 56 C20 51 12 42 12 31 L12 15 Z"
14
- fill="none" stroke="url(#dacw-shield)" stroke-width="3.5" stroke-linejoin="round"/>
15
- <path d="M25 24 L18.5 32 L25 40" fill="none" stroke="#e8f1ff" stroke-width="3"
16
- stroke-linecap="round" stroke-linejoin="round"/>
17
- <path d="M39 24 L45.5 32 L39 40" fill="none" stroke="#e8f1ff" stroke-width="3"
18
- stroke-linecap="round" stroke-linejoin="round"/>
19
- <path d="M35 20 L29 44" fill="none" stroke="#8fd3a8" stroke-width="3" stroke-linecap="round"/>
20
- </svg>