@stalfh233/omc-cli 0.6.56 → 0.6.57
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/dist/discovery.js +11 -2
- package/dist/goal-routes.js +41 -0
- package/dist/human-summary.js +1 -1
- package/dist/lanes/app-contract.js +1 -1
- package/dist/lanes/app.js +18 -1
- package/dist/lanes/report.js +36 -1
- package/dist/lanes/runtime-data.js +1 -1
- package/dist/lanes/workflow.js +7 -0
- package/dist/runtime-support.js +14 -3
- package/dist/version-family-gaps.js +10 -4
- package/package.json +3 -3
package/dist/discovery.js
CHANGED
|
@@ -522,7 +522,7 @@ export function describeTool(registry, name) {
|
|
|
522
522
|
name: tool.name,
|
|
523
523
|
lane: tool.lane ?? null,
|
|
524
524
|
kind: tool.kind,
|
|
525
|
-
summary: clampText(summarizeDescription(tool.description),
|
|
525
|
+
summary: clampText(summarizeDescription(tool.description), 240),
|
|
526
526
|
required,
|
|
527
527
|
params,
|
|
528
528
|
examples,
|
|
@@ -552,7 +552,16 @@ export function describeTool(registry, name) {
|
|
|
552
552
|
}
|
|
553
553
|
/** Clamp to `limit` characters, ellipsis included — never cut mid-grapheme. */
|
|
554
554
|
function clampText(text, limit) {
|
|
555
|
-
|
|
555
|
+
if (text.length <= limit)
|
|
556
|
+
return text;
|
|
557
|
+
const head = text.slice(0, limit - 1);
|
|
558
|
+
// r65 a-F5(探针复现):workflow.finish 的 summary 恰好在「end 规则照常触发 vs
|
|
559
|
+
// abort 区别」的半句处被硬切——判据被裁掉,探针被迫多读 4KB --full。截断优先落
|
|
560
|
+
// 在句边界(。;;),半句内没有边界才硬切。
|
|
561
|
+
const boundary = Math.max(head.lastIndexOf("。"), head.lastIndexOf(";"), head.lastIndexOf(";"));
|
|
562
|
+
if (boundary >= Math.floor(limit * 0.5))
|
|
563
|
+
return `${text.slice(0, boundary + 1)}…`;
|
|
564
|
+
return `${head}…`;
|
|
556
565
|
}
|
|
557
566
|
/**
|
|
558
567
|
* The default `firstCall` keeps the decision-relevant facts — which recipe, can
|
package/dist/goal-routes.js
CHANGED
|
@@ -780,6 +780,39 @@ function goalRouteInner(registry, goal) {
|
|
|
780
780
|
};
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
|
+
// r65 b-F1(探针复现):「把当前环境的全部配置导出成一个包(整环境配置备份)」被
|
|
784
|
+
// READ_CUES 的「导出」吸进环境读梯子,反问「要查看哪个对象?给我 schemaCode」——
|
|
785
|
+
// 方向全错,探针多花 2 轮自救。导出**成备份包**是 app.export 动作(落盘产物),
|
|
786
|
+
// 不是「查某个模型」。放在能力打分前直指。注意裸「迁移」不进(模型跨应用移动另有路由)。
|
|
787
|
+
if (/(导出|备份|export|backup).{0,12}(包|配置|环境|应用包)|(整环境|全量|整个环境).{0,8}(备份|导出|迁移)|(备份|导出).{0,8}迁移/.test(goal)) {
|
|
788
|
+
const appRoute = routeById.get("app");
|
|
789
|
+
if (appRoute !== undefined && registryTools.has("app.export")) {
|
|
790
|
+
return {
|
|
791
|
+
status: "ok",
|
|
792
|
+
goal,
|
|
793
|
+
confident: true,
|
|
794
|
+
mode: "read",
|
|
795
|
+
write: false,
|
|
796
|
+
match: { kind: "capability", ref: "app", title: "应用包导出(备份)", capabilities: ["app"] },
|
|
797
|
+
route: {
|
|
798
|
+
capability: "app",
|
|
799
|
+
lane: appRoute.lane,
|
|
800
|
+
note: "配置备份走 app.export:省略 applicationCode 导整环境生命周期包(不含字典/组织/角色/用户,回执 notIncluded 明示);指定 applicationCode 导单应用。导出≠迁移:CLI 不提供 import,导入走平台控制台。",
|
|
801
|
+
readTools: ["app.export"],
|
|
802
|
+
readiness: DISCOVERY_AUTHORITY.readiness,
|
|
803
|
+
firstCommands: ["omc call app.export --args '{\"out\":\".omc/backups/\"}'", "omc call app.export --args '{\"applicationCode\":\"<应用code>\",\"out\":\".omc/backups/\"}'"],
|
|
804
|
+
write: false,
|
|
805
|
+
readback: true,
|
|
806
|
+
},
|
|
807
|
+
firstAnswer: {
|
|
808
|
+
state: "needs-input",
|
|
809
|
+
question: "整环境备份还是单应用?单应用给 applicationCode;产物目录可直接回车用默认 .omc/backups/。",
|
|
810
|
+
action: "omc call app.export --args '{\"out\":\".omc/backups/\"}'",
|
|
811
|
+
why: "导出/备份成包 = app.export(落盘产物 + sha256 + 条目清单);环境包边界(不含字典/组织/角色)在回执 notIncluded 里。",
|
|
812
|
+
},
|
|
813
|
+
};
|
|
814
|
+
}
|
|
815
|
+
}
|
|
783
816
|
// Known absence only: field-families exposes list/create/update/publish/delete,
|
|
784
817
|
// with no unpublish endpoint or update status bit (local 1.1.25 probe, 2026-11-11).
|
|
785
818
|
// Do not infer other absences from tool names: rollback is a top-level command,
|
|
@@ -1148,6 +1181,8 @@ function goalRouteInner(registry, goal) {
|
|
|
1148
1181
|
capability: id,
|
|
1149
1182
|
lane: capability.lane,
|
|
1150
1183
|
tools: stepTools(registry, capability.lane),
|
|
1184
|
+
// r65 a-F6:多能力阶梯不内联 notes(字节),给一步指针。
|
|
1185
|
+
notesCommand: `omc capability ${id} --executable`,
|
|
1151
1186
|
...(recipe
|
|
1152
1187
|
? { recipe: { tool: recipe.tool, id: recipe.recipe, command: `omc describe ${recipe.tool} --example ${recipe.recipe}` } }
|
|
1153
1188
|
: { firstCommand: `omc commands --json --compact --lane ${capability.lane}` }),
|
|
@@ -1278,6 +1313,12 @@ function goalRouteInner(registry, goal) {
|
|
|
1278
1313
|
? { primary: "intent" }
|
|
1279
1314
|
: { primary: "atomic", note: "该能力无声明式面(intent.level=none),走原子工具" }) : {}),
|
|
1280
1315
|
...(readish ? { readTools: readToolsInLane(registry, route.lane) } : { tools: route.tools }),
|
|
1316
|
+
// r65 a-F6(探针复现):定位语(workflow 的「测试提速三件套/运维过的实例权限
|
|
1317
|
+
// 语义已变」)只活在 capability notes 里,next 不带——探针靠 ladder 回包顺带
|
|
1318
|
+
// 瞥见才知道有这条路。单能力路由把 notes 直接内联(各能力 notes ≤ ~400B)。
|
|
1319
|
+
...(index.nodeById.get(capabilityId)?.notes !== undefined
|
|
1320
|
+
? { capabilityNotes: index.nodeById.get(capabilityId).notes }
|
|
1321
|
+
: {}),
|
|
1281
1322
|
...routeReads(sectionPointersFor([capabilityId], goal), recipe !== undefined),
|
|
1282
1323
|
readiness: DISCOVERY_AUTHORITY.readiness,
|
|
1283
1324
|
firstCommands,
|
package/dist/human-summary.js
CHANGED
|
@@ -214,7 +214,7 @@ function phraseOf(tool, args, outcome) {
|
|
|
214
214
|
}
|
|
215
215
|
return args.submit === true
|
|
216
216
|
? `保存并直提数据(模型 ${schemaCode ?? "?"})——一调完成态:DRAFT→COMPLETED,Create 规则已派发(无流程模型;流程模型会拒绝并指路两段式)`
|
|
217
|
-
: `保存数据(模型 ${schemaCode ?? "?"})——草稿 DRAFT;要一调完成态加 submit:true
|
|
217
|
+
: `保存数据(模型 ${schemaCode ?? "?"})——草稿 DRAFT;要一调完成态加 **data.save 自己的** submit:true(data.submit 无此参数,两段式改调 data.submit)`;
|
|
218
218
|
}
|
|
219
219
|
case "data.update":
|
|
220
220
|
return `更新数据 ${stringArg(args, "bizObjectId") ?? "?"}(${schemaCode ?? "?"})`;
|
|
@@ -87,7 +87,7 @@ export const APP_LANE_CONTRACT = Object.freeze({
|
|
|
87
87
|
}),
|
|
88
88
|
"app.export": Object.freeze({
|
|
89
89
|
scope: "app package export",
|
|
90
|
-
description: "
|
|
90
|
+
description: "导出配置包(备份用;导出≠迁移——CLI 不提供 import,导入走平台控制台/应用导入向导):applicationCode 省略 → 环境级生命周期包(/lifeCycle/apppackage/lifeCycleExport,全部应用包+应用分组+业务集成服务+数据源,metadata/…)。指定 applicationCode → 单应用包(apppackage/export,body {appCode,references},meta/{dm,form,view,workflow,report}+dependencies/platform/*)。includeDependencies 仅单应用有效:先读 apppackage/dependencies,把引用全选后传 references;环境包平台固定空引用,故环境范围传 true 直接拒。ZIP 同步返回(实测 1–3s;超时回 uncertain,勿当成功)。产物落盘:默认会话 artifacts,out 指定配置根内路径(0600)。回执只给 outPath/bytes/sha256/条目清单/资产计数,永不内联包内容。环境包完整性由回执 packageIntegrity/warnings 交叉核(应用被平台跳过会显式告警,勿用于迁移)。平台没有按资产类型筛选的参数,不收 assetTypes。",
|
|
91
91
|
}),
|
|
92
92
|
}),
|
|
93
93
|
});
|
package/dist/lanes/app.js
CHANGED
|
@@ -666,12 +666,29 @@ export function registerAppLane(tools) {
|
|
|
666
666
|
const referenceCounts = references === undefined
|
|
667
667
|
? undefined
|
|
668
668
|
: Object.fromEntries(Object.entries(references).map(([key, value]) => [key, arrayLength(value)]));
|
|
669
|
+
// r65 b-F6(真机回执在档):平台在并发修改期可能瞬时跳过整个应用——回执里
|
|
670
|
+
// environment.applicationCount=7 与 assets.applicationCount=6 并存而 status 仍 ok,
|
|
671
|
+
// 客户拿这种包迁移会静默丢应用。CLI 侧无条件交叉核两个清单,不一致必告警。
|
|
672
|
+
const envApplicationCodes = applications.map((row) => row.code);
|
|
673
|
+
const environmentAssets = scope === "environment" ? assets : undefined;
|
|
674
|
+
const environmentSkipped = environmentAssets !== undefined
|
|
675
|
+
? envApplicationCodes.filter((code) => !environmentAssets.applicationCodes.includes(code))
|
|
676
|
+
: [];
|
|
677
|
+
const environmentWarnings = environmentSkipped.length > 0
|
|
678
|
+
? [
|
|
679
|
+
`app-skipped:${environmentSkipped.join(",")}——平台在导出瞬间跳过了这些应用(并发修改期可发生,如删除级联进行中)。**包不完整,禁止用于迁移**;稍后重导,或对每个被跳过应用单独 app.export {applicationCode}`,
|
|
680
|
+
]
|
|
681
|
+
: undefined;
|
|
669
682
|
return {
|
|
670
683
|
scope,
|
|
671
684
|
endpoint,
|
|
672
685
|
...(selected !== undefined
|
|
673
686
|
? { application: { code: selected.code, name: selected.name } }
|
|
674
|
-
: { environment: { applicationCount: applications.length, applicationCodes:
|
|
687
|
+
: { environment: { applicationCount: applications.length, applicationCodes: envApplicationCodes } }),
|
|
688
|
+
...(scope === "environment" ? { snapshotAt: new Date().toISOString(), snapshotClock: "cli" } : {}),
|
|
689
|
+
...(environmentWarnings !== undefined
|
|
690
|
+
? { warnings: environmentWarnings, packageIntegrity: "incomplete-apps-skipped" }
|
|
691
|
+
: { packageIntegrity: "complete" }),
|
|
675
692
|
...(referenceCounts !== undefined ? { includeDependencies: args.includeDependencies === true, references: referenceCounts } : {}),
|
|
676
693
|
outPath,
|
|
677
694
|
// CLI stdout sanitises local paths (ticket 103: the machine envelope
|
package/dist/lanes/report.js
CHANGED
|
@@ -209,6 +209,34 @@ function parentMismatchFields(requestedParentId, treeNode) {
|
|
|
209
209
|
function reportVerifyCommand(code, appCode) {
|
|
210
210
|
return `omc call folder.tree --args '{"applicationCode":"${appCode}"}' --jq 'nodes' | 按 code=${code} 查 type=Report 的 parentId/path(BI 不可用时 report.get/report.tree 不可信)`;
|
|
211
211
|
}
|
|
212
|
+
function summarizeChartEntry(entry) {
|
|
213
|
+
if (entry !== null && typeof entry === "object") {
|
|
214
|
+
const row = entry;
|
|
215
|
+
const field = row.field ?? row.name ?? row.code ?? row.alias ?? row.caption ?? row.id;
|
|
216
|
+
const agg = row.aggregation ?? row.aggFunc ?? row.aggregate ?? row.type;
|
|
217
|
+
return agg !== undefined ? `${String(field)}(${String(agg)})` : String(field);
|
|
218
|
+
}
|
|
219
|
+
return String(entry);
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* r65 c-F8(探针复现):readback 只投影 uuid/title/type/dataSourceId/mainTable/position,
|
|
223
|
+
* 「按什么汇总」全在 data 里却不投影——回执只能证「图行存在」不能证「图配对」。
|
|
224
|
+
* 维度/度量做最佳努力摘要;解析不出结构时至少回 dataKeys 让调用方知道下一步取什么。
|
|
225
|
+
*/
|
|
226
|
+
function chartDataSummary(raw) {
|
|
227
|
+
const data = parseJsonText(raw);
|
|
228
|
+
if (data === undefined || data === null)
|
|
229
|
+
return { dataAbsent: true };
|
|
230
|
+
if (typeof data !== "object" || Array.isArray(data))
|
|
231
|
+
return { dataPresent: true };
|
|
232
|
+
const out = {};
|
|
233
|
+
for (const key of ["dimensions", "measures", "filters", "rows", "columns"]) {
|
|
234
|
+
const value = data[key];
|
|
235
|
+
if (Array.isArray(value) && value.length > 0)
|
|
236
|
+
out[key] = value.slice(0, 6).map(summarizeChartEntry);
|
|
237
|
+
}
|
|
238
|
+
return Object.keys(out).length > 0 ? out : { dataKeys: Object.keys(data).slice(0, 10) };
|
|
239
|
+
}
|
|
212
240
|
function chartView(chart) {
|
|
213
241
|
return {
|
|
214
242
|
uuid: chart.uuid,
|
|
@@ -217,6 +245,7 @@ function chartView(chart) {
|
|
|
217
245
|
dataSourceId: chart.dataSourceId,
|
|
218
246
|
mainTable: chart.mainTable,
|
|
219
247
|
position: parseJsonText(chart.position),
|
|
248
|
+
dataSummary: chartDataSummary(chart.data),
|
|
220
249
|
};
|
|
221
250
|
}
|
|
222
251
|
/** Read the BI config, treating a missing dashboard as present:false rather than an error. */
|
|
@@ -484,12 +513,18 @@ export function registerReportLane(tools) {
|
|
|
484
513
|
return true;
|
|
485
514
|
});
|
|
486
515
|
const modelCount = merged.filter((row) => Number(row.nodeType) === 1).length;
|
|
516
|
+
// r65 c-F9:行数据常被外置到 artifact,artifact get --jq 只回裸行——模型行的
|
|
517
|
+
// dataSourceId 恒 null 极易读成「没有数据源可连」。真键 objectId 直接以
|
|
518
|
+
// linkObjectId 别名随行携带,裸行自解释。
|
|
519
|
+
const rows = merged.map((row) => Number(row.nodeType) === 1 && row.objectId !== undefined && row.objectId !== null
|
|
520
|
+
? { ...row, linkObjectId: String(row.objectId) }
|
|
521
|
+
: row);
|
|
487
522
|
return {
|
|
488
523
|
kind: args.kind,
|
|
489
524
|
parentObjectId: args.parentObjectId ?? null,
|
|
490
525
|
count: merged.length,
|
|
491
526
|
modelCount,
|
|
492
|
-
datasources:
|
|
527
|
+
datasources: rows,
|
|
493
528
|
note: "link 只认**模型行**(nodeType:1)的 objectId(当 dataSourceId 用;模型行的 dataSourceId 字段恒 null)。顶层(不传 parentObjectId)没有模型行——先下钻:应用 id 从 folder.tree 取(应用包节点 id),或用本面 nodeType:0 行的 objectId。nodeType:0=应用/分组容器,200=系统数据源。",
|
|
494
529
|
...(modelCount === 0 && args.parentObjectId === undefined
|
|
495
530
|
? { nextCommand: `omc call report.datasource.list --args '{"reportCode":"${args.reportCode}","appCode":"${args.appCode}","parentObjectId":"<分组或应用 id>"}'` }
|
|
@@ -1815,7 +1815,7 @@ export function registerRuntimeDataLane(tools) {
|
|
|
1815
1815
|
authoritative: projectReadbackRecord(savedRecord, args),
|
|
1816
1816
|
...(savedEmptyFields.length > 0 ? { readbackWarning: readbackWarningFor(savedEmptyFields, "data.save") } : {}),
|
|
1817
1817
|
...(dataWarnings.length > 0 ? { warnings: dataWarnings } : {}),
|
|
1818
|
-
draftRuleHint: workflowDraftHint ?? "草稿态(DRAFT)保存不触发业务规则——DRAFT 行跳过 Create/Update 分发(DomainServiceImpl.java:240-248);要一调完成态本调用加 submit:true
|
|
1818
|
+
draftRuleHint: workflowDraftHint ?? "草稿态(DRAFT)保存不触发业务规则——DRAFT 行跳过 Create/Update 分发(DomainServiceImpl.java:240-248);要一调完成态本调用加 submit:true(仅 data.save 有此参数;data.submit 不收);已存草稿直提形状:data.submit {schemaCode, bizObjectId: 本读回的 bizObjectId, formData}(submit 自持久化)",
|
|
1819
1819
|
};
|
|
1820
1820
|
// r18 retro (G3): one-call COMPLETED creation — the agent goal is usually
|
|
1821
1821
|
// "record AND rule effect", not "a draft". Chain the no-flow submit in
|
package/dist/lanes/workflow.js
CHANGED
|
@@ -3404,6 +3404,12 @@ export function registerWorkflowLane(tools) {
|
|
|
3404
3404
|
const othersScopeNote = scopedToInstance && page.total === 0 && typeof unfiltered === "number" && unfiltered > 0
|
|
3405
3405
|
? `total:0 是当前登录人口径——查询范围(unfilteredTotal=${unfiltered})内存在他人的待办。若该实例应有待办:待办按持有人过滤,用 participant:<持有人id> 复查(持有人见 data.submit 回执 flowWarning);不要据此判定「流程未生成」。`
|
|
3406
3406
|
: undefined;
|
|
3407
|
+
// r65 a-F8(探针复现):不带过滤时 total=11 与 itemsCount=0 并存且无任何口径说明
|
|
3408
|
+
// ——清理验收差点把他人待办当自己残留。total 与 items 恒为「当前登录人可见」
|
|
3409
|
+
// 口径,unfiltered(若平台回)才是范围全量;无过滤时同样要说清。
|
|
3410
|
+
const unscopedScopeNote = !scopedToInstance
|
|
3411
|
+
? `total/items 是**当前登录人可见**口径${typeof unfiltered === "number" ? `(unfilteredTotal=${unfiltered} 为查询范围全量,含他人)` : "(他人待办不在其中)"};清点残留请按此口径解读,勿把范围全量当自己的。`
|
|
3412
|
+
: undefined;
|
|
3407
3413
|
return {
|
|
3408
3414
|
total: page.total,
|
|
3409
3415
|
// The JPA-spec path reports no page count; only emit it when known.
|
|
@@ -3411,6 +3417,7 @@ export function registerWorkflowLane(tools) {
|
|
|
3411
3417
|
itemsCount: items.length,
|
|
3412
3418
|
...(purposeHint ? { purposeHint } : {}),
|
|
3413
3419
|
...(othersScopeNote ? { scopeNote: othersScopeNote } : {}),
|
|
3420
|
+
...(othersScopeNote === undefined && unscopedScopeNote !== undefined ? { scopeNote: unscopedScopeNote } : {}),
|
|
3414
3421
|
...(args.participant !== undefined ? { participant: args.participant, state: args.state ?? "PENDING", source: "list_workitems" } : {}),
|
|
3415
3422
|
...("unfilteredTotal" in page && page.unfilteredTotal !== undefined ? { unfilteredTotal: page.unfilteredTotal } : {}),
|
|
3416
3423
|
items,
|
package/dist/runtime-support.js
CHANGED
|
@@ -297,11 +297,20 @@ export async function diagnoseApprovalSubmitIdentity(session, args) {
|
|
|
297
297
|
const awaiting = known
|
|
298
298
|
.map((row) => ({ activityName: wireString(row.activityName) ?? null, activityCode: wireString(row.activityCode) ?? null, participants: participantIds(row) }))
|
|
299
299
|
.filter((row) => row.participants.length > 0);
|
|
300
|
-
throw
|
|
300
|
+
throw buildSubmitWorkitemNotMineRefusal({ instanceId, workItemId: typeof args.workItemId === "string" ? args.workItemId : undefined, myId, myName, awaiting });
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* r65 a-F7 抽出为纯构造(可单测):非本人待办的拒绝信封。③「临时改参与人再改回」
|
|
304
|
+
* 与项目规范冲突(漏还原=假权限交付),必须带沙盒限制;并给 workflow.transfer
|
|
305
|
+
* 替代路径(转过的实例勿再用于权限验证)。
|
|
306
|
+
*/
|
|
307
|
+
export function buildSubmitWorkitemNotMineRefusal(input) {
|
|
308
|
+
const { instanceId, workItemId, myId, myName, awaiting } = input;
|
|
309
|
+
return new ToolRefusalError({
|
|
301
310
|
status: "refused",
|
|
302
311
|
blocker: "submit-workitem-not-mine",
|
|
303
312
|
workflowInstanceId: instanceId,
|
|
304
|
-
...(
|
|
313
|
+
...(workItemId !== undefined ? { workItemId } : {}),
|
|
305
314
|
currentUser: { id: myId, name: myName },
|
|
306
315
|
awaiting,
|
|
307
316
|
nextCommand: `omc call workflow.instanceActivity --args '${JSON.stringify({ workflowInstanceId: instanceId })}'`,
|
|
@@ -310,7 +319,9 @@ export async function diagnoseApprovalSubmitIdentity(session, args) {
|
|
|
310
319
|
`**这是 OMC 的能力边界**:平台按登录态鉴权,而 OMC 一次只持有一个会话(一份 token 缓存),` +
|
|
311
320
|
`因此「非发起人身份的审批」无法在 CLI 内推进。可选做法:① 由该参与人自己在门户审批;` +
|
|
312
321
|
`② 用该参与人的账号另建一个环境(omc env add)再执行同一条 data.submit;` +
|
|
313
|
-
`③ 若只是为了验证流程能走通,把该节点参与人临时改为发起人(org.role.addUsers / workflow.update
|
|
322
|
+
`③ 若只是为了验证流程能走通,把该节点参与人临时改为发起人(org.role.addUsers / workflow.update),验证后改回——` +
|
|
323
|
+
`**仅限本地沙盒且必须当场还原;生产/客户环境禁用**(漏还原=把假权限交付给客户)。` +
|
|
324
|
+
`或改用 workflow.transfer 把待办转给当前登录人再 data.submit(会写 ADJUST_PARTICIPANT 审计记录,且转过的实例勿再用于权限验证)。` +
|
|
314
325
|
`不要重复盲试——同一个 workItemId 会一直回 40005。`,
|
|
315
326
|
});
|
|
316
327
|
}
|
|
@@ -33,13 +33,19 @@ const FAMILY_GAPS = [
|
|
|
33
33
|
// r27 真机(2026-11-05,1.1.25):BI 模块未部署,`/dashboard/v1/report/*` 全部
|
|
34
34
|
// 502。探针为此在**三个面**各收一次税:report.create 回 present:true 但
|
|
35
35
|
// report.tree 读回 0(读回矛盾)、report.delete 卡死导致应用删不掉(清理死结)、
|
|
36
|
-
// folder.delete 指引错方向(使用摩擦),合计 9
|
|
37
|
-
//
|
|
36
|
+
// folder.delete 指引错方向(使用摩擦),合计 9 轮。
|
|
37
|
+
//
|
|
38
|
+
// r65 c-F5 修正(2026-11-15):这条的根因是 **reporter 服务未运行**,不是版本族
|
|
39
|
+
// 固有缺席——r63 起 reporter 容器(:6061)运行后,同一 1.1.25 环境 report.create
|
|
40
|
+
// 回 biInitialized:true、report.get 回 bi.present:true(r65 探针再次真机确认)。
|
|
41
|
+
// 曾有探针按本条旧文案准备劝退整条报表路线。族级缺席结论一律标 needsReconfirm,
|
|
42
|
+
// 以实测为准。
|
|
38
43
|
id: "report / BI (/dashboard/v1/report/*)",
|
|
39
44
|
kind: "endpoint-absent-on-family",
|
|
40
45
|
families: ["1.0", "1.1"],
|
|
41
|
-
|
|
42
|
-
|
|
46
|
+
needsReconfirm: true,
|
|
47
|
+
fallback: "条件性缺口(reporter 服务未运行时):报表页在平台侧可建(report.tree/report.get 走平台面),BI 初始化/详情/删除会 502。reporter 运行时全链可用(r63 真机)。遇 502 先确认 reporter 服务状态,再决定是否改用 listview 汇总列/data.list 统计;report.delete 已降级为「BI 摘除失败仍执行平台侧删除」",
|
|
48
|
+
evidence: "r27 真机 2026-11-05(1.1.25,reporter 未起):biInit:failed;r63/r65 真机(同 1.1.25,reporter 已起):biInitialized:true、bi.present:true——族级结论已被实测推翻,needsReconfirm",
|
|
43
49
|
},
|
|
44
50
|
];
|
|
45
51
|
/** r28k F9 — 固定文案,doctor / get_status 共用,避免两义。 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stalfh233/omc-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.57",
|
|
4
4
|
"description": "CloudPivot 8.6 configuration capability CLI — governed, fail-closed, coverage-manifest bounded.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"commander": "14.0.3",
|
|
59
|
-
"omc-core": "0.6.
|
|
59
|
+
"omc-core": "0.6.57",
|
|
60
60
|
"proper-lockfile": "4.1.2",
|
|
61
61
|
"write-file-atomic": "6.0.0",
|
|
62
62
|
"zod": "^3.23.8",
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"directory": "packages/omc-cli"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"@stalfh233/omc-fake-platform": "0.6.
|
|
77
|
+
"@stalfh233/omc-fake-platform": "0.6.57"
|
|
78
78
|
}
|
|
79
79
|
}
|