dsh-super-code 0.3.4 → 0.3.5
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 +14 -8
- package/client/index.js +1 -1
- package/cordis.patch.yml +1 -1
- package/docs/Changelog.md +3 -0
- package/docs/Compatibility.md +44 -0
- package/lib/task-memory-projection.d.ts +1 -1
- package/lib/task-memory-projection.d.ts.map +1 -1
- package/lib/task-memory-projection.js +7 -4
- package/lib/task-memory-projection.js.map +1 -1
- package/package.json +1 -1
- package/presets/super-code/agent.cordis.yml +1 -1
package/README.md
CHANGED
|
@@ -14,15 +14,21 @@ On the same SWE-bench Pro hard-100 set, the evaluation candidate for 0.3.0 uses
|
|
|
14
14
|
|
|
15
15
|
Extensive testing and regression checks are needed to verify each release's effectiveness. This takes time, so release cycles may be longer.
|
|
16
16
|
|
|
17
|
-
版本号采用 **主版本.效果优化版本.维护版本**,例如 `0.3.
|
|
17
|
+
版本号采用 **主版本.效果优化版本.维护版本**,例如 `0.3.5`:
|
|
18
18
|
|
|
19
|
-
Version numbers follow **major.performance-improvement.maintenance**, for example `0.3.
|
|
19
|
+
Version numbers follow **major.performance-improvement.maintenance**, for example `0.3.5`:
|
|
20
20
|
|
|
21
21
|
| 位置 / Position | 含义 / Meaning |
|
|
22
22
|
|---|---|
|
|
23
23
|
| 第一位 / First (`0`) | 主版本,仅在大范围重构时调整。 / Major version; changes only for extensive refactoring. |
|
|
24
24
|
| 第二位 / Second (`3`) | 效果优化版本,记录编码效果、效率等方面的优化。 / Performance-improvement version; tracks improvements to coding results, efficiency, and related capabilities. |
|
|
25
|
-
| 第三位 / Third (`
|
|
25
|
+
| 第三位 / Third (`5`) | 维护版本,记录问题修复、UI 优化、兼容性适配等更新。 / Maintenance version; tracks bug fixes, UI improvements, compatibility updates, and similar changes. |
|
|
26
|
+
|
|
27
|
+
## 0.3.5 · What's New
|
|
28
|
+
|
|
29
|
+
适配 Harness `0.2.1-rc.2`,修复 v4 会话日志升级后旧任务记录不可见的问题。[更新详情](docs/Changelog.md)
|
|
30
|
+
|
|
31
|
+
Supports Harness `0.2.1-rc.2` and restores legacy task records after v4 session-log upgrades. [Changelog](docs/Changelog.md)
|
|
26
32
|
|
|
27
33
|
## 0.3.4 · What's New
|
|
28
34
|
|
|
@@ -56,17 +62,17 @@ Adds batched tool calls and parallel reads to reduce model round trips. [Changel
|
|
|
56
62
|
|
|
57
63
|
# 2 开始使用 · Get Started
|
|
58
64
|
|
|
59
|
-
|
|
65
|
+
支持 Harness `0.1.5-alpha.1` 至 `0.2.1-rc.2`,按所用客户端选择安装方式;[各版本与客户端的验证范围](docs/Compatibility.md)。
|
|
60
66
|
|
|
61
|
-
|
|
67
|
+
Supports Harness `0.1.5-alpha.1` through `0.2.1-rc.2`. Choose the installation method for your client; see [validation coverage by version and client](docs/Compatibility.md).
|
|
62
68
|
|
|
63
69
|
## 2.1 安装 · Install
|
|
64
70
|
|
|
65
71
|
### 官方桌面版 · Official Desktop
|
|
66
72
|
|
|
67
|
-
打开左侧 **插件 → 添加插件**,在“包名或地址”中输入 `dsh-super-code`,点击
|
|
73
|
+
打开左侧 **插件 → 添加插件**,在“包名或地址”中输入 `dsh-super-code`,点击 **安装**。新版安装完成后点击 **立即启用**;其他版本按提示重新加载或重启。桌面版自带运行环境,无需另外安装 Node.js。
|
|
68
74
|
|
|
69
|
-
Open **Plugins → Add plugin**, enter `dsh-super-code` in “Package name or address”, and click **Install**.
|
|
75
|
+
Open **Plugins → Add plugin**, enter `dsh-super-code` in “Package name or address”, and click **Install**. On newer hosts, click **Enable now** when installation finishes; on other versions, reload or restart if prompted. The desktop app includes its runtime; no separate Node.js installation is needed.
|
|
70
76
|
|
|
71
77
|
### Web / 命令行版 · Web / CLI
|
|
72
78
|
|
|
@@ -87,7 +93,7 @@ dsh plugin --profile web add dsh-super-code
|
|
|
87
93
|
Download a `.tgz` package from [GitHub Releases](https://github.com/ArtlexYoung/dsh-super-code/releases). On desktop, enter its full path in “Package name or address”. For Web, run the command below with the filename you downloaded.
|
|
88
94
|
|
|
89
95
|
```bash
|
|
90
|
-
dsh plugin --profile web add ./dsh-super-code-0.3.
|
|
96
|
+
dsh plugin --profile web add ./dsh-super-code-0.3.5.tgz
|
|
91
97
|
```
|
|
92
98
|
|
|
93
99
|
</details>
|
package/client/index.js
CHANGED
|
@@ -1057,7 +1057,7 @@ function detailRecord(entry, t = key => zh[key] || key) {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
if (event.type === 'tool/result') {
|
|
1059
1059
|
const blocks = (data.message?.content || []).filter(block => block.type === 'tool-result')
|
|
1060
|
-
//
|
|
1060
|
+
// Harness journals use both direct tool messages (v4) and nested results.
|
|
1061
1061
|
const direct = data.message?.role === 'tool'
|
|
1062
1062
|
if (!blocks.length && !direct) return { kind: 'skip' }
|
|
1063
1063
|
const failed = direct ? data.message.isError : blocks.some(block => block.isError)
|
package/cordis.patch.yml
CHANGED
package/docs/Changelog.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# 版本记录 · Changelog
|
|
2
2
|
|
|
3
|
+
- **0.3.5 · 2026-10-18**:适配 Harness `0.2.1-rc.2`,修复 v4 日志迁移后旧任务记录不可见的问题,保留 `0.1.5-alpha.1` 起的兼容性,并补齐官方桌面安装说明。[验证范围](Compatibility.md)
|
|
4
|
+
**0.3.5 · 2026-10-18**: Supports Harness `0.2.1-rc.2`, restores legacy task records after v4 log migration, retains support from `0.1.5-alpha.1`, and clarifies official Desktop installation. [Validation coverage](Compatibility.md)
|
|
5
|
+
|
|
3
6
|
- **0.3.4 · 2026-10-15**:补充官方预设在同一批 100 题上的成绩、用量与耗时核算说明;新增 README 致谢表格和[详细致谢文档](Acknowledgements.md),说明宿主、界面设计、Skill、无障碍资料、评测项目与运行依赖的贡献和借鉴范围,并将文档纳入 npm 包。
|
|
4
7
|
**0.3.4 · 2026-10-15**: Adds official preset results on the same 100 tasks, with usage and timing methodology. Adds a README acknowledgements table and [detailed acknowledgements](Acknowledgements.md) covering the host, UI design, Skills, accessibility resources, evaluation projects, and runtime dependencies; includes the document in the npm package.
|
|
5
8
|
|
package/docs/Compatibility.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# 宿主兼容性 · Host Compatibility
|
|
2
2
|
|
|
3
|
+
## 0.3.5 · Harness 0.2.1-rc.2 · 2026-10-18
|
|
4
|
+
|
|
5
|
+
兼容范围扩展至 `0.2.1-rc.2`,最低保持 `0.1.5-alpha.1`。本次基于主干 0.3.4,逐版固定并审计宿主依赖,在独立 profile 中真实安装和运行。现有 peer 依赖范围已覆盖这些预发布版本;补充 v4 日志迁移检查后,修复旧插件来源记录的识别及投影缓存失效,未增加依赖,发布版本为 0.3.5。
|
|
6
|
+
|
|
7
|
+
Compatibility extends through `0.2.1-rc.2`, with the minimum remaining `0.1.5-alpha.1`. Based on main at plugin version 0.3.4, candidates were installed and run in isolated profiles, with each host's dependency graph pinned and audited. Existing peer ranges already cover these prereleases. Additional v4 migration checks identified and fixed legacy plugin-source recognition and projection-cache invalidation without adding dependencies. The release version is 0.3.5.
|
|
8
|
+
|
|
9
|
+
| Harness | Web/CLI 与真实浏览器 / Web/CLI and real browser | 原生 Skill 加载 / Native Skill loading |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| `0.2.1-alpha.3` | 通过 / Pass | 组合与持久化 profile 均通过 / Bundle and persisted profile pass |
|
|
12
|
+
| `0.2.1-alpha.4` | 通过 / Pass | 组合与持久化 profile 均通过 / Bundle and persisted profile pass |
|
|
13
|
+
| `0.2.1-alpha.5` | 通过 / Pass | 组合与持久化 profile 均通过 / Bundle and persisted profile pass |
|
|
14
|
+
| `0.2.1-rc.1` | 通过 / Pass | 组合与持久化 profile 均通过 / Bundle and persisted profile pass |
|
|
15
|
+
| `0.2.1-rc.2` | 通过 / Pass | 组合与持久化 profile 均通过 / Bundle and persisted profile pass |
|
|
16
|
+
|
|
17
|
+
五版均验证原生 PTC、主/子 Agent、任务记忆、项目/全局记忆与归属、跨工作区隔离及冷重启后无需恢复会话的历史读取。真实浏览器覆盖执行树运行/完成动画、节点间距、减弱动态效果、320/400/560px 与缩放、互斥侧栏及状态恢复、记忆新增/编辑/取消/保存/删除、详情页记忆定位、中英文和明暗主题切换。十条 Skill 路径覆盖摘要目录、按需正文与三份参考文件读取、用户/项目同名覆盖。
|
|
18
|
+
|
|
19
|
+
All five passed native PTC, main/child Agents, task memory, project/global memory and attribution, workspace isolation, and historical reads after a cold restart without resuming the session. Real-browser checks cover running/completed tree animation, node spacing, reduced motion, 320/400/560px widths and zoom, exclusive sidebar sections and retained state, memory creation/editing/cancellation/saving/deletion, memory links from Agent details, and Chinese/English and light/dark switching. Ten Skill paths cover summary catalogs, on-demand content and three reference reads, and user/project overrides.
|
|
20
|
+
|
|
21
|
+
最低版本 `0.1.5-alpha.1` 另通过同一候选包的目录预设安装、主/子 Agent、PTC、记忆归属/隔离/重启和真实浏览器回归。171 项测试、类型检查、构建、客户端语法检查通过。
|
|
22
|
+
|
|
23
|
+
The minimum `0.1.5-alpha.1` also passed directory-preset installation, main/child Agents, PTC, memory attribution/isolation/restart, and real-browser regression with the same candidate. All 171 tests, type checking, build, and client syntax checks passed.
|
|
24
|
+
|
|
25
|
+
官方 macOS arm64 Desktop `0.2.1-rc.2` 从[官方下载地址](https://download.deepseek.com/dsh-desk/bin/mac-arm64/deepseek-harness-0.2.1-rc.2-mac-arm64.zip)获取,并按官方更新源校验 SHA-512。在独立应用身份、DSH_HOME 和 userData 中,通过原生插件页安装并点击“立即启用”;设置页验证未安装预设的安装、重装确认/取消、从清单移除、按新标识符和中文名称重装、旧预设移除与恢复备份。真实原生主/子 Agent 的 PTC 和记忆流程、执行树动画、统一侧栏、记忆维护及中英文/明暗切换通过,保留截图;冷启动后确认改名预设、自定义名称与项目/全局记忆保留,历史子会话无需恢复即可读取记忆。正式应用和日常配置未修改。
|
|
26
|
+
|
|
27
|
+
Official macOS arm64 Desktop `0.2.1-rc.2` was obtained from the [official download](https://download.deepseek.com/dsh-desk/bin/mac-arm64/deepseek-harness-0.2.1-rc.2-mac-arm64.zip) and SHA-512 verified against its update feed. In an isolated app identity, DSH_HOME, and userData, the native plugin page installed and enabled the plugin. Settings checks cover missing-preset installation, reinstall confirmation/cancellation, removing confirmation rows, reinstallation with a new identifier and Chinese name, removal of the old preset, and recovery backups. Real native main/child PTC and memory flows, tree animation, unified sections, memory maintenance, and Chinese/English and light/dark switching passed with screenshots. A cold start preserved the renamed preset, custom name, and project/global memory, with historical child memory readable without resuming the session. The official app and daily configuration were not changed.
|
|
28
|
+
|
|
29
|
+
截至本次检查,官方 npm `latest` 为 `0.2.0-rc.2`、`alpha` 为 `0.2.1-alpha.5`、`next` 为 `0.2.1-rc.2`;桌面 nightly 同为 `0.2.1-rc.2`。[官方发布说明](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.1-rc.2)。本次模型响应由本地确定性程序提供,没有调用外部模型、没有新增 SWE-bench 成绩,也不代表 Windows、macOS x64 或其他新增版本的原生桌面已复验;其他版本保留以下历史记录。
|
|
30
|
+
|
|
31
|
+
At this check, official npm tags point to `latest: 0.2.0-rc.2`, `alpha: 0.2.1-alpha.5`, and `next: 0.2.1-rc.2`; Desktop nightly is also `0.2.1-rc.2`. [Official release notes](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.1-rc.2). A local deterministic fixture supplied model responses, without external model calls or new SWE-bench scores. This does not establish native Desktop revalidation on Windows, macOS x64, or the other newly covered versions; earlier records remain below.
|
|
32
|
+
|
|
33
|
+
### v4 会话日志补充验证 · 2026-10-18
|
|
34
|
+
|
|
35
|
+
物理日志解压、格式迁移、分页与游标由 Harness 的 Session 和官方 journal API 处理;插件不直接解析用户的日志文件。v4 会把旧的 `{kind: "plugin", plugin: "…"}` 来源迁移为 `{kind: "plugin:…"}`。原读取器会跳过其中的任务记录,导致升级后的任务状态、历史与归档不可见。现已识别新旧包名对应的精确来源,同时保留原有直接来源和旧包装形式;任务投影版本由 1 提升到 2,使此前遗漏记录的缓存重新回放。无需为此依赖实验性的 plugin-record API,仍兼容旧宿主。
|
|
36
|
+
|
|
37
|
+
Harness Session and official journal APIs own physical decompression, migration, pagination, and cursors; the plugin does not parse users' log files directly. V4 migrates `{kind: "plugin", plugin: "…"}` to `{kind: "plugin:…"}`. The previous reader skipped these task records, hiding task state, history, and archives after an upgrade. It now recognizes the exact current and legacy package sources while preserving direct sources and old wrappers. The task projection version increases from 1 to 2 to replay caches that previously missed those records. This does not require the experimental plugin-record API or remove older-host support.
|
|
38
|
+
|
|
39
|
+
使用官方 rc.2 格式迁移器与真实 v3 会话(含历史子会话事实)验证直接来源、新包名旧包装、旧包名旧包装三条路径;对照原生 v4 日志,核对任务状态、11 对工具证据、9 条记忆使用记录、按模型用量和历史详情。另验证旧空缓存失效、全量重建及后续尾部回放,并增加任务保存、归档、聚焦与无关插件隔离回归;173 项测试、类型检查、构建和客户端语法检查通过。本补充不代表已遍历所有历史损坏或中断日志;上方五版和原生桌面界面记录来自首轮候选包。
|
|
40
|
+
|
|
41
|
+
The official rc.2 format migrator restored real v3 sessions with historical child facts for direct sources and wrappers using both current and legacy package names. Comparisons with native v4 logs cover task state, 11 tool-evidence pairs, nine memory-usage rows, per-model usage, and historical details. Checks also cover invalidating stale empty caches, full replay, and subsequent tail replay. Added regressions cover task saving, archiving, focus, and unrelated-plugin isolation. All 173 tests, type checking, build, and client syntax checks passed. This supplement does not cover every damaged or interrupted historical log; the five-version and native Desktop UI records above used the initial candidate.
|
|
42
|
+
|
|
43
|
+
修复后的安装包另在 `0.1.5-alpha.1` 和 `0.2.1-rc.2` 中通过真实安装、激活、主/子 Agent、PTC、记忆归属、工作区隔离和冷重启历史读取回归;实际安装的任务投影实现与候选包一致。本补充未重跑浏览器及原生桌面界面,客户端仅更正日志格式注释。
|
|
44
|
+
|
|
45
|
+
The fixed package also passed real installation, activation, main/child Agents, PTC, memory attribution, workspace isolation, and historical reads after a cold restart on `0.1.5-alpha.1` and `0.2.1-rc.2`. The installed task projection matches the candidate. This supplement did not rerun browser or native Desktop UI checks; the client change only corrects a log-format comment.
|
|
46
|
+
|
|
3
47
|
## 0.3.4 · 2026-10-15
|
|
4
48
|
|
|
5
49
|
本次更新评测文档、公开结果快照与致谢,宿主依赖和运行行为不变。构建后 112 个运行文件与 0.3.3 发布包逐字节一致,两份预设组合仅将版本标记更新为 0.3.4;此前 0.3.3 的宿主验收记录继续适用,本轮未重跑 Web / 原生 Desktop 界面,也未新增模型效果评测。
|
|
@@ -28,7 +28,7 @@ declare module '@deepseek-ai/dsh-llm' {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
/**
|
|
31
|
+
/** V4 prefixes migrated plugin wrappers; native producer kinds remain unchanged. */
|
|
32
32
|
export declare function taskMemoryEventOf(event: SessionEvent): {
|
|
33
33
|
kind: 'record';
|
|
34
34
|
record: TaskMemoryEvent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-memory-projection.d.ts","sourceRoot":"","sources":["../src/task-memory-projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAG7E,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACtD,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAA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C1G;AAKD,oFAAoF;AACpF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAS1H;AACD,OAAO,QAAQ,2CAA2C,CAAC;IACzD,UAAU,yBAAyB;QAAG,cAAc,EAAE,eAAe,CAAA;KAAE;IACvE,UAAU,oBAAoB;QAAG,cAAc,EAAE,cAAc,CAAA;KAAE;CAClE;AAED,sFAAsF;AACtF,eAAO,MAAM,oBAAoB,EAAE,oBAAoB,CAAC,gBAAgB,EAAE,eAAe,CAAC,GAAG;IAC3F,IAAI,EAAE,WAAW,CAAC,oBAAoB,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;CAcnF,CAAA"}
|
|
@@ -19,13 +19,15 @@ export function taskMemoryView(state) {
|
|
|
19
19
|
export const TASK_MEMORY_SOURCE = 'dsh-super-code/task-memory/v1';
|
|
20
20
|
// Persisted records from before the package rename must remain readable.
|
|
21
21
|
const LEGACY_TASK_MEMORY_SOURCE = 'dsh-super-agent/task-memory/v1';
|
|
22
|
-
|
|
22
|
+
const taskMemorySources = new Set([TASK_MEMORY_SOURCE, LEGACY_TASK_MEMORY_SOURCE]);
|
|
23
|
+
/** V4 prefixes migrated plugin wrappers; native producer kinds remain unchanged. */
|
|
23
24
|
export function taskMemoryEventOf(event) {
|
|
24
25
|
if (event.type !== 'user/message')
|
|
25
26
|
return { kind: 'unrelated' };
|
|
26
27
|
const source = event.data.source;
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
const producer = source.kind === 'plugin' ? source.plugin ?? ''
|
|
29
|
+
: source.kind.startsWith('plugin:') ? source.kind.slice('plugin:'.length) : source.kind;
|
|
30
|
+
if (!taskMemorySources.has(producer))
|
|
29
31
|
return { kind: 'unrelated' };
|
|
30
32
|
const content = event.data.content;
|
|
31
33
|
if (content.length !== 1 || content[0]?.type !== 'text')
|
|
@@ -34,7 +36,8 @@ export function taskMemoryEventOf(event) {
|
|
|
34
36
|
}
|
|
35
37
|
/** Host checkpoints restore the bounded working set without summarizing summaries. */
|
|
36
38
|
export const taskMemoryProjection = {
|
|
37
|
-
|
|
39
|
+
// Rebuild checkpoints that previously skipped v4 migrated plugin sources.
|
|
40
|
+
key: 'superCodeTasks', stateVersion: 2, stateSchema: taskMemoryStateSchema,
|
|
38
41
|
init: () => emptyTaskMemory(),
|
|
39
42
|
apply: (state, event) => {
|
|
40
43
|
const record = taskMemoryEventOf(event);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-memory-projection.js","sourceRoot":"","sources":["../src/task-memory-projection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAErH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,MAAM,UAAU,GAA8B,CAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5F,OAAO,EAAE,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;QACnF,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,MA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AAC;QACD,OAAO,KAAK,CAAA;IACd,CAAC;IACD,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,cAAc,EAAE;CAC3C,CAAA"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
- id: super-code
|
|
3
3
|
name: dsh-super-code/super-code
|
|
4
4
|
config:
|
|
5
|
-
presetVersion: 0.3.
|
|
5
|
+
presetVersion: 0.3.5
|
|
6
6
|
# Reuse the host backend in an agent-local realm, as shipped Harness presets do.
|
|
7
7
|
# The token meter remains host-owned; each agent owns its compaction lifecycle.
|
|
8
8
|
- id: compaction
|