@suifei/dsh-ai-team 0.3.84 → 0.3.86
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/CHANGELOG.md +6 -0
- package/index.js +18 -1
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/__init__.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/__main__.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/backend.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/budget.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/config.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/consolidate.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/cycle.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/dream.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/evidence.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/gate.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/handoff_backend.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/harvest.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/harvest_codex.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/harvest_copilot.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/harvest_copilot_cli.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/harvest_cursor.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/harvest_opencode.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/harvest_pi.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/harvest_sources.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/judges.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/memory.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/mine.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/multi_skill.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/replay.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/skill_resolver.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/staging.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/state.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/tasks_file.cpython-311.pyc +0 -0
- package/lib/vendor/skillopt/skillopt_sleep/__pycache__/types.cpython-311.pyc +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.86 - 2026-11-12
|
|
4
|
+
|
|
5
|
+
- **技能进化链路可观测性**:health 新增 `runtime.services`(tools.register / shell / 已注册的 skillopt_* 工具清单);SkillOpt 注册条件不满足时记 `skillopt.skip.fail` 诊断——消除「静默未启用」的排查盲区(此前只能靠 diag 猜)。
|
|
6
|
+
- 实证:本机 7 个 skillopt 工具全部注册、Python 3.11 引擎可运行(`status` 实跑 `nights so far: 0`);技能进化链路**已就绪但从未运行**(默认 mock backend 为安全默认)。
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
## 0.3.84 - 2026-11-12
|
|
4
10
|
|
|
5
11
|
- **旧会话自动迁移(review 修复)**:唤醒失败且错误表明 subagent 不可用时(旧形态成员会话由 agents.create 创建、不在 subagent catalog),自动以 subagent 形态重建一次(重置会话)并记录 member.autoreseat 诊断——避免成员在重构后静默不再被唤醒,用户无需手动迁移。
|
package/index.js
CHANGED
|
@@ -41,7 +41,7 @@ export const name = 'ai-team';
|
|
|
41
41
|
/** The workbench only makes sense where the Web carrier exists. */
|
|
42
42
|
export const inject = ['webServer', 'permissionPresets', 'sandboxPolicy'];
|
|
43
43
|
|
|
44
|
-
const VERSION = '0.3.
|
|
44
|
+
const VERSION = '0.3.86';
|
|
45
45
|
const HUMAN_ID = 'mem_human';
|
|
46
46
|
|
|
47
47
|
const SKILLOPT_BACKENDS = ['mock', 'claude', 'codex', 'copilot', 'cursor', 'pi', 'opencode', 'handoff', 'azure_openai'];
|
|
@@ -747,6 +747,16 @@ export function apply(ctx, config = {}) {
|
|
|
747
747
|
let disposeSkillOpt = () => {};
|
|
748
748
|
try {
|
|
749
749
|
const shell = ctx.get('shell');
|
|
750
|
+
// 探针:SkillOpt 注册依赖 tools.register + shell 两个服务。历史上这条
|
|
751
|
+
// if 为假时无任何诊断,导致「技能进化静默未启用」(用户实证盘查)。
|
|
752
|
+
if (!tools?.register || !shell) {
|
|
753
|
+
diag.append({
|
|
754
|
+
ev: 'skillopt.skip.fail',
|
|
755
|
+
hasToolsRegister: typeof tools?.register === 'function',
|
|
756
|
+
hasShell: Boolean(shell),
|
|
757
|
+
});
|
|
758
|
+
console.warn('[ai-team] SkillOpt tools not registered:', { hasToolsRegister: typeof tools?.register === 'function', hasShell: Boolean(shell) });
|
|
759
|
+
}
|
|
750
760
|
if (tools?.register && shell) {
|
|
751
761
|
// Backend/timeout come from the plugin Config (patch layer), so an
|
|
752
762
|
// operator can move the skillopt_* tools off the safe mock default.
|
|
@@ -1200,6 +1210,13 @@ export function apply(ctx, config = {}) {
|
|
|
1200
1210
|
})),
|
|
1201
1211
|
runtime: {
|
|
1202
1212
|
roots: ctx.get('agents')?.roots?.().length ?? null,
|
|
1213
|
+
// 服务探测(技能进化链路依赖 tools.register + shell):
|
|
1214
|
+
// 同步可观测,避免历史「静默未启用」盲区。
|
|
1215
|
+
services: {
|
|
1216
|
+
tools: typeof ctx.get('tools')?.register === 'function',
|
|
1217
|
+
shell: Boolean(ctx.get('shell')),
|
|
1218
|
+
skilloptTools: (ctx.get('tools')?.definitions?.() ?? []).map((definition) => definition.name).filter((toolName) => String(toolName).startsWith('skillopt_')),
|
|
1219
|
+
},
|
|
1203
1220
|
defaultModel: ctx.get('agentDefaultModel')?.currentSelection?.() ?? null,
|
|
1204
1221
|
llmProviders: ctx.get('llm')?.listProviders?.() ?? [],
|
|
1205
1222
|
providers: ctx.get('subagents')?.list?.() ?? [],
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suifei/dsh-ai-team",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.86",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "文渊阁 (Wenyuan Pavilion) — AI Team mode for DeepSeek Harness: concurrent projects, owned tasks, threads, inbox and an append-only team ledger",
|
|
6
6
|
"license": "MIT",
|