@hcmai/sdk 0.29.0 → 0.31.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.
- package/dist/index.d.ts +354 -12
- package/dist/index.js +1440 -389
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -435,6 +435,11 @@ interface WriteOpts {
|
|
|
435
435
|
* 🔴 形态与模式必须匹配,否则后端报 `DTO转换错误`——而错误里不会告诉你缺的是这个开关。
|
|
436
436
|
*/
|
|
437
437
|
i18n?: boolean;
|
|
438
|
+
/**
|
|
439
|
+
* 写后核验(后端 `?verify=true`,Core 写入后按同一条读链回读、逐字段比对,结论在响应的 `writeVerification`)。
|
|
440
|
+
* 不传 / false 时请求与今天完全相同:不带这个参数,服务端也不多读一次。
|
|
441
|
+
*/
|
|
442
|
+
verify?: boolean;
|
|
438
443
|
}
|
|
439
444
|
/** 创建一条 Model 记录,走后端 Model 层完整校验。
|
|
440
445
|
* 注:返回体形态(尤其 id 字段名)见 spec §12.3,实现期对真后端核实。 */
|
|
@@ -481,6 +486,51 @@ interface RowResult {
|
|
|
481
486
|
* (hcm_nx_cli#277 · Jira HCMNX-111 现场:1024 行全绿、51200 格全空)。
|
|
482
487
|
*/
|
|
483
488
|
unmappedFields?: string[];
|
|
489
|
+
/**
|
|
490
|
+
* 只在 `--verify` 下、且这一行真写了(created / updated)时出现:服务端写后核验对这一行的结论。
|
|
491
|
+
* skipped / failed 的行没有它——没写就不核,不能和「核过、通过」同值。
|
|
492
|
+
*/
|
|
493
|
+
verification?: RowVerification;
|
|
494
|
+
}
|
|
495
|
+
/** 一行的写后核验结论(O9 §5.3)。口径与 `hcm create / update --verify` 相同。 */
|
|
496
|
+
interface RowVerification {
|
|
497
|
+
/** 与 `create --verify` 的 `verifyExitReason` 同一口径:服务端状态原值,或 CLI 判的 LEGACY_* / MALFORMED_VERIFICATION。 */
|
|
498
|
+
status: string;
|
|
499
|
+
/** 这一行单独看的退出码:0 核验通过 / 6 已写入但对不上 / 7 已写入、未核验。 */
|
|
500
|
+
exitCode: 0 | 6 | 7;
|
|
501
|
+
/** 服务端给的整体原因码(没给就不出现)。 */
|
|
502
|
+
reason?: string;
|
|
503
|
+
/**
|
|
504
|
+
* 没核成 VERIFIED 的字段:`status` 区分「对不上」(MISMATCH)与「没核成」(UNVERIFIABLE),不能混成一类;
|
|
505
|
+
* 容器字段带被清掉的子键与没核成的叶子。旧 Core 没有核验块时是未知键回执里的键(MISMATCH / NOT_A_FIELD)。
|
|
506
|
+
*/
|
|
507
|
+
fields?: RowVerificationField[];
|
|
508
|
+
/** 服务端截断了字段清单(fieldsTruncated):上面的 fields 不是全部。 */
|
|
509
|
+
fieldsTruncated?: true;
|
|
510
|
+
/** 旧 Core 的未知键回执没查全(fieldsUnknownUnverified):除了点名的,可能还有别的错名键。 */
|
|
511
|
+
fieldNamesIncomplete?: true;
|
|
512
|
+
}
|
|
513
|
+
interface RowVerificationField {
|
|
514
|
+
field: string;
|
|
515
|
+
status?: string;
|
|
516
|
+
reason?: string;
|
|
517
|
+
/** 整份送容器时被清掉的子键(CONTAINER_KEYS_DROPPED)。 */
|
|
518
|
+
droppedKeys?: string[];
|
|
519
|
+
/** 容器里没核成 VERIFIED 的叶子。 */
|
|
520
|
+
leaves?: Array<{
|
|
521
|
+
path: string;
|
|
522
|
+
status?: string;
|
|
523
|
+
reason?: string;
|
|
524
|
+
}>;
|
|
525
|
+
}
|
|
526
|
+
/** `--verify` 下的全量汇总。行按核验结论分三栏;skipped 的行没写入、不核验,单列。 */
|
|
527
|
+
interface ImportVerificationSummary {
|
|
528
|
+
verified: number;
|
|
529
|
+
mismatched: number;
|
|
530
|
+
/** 包括没有 counts 的块(如 META_UNAVAILABLE):记「未核验」,不当成「核了 0 个字段」。 */
|
|
531
|
+
unverified: number;
|
|
532
|
+
/** skipped 的行(已存在、没写):不核验,不计入上面三栏。 */
|
|
533
|
+
skippedNotVerified: number;
|
|
484
534
|
}
|
|
485
535
|
interface ImportResult {
|
|
486
536
|
created: number;
|
|
@@ -509,11 +559,26 @@ interface ImportResult {
|
|
|
509
559
|
* `unmappedFields` —— 后者下一步该做的是写后回读,前者不用。
|
|
510
560
|
*/
|
|
511
561
|
fieldNamesUnverified: string[];
|
|
562
|
+
/** 只在 `--verify`(且不是 dry-run)时出现。 */
|
|
563
|
+
verification?: ImportVerificationSummary;
|
|
564
|
+
/**
|
|
565
|
+
* 按 `--on-error stop` 提前停下时出现:停在 rows 的最后一行,`cause` 说为什么停。
|
|
566
|
+
* 没有它 = 每一行都跑到了(缺省 continue,或 stop 下一路没出错)。
|
|
567
|
+
*/
|
|
568
|
+
stoppedOn?: {
|
|
569
|
+
model: string;
|
|
570
|
+
key: string;
|
|
571
|
+
cause: 'failed' | 'verify-mismatch';
|
|
572
|
+
/** 停下时还没轮到的行数(不在 rows 里)。 */
|
|
573
|
+
notAttempted: number;
|
|
574
|
+
};
|
|
512
575
|
}
|
|
513
576
|
interface ImportOptions {
|
|
514
577
|
dryRun?: boolean;
|
|
515
578
|
updateOnly?: boolean;
|
|
516
579
|
onError?: 'stop' | 'continue';
|
|
580
|
+
/** 每个要写的行都带 `verify=true`(O9 §5.3);dry-run 下不生效(不写就没得核)。 */
|
|
581
|
+
verify?: boolean;
|
|
517
582
|
}
|
|
518
583
|
|
|
519
584
|
/** snake_case → camelCase(单个 key)。 */
|
|
@@ -638,10 +703,15 @@ declare const DATA_PACKAGE_FIXTURE_SCHEMA_V1: {
|
|
|
638
703
|
/** runner 只依赖 client 的这四个方法,便于单测 stub。 */
|
|
639
704
|
interface ImportClient {
|
|
640
705
|
findIdByKey(model: string, keyField: string, keyValue: string): Promise<string | null>;
|
|
641
|
-
|
|
706
|
+
/** `opts.verify` 只在 `--verify` 下传;回包原样交回(核验块在顶层)。 */
|
|
707
|
+
create(model: string, data: Record<string, unknown>, opts?: {
|
|
708
|
+
verify?: boolean;
|
|
709
|
+
}): Promise<{
|
|
642
710
|
id: string;
|
|
643
711
|
}>;
|
|
644
|
-
update(model: string, id: string, data: Record<string, unknown
|
|
712
|
+
update(model: string, id: string, data: Record<string, unknown>, opts?: {
|
|
713
|
+
verify?: boolean;
|
|
714
|
+
}): Promise<unknown>;
|
|
645
715
|
/**
|
|
646
716
|
* 目标模型写入侧认得哪些字段键(含租户扩展字段)。字段名归一靠它才能不改错名字
|
|
647
717
|
* (见 {@link resolveItemKeys})。
|
|
@@ -652,6 +722,12 @@ interface ImportClient {
|
|
|
652
722
|
fieldKeys(model: string): Promise<string[]>;
|
|
653
723
|
}
|
|
654
724
|
declare function runImport(client: ImportClient, fixtures: Fixture[], opts?: ImportOptions): Promise<ImportResult>;
|
|
725
|
+
/**
|
|
726
|
+
* import 的整体退出码(O9 §5.3):有一行 6 → 6;否则有一行写入失败 → 3;否则有一行 7 → 7;否则 0。
|
|
727
|
+
* 🔴 6 排第一:「不要重跑」必须压过「有行失败、改完可以重跑」,否则会整份重导,把已建的行再建一遍。
|
|
728
|
+
* 不开 --verify 时与今天相同:有失败 3,否则 0。
|
|
729
|
+
*/
|
|
730
|
+
declare function importExitCode(result: ImportResult): 0 | 3 | 6 | 7;
|
|
655
731
|
|
|
656
732
|
interface HcmClientOpts {
|
|
657
733
|
endpoint: string;
|
|
@@ -762,6 +838,13 @@ declare enum ExitCode {
|
|
|
762
838
|
BUSINESS_ERROR = 3,
|
|
763
839
|
NETWORK_ERROR = 4,
|
|
764
840
|
CONFIG_ERROR = 5,
|
|
841
|
+
/**
|
|
842
|
+
* 只在 `--verify` 下出现:**写入成功**,但写后核验没过(服务端 `writeVerification` 判 MISMATCH)。
|
|
843
|
+
* 🔴 不要重跑——重跑 create 会再建一条,重跑 update 结果一样。不对应任何 CliErrorCode:它不是报错。
|
|
844
|
+
*/
|
|
845
|
+
VERIFY_MISMATCH = 6,
|
|
846
|
+
/** 只在 `--verify` 下出现:已写入(或已执行),但核验做不了或只做了一部分。 */
|
|
847
|
+
VERIFY_UNAVAILABLE = 7,
|
|
765
848
|
SIGINT = 130
|
|
766
849
|
}
|
|
767
850
|
declare enum CliErrorCode {
|
|
@@ -2732,9 +2815,11 @@ interface MiniVerifyPlan {
|
|
|
2732
2815
|
/**
|
|
2733
2816
|
* 服务端只读预检(HCMNX-328)里落在本应用路径下的那部分结论;verify 没送检时缺省。
|
|
2734
2817
|
* `failed` 只看本应用自己的问题——整份计划能不能推,以 verify 顶层的 `ok` / `preflight` 为准。
|
|
2818
|
+
* `release-blocked`:写入链预检过了,但发布会被本应用路径下、不是这次推送带进来的问题挡住(见 `releaseIssues`);
|
|
2819
|
+
* `release-unchecked`:写入链预检过了,发布期的轻应用检查没做成(不是通过)。两者都不拦 push。
|
|
2735
2820
|
*/
|
|
2736
2821
|
interface MiniVerifyPreflight {
|
|
2737
|
-
status: 'passed' | 'failed' | 'unavailable' | 'nothing-to-check';
|
|
2822
|
+
status: 'passed' | 'failed' | 'unavailable' | 'nothing-to-check' | 'release-blocked' | 'release-unchecked';
|
|
2738
2823
|
/** 本应用送检的文件数(要写入的 + 要删除的)。 */
|
|
2739
2824
|
sent: number;
|
|
2740
2825
|
/** 路径落在本应用下的问题;整批问题(path=null)指不到应用,每个应用都算上。 */
|
|
@@ -2743,6 +2828,12 @@ interface MiniVerifyPreflight {
|
|
|
2743
2828
|
errCode?: string;
|
|
2744
2829
|
message: string;
|
|
2745
2830
|
}>;
|
|
2831
|
+
/** `release-blocked` 时:路径落在本应用下的发布期问题。 */
|
|
2832
|
+
releaseIssues?: Array<{
|
|
2833
|
+
path: string | null;
|
|
2834
|
+
errCode?: string;
|
|
2835
|
+
message: string;
|
|
2836
|
+
}>;
|
|
2746
2837
|
}
|
|
2747
2838
|
interface MiniVerifyReport {
|
|
2748
2839
|
ok: boolean;
|
|
@@ -2793,6 +2884,7 @@ interface MiniVerifySummary {
|
|
|
2793
2884
|
status: MiniVerifyPreflight['status'];
|
|
2794
2885
|
sent: number;
|
|
2795
2886
|
issues: number;
|
|
2887
|
+
releaseIssues?: number;
|
|
2796
2888
|
} | null;
|
|
2797
2889
|
}
|
|
2798
2890
|
interface MiniVerifyChangedFile {
|
|
@@ -2867,6 +2959,18 @@ interface WorkspacePreflightResult {
|
|
|
2867
2959
|
* (core #5981),不等于「没有提示」。
|
|
2868
2960
|
*/
|
|
2869
2961
|
warnings?: WorkspacePreflightWarning[];
|
|
2962
|
+
/**
|
|
2963
|
+
* 预检协议 2(core-4e,睿戎 O15)的三个键原样,外加「键在不在」:判新老要看键是否出现,
|
|
2964
|
+
* 不能只看 protocolVersion,也不能把缺失当成空数组 / 空对象。怎么判读见 CLI 的 classifyPreflightReceipt。
|
|
2965
|
+
*/
|
|
2966
|
+
protocol: WorkspacePreflightProtocolKeys;
|
|
2967
|
+
}
|
|
2968
|
+
interface WorkspacePreflightProtocolKeys {
|
|
2969
|
+
protocolVersion: unknown;
|
|
2970
|
+
hasCoverage: boolean;
|
|
2971
|
+
coverage: unknown;
|
|
2972
|
+
hasReleaseIssues: boolean;
|
|
2973
|
+
releaseIssues: unknown;
|
|
2870
2974
|
}
|
|
2871
2975
|
/**
|
|
2872
2976
|
* 让服务端按真实写入链校验一批候选文件,**不落盘**(对标 `kubectl apply --dry-run=server`)。
|
|
@@ -2877,6 +2981,8 @@ declare function validateWorkspaceFiles(http: AxiosInstance, workspaceKey: strin
|
|
|
2877
2981
|
content: string;
|
|
2878
2982
|
}[], deletedPaths?: string[]): Promise<WorkspacePreflightResult>;
|
|
2879
2983
|
declare function deleteWorkspaceFile(http: AxiosInstance, fileId: string): Promise<void>;
|
|
2984
|
+
/** 预检回执里的一条问题(`issues` 与协议 2 的 `releaseIssues` 同一个形状)。 */
|
|
2985
|
+
declare function toWorkspacePreflightIssue(raw: unknown): WorkspacePreflightIssue;
|
|
2880
2986
|
declare function isWorkspaceRelativePath(value: unknown): value is string;
|
|
2881
2987
|
|
|
2882
2988
|
/**
|
|
@@ -3061,6 +3167,89 @@ interface PackOptions {
|
|
|
3061
3167
|
}
|
|
3062
3168
|
declare function packDataPackage(packageDir: string, outPath?: string, opts?: PackOptions): Promise<PackResult>;
|
|
3063
3169
|
|
|
3170
|
+
type WarningSink = (warning: string) => void;
|
|
3171
|
+
|
|
3172
|
+
/** 仅删除 metas 顶层 fields[] 的 definitionId;作者源文件始终不写回。 */
|
|
3173
|
+
declare function stripDefinitionIds(text: string, file: string, onWarning?: WarningSink): {
|
|
3174
|
+
text: string;
|
|
3175
|
+
scanText: string;
|
|
3176
|
+
count: number;
|
|
3177
|
+
};
|
|
3178
|
+
|
|
3179
|
+
/** 一个列槽字段(`storage: column` + `columnSlot`,ADR-452)。 */
|
|
3180
|
+
interface ColumnSlotField {
|
|
3181
|
+
field: string;
|
|
3182
|
+
columnSlot?: string;
|
|
3183
|
+
type?: string;
|
|
3184
|
+
}
|
|
3185
|
+
/**
|
|
3186
|
+
* 扩展元数据里的列槽字段改成弹性存储:`storage: flex`,删掉 `columnSlot`。
|
|
3187
|
+
*
|
|
3188
|
+
* 依据 Core `model-meta.schema.json`:`storage` 枚举 flex|column,声明后优先于 isFlex;`columnSlot` 与 `storage=flex` 互斥。
|
|
3189
|
+
* 所以只删 columnSlot 不够(storage: column 缺槽会被校验拒),只删 storage 也不稳(回落 isFlex,产品字段默认 false),
|
|
3190
|
+
* 必须显式写 `storage: flex`。
|
|
3191
|
+
*
|
|
3192
|
+
* 只看顶层 `fields[]`。JSON 形态的文件(服务端存的扩展元数据多是 JSON 文本)按 JSON 改写、按 JSON 输出;
|
|
3193
|
+
* 其余按 YAML 文档改写(保留注释)。没有列槽字段时原文原样返回。
|
|
3194
|
+
* `rewrite=false` 时只列出、不改(`--column-slots=keep`)。
|
|
3195
|
+
*/
|
|
3196
|
+
declare function columnSlotsToFlex(text: string, rewrite?: boolean): {
|
|
3197
|
+
text: string;
|
|
3198
|
+
fields: ColumnSlotField[];
|
|
3199
|
+
};
|
|
3200
|
+
|
|
3201
|
+
/** 描述性文本里的源环境 UUID 被替换成的字样。 */
|
|
3202
|
+
declare const REDACTED_SOURCE_ID = "[\u6E90\u73AF\u5883ID\u5DF2\u79FB\u9664]";
|
|
3203
|
+
/** 只给人/模型读的说明性键:值里的 UUID 不参与运行,替换掉不改变行为。 */
|
|
3204
|
+
declare const DESCRIPTIVE_KEY_RE: RegExp;
|
|
3205
|
+
interface UuidRedaction {
|
|
3206
|
+
path: string;
|
|
3207
|
+
uuidPrefix: string;
|
|
3208
|
+
}
|
|
3209
|
+
/**
|
|
3210
|
+
* 扩展元数据(YAML/JSON)里,只把「描述性键之下的字符串值」中的 UUID 换成 {@link REDACTED_SOURCE_ID}。
|
|
3211
|
+
* 按原文区间替换,其余字节不动;其它位置的 UUID 一律不碰(由调用方的 UUID 扫描继续报出)。
|
|
3212
|
+
*/
|
|
3213
|
+
declare function redactDescriptiveUuids(text: string): {
|
|
3214
|
+
text: string;
|
|
3215
|
+
redactions: UuidRedaction[];
|
|
3216
|
+
};
|
|
3217
|
+
interface RemovedAction {
|
|
3218
|
+
path: string;
|
|
3219
|
+
actionKey: string;
|
|
3220
|
+
scriptKey: string;
|
|
3221
|
+
}
|
|
3222
|
+
/**
|
|
3223
|
+
* 删掉 `actions[]` 里调用已被剔除脚本(`script.scriptKey`)的动作,避免包里留下指向不存在脚本的按钮。
|
|
3224
|
+
* 没有命中时原文原样返回。
|
|
3225
|
+
*/
|
|
3226
|
+
declare function removeActionsUsingScripts(text: string, droppedScriptKeys: Set<string>): {
|
|
3227
|
+
text: string;
|
|
3228
|
+
removed: RemovedAction[];
|
|
3229
|
+
};
|
|
3230
|
+
interface UnknownFieldKey {
|
|
3231
|
+
field: string;
|
|
3232
|
+
key: string;
|
|
3233
|
+
}
|
|
3234
|
+
/** `metas/X.yml` / `metas/X.model.yml` → model;`metas/X.<list|info|edit|view|filter>[.<state>].yml` → 对应类型;其它不查。与 Core TenantAssetValidatorRouter 的文件判定一致。 */
|
|
3235
|
+
declare function fieldContractKind(path: string): string | undefined;
|
|
3236
|
+
/** 字段契约允许的键:取 CLI 同步的 meta schema 副本(Core MetaSchemaGeneratorCli 生成)里 fields[] 元素的 properties,不手写白名单。 */
|
|
3237
|
+
declare function fieldContractKeys(schemas: Record<string, unknown>, kind: string): Set<string>;
|
|
3238
|
+
/**
|
|
3239
|
+
* 剔除 `fields[]`(及 `sections[].fields[]`)元素上不在字段契约里的键——服务端发布时以 META_UNKNOWN_FIELD_KEY 拒绝,
|
|
3240
|
+
* 运行时本来就静默丢弃,剔除不改变行为。合并指令项(带 `__` 开头的键)不动。允许键集合为空时整条让位(不拿空集合误杀)。
|
|
3241
|
+
*/
|
|
3242
|
+
declare function stripUnknownFieldKeys(text: string, known: Set<string>): {
|
|
3243
|
+
text: string;
|
|
3244
|
+
removed: UnknownFieldKey[];
|
|
3245
|
+
};
|
|
3246
|
+
/** 按文件路径选字段契约(CLI 同步的 META_SCHEMAS)剔除未知字段键;不在定义域里的文件原样返回。 */
|
|
3247
|
+
declare function stripUnknownFieldKeysForPath(path: string, text: string): {
|
|
3248
|
+
text: string;
|
|
3249
|
+
removed: UnknownFieldKey[];
|
|
3250
|
+
kind?: string;
|
|
3251
|
+
};
|
|
3252
|
+
|
|
3064
3253
|
/**
|
|
3065
3254
|
* 安装包制品安装(ADR-323 能力 B,`hcm package install`)。
|
|
3066
3255
|
*
|
|
@@ -3149,17 +3338,20 @@ interface WaitResult {
|
|
|
3149
3338
|
run?: DataPackageInstallRunView;
|
|
3150
3339
|
/** 等到超时仍未进终态。**这不是失败**——装载还在服务端跑。 */
|
|
3151
3340
|
timedOut: boolean;
|
|
3341
|
+
/** 超时那一刻仍在连续查询出错时:连续出错次数(期间没有一次读成功)。 */
|
|
3342
|
+
pollErrors?: number;
|
|
3343
|
+
/** 同上:最后一次查询错误的状态码(无响应记 NETWORK)与简述。 */
|
|
3344
|
+
lastPollError?: {
|
|
3345
|
+
status: number | 'NETWORK';
|
|
3346
|
+
message: string;
|
|
3347
|
+
};
|
|
3152
3348
|
}
|
|
3153
|
-
/**
|
|
3154
|
-
* 轮询到终态或超时。
|
|
3155
|
-
*
|
|
3156
|
-
* 🔴 超时不是错误:整包动辄十几分钟,客户端等不住是常态,装载并不会因此停下。
|
|
3157
|
-
* 调用方保留 `timedOut`;CLI 退出 3 表示本机等不到结论,与安装失败退出 1 区分。
|
|
3158
|
-
*/
|
|
3159
3349
|
declare function waitForInstallRun(client: ArtifactInstallClient, runId: string, opts: {
|
|
3160
3350
|
timeoutMs: number;
|
|
3161
3351
|
pollMs?: number;
|
|
3162
3352
|
onProgress?: (run: DataPackageInstallRunView | undefined) => void;
|
|
3353
|
+
/** 轮询请求遇到可恢复错误(5xx / 网络)时回调;轮询继续,直到终态或超时。 */
|
|
3354
|
+
onPollError?: (error: unknown, consecutive: number) => void;
|
|
3163
3355
|
now?: () => number;
|
|
3164
3356
|
sleep?: (ms: number) => Promise<void>;
|
|
3165
3357
|
}): Promise<WaitResult>;
|
|
@@ -3167,6 +3359,140 @@ declare function installDataPackageArtifact(client: ArtifactInstallClient, artif
|
|
|
3167
3359
|
category?: string;
|
|
3168
3360
|
}): Promise<InstallArtifactResult>;
|
|
3169
3361
|
|
|
3362
|
+
/**
|
|
3363
|
+
* `hcm create` / `hcm update --verify` 的写后核验判读(O9 设计稿 §5.1、§5.2)。
|
|
3364
|
+
*
|
|
3365
|
+
* 服务端(Core 带 `?verify=true` 的写入)写完后按 `GET /{id}` 同一条读链回读、逐字段比对,结论放在响应的
|
|
3366
|
+
* `writeVerification`。这里只做一件事:把这个块(或它的缺席)判成退出码,并把字段、原因、下一步打成人读得懂的行。
|
|
3367
|
+
*
|
|
3368
|
+
* 🔴 退出码只有三档:0 核验通过;6 写入成功但核验没过(不要重跑);7 已写入、核验做不了或只做了一部分。
|
|
3369
|
+
* 写入本身失败不走这里,沿用今天的码(3 业务、4 网络等)。
|
|
3370
|
+
* 🔴 「没收到核验块」不等于「核验通过」:旧版 Core 不认 `verify` 参数,回包里就没有这个块。
|
|
3371
|
+
* 这时有服务端的未知键回执(`fieldsUnknown` 非空)就按它判 6,否则判 7——绝不判 0。
|
|
3372
|
+
*/
|
|
3373
|
+
|
|
3374
|
+
interface WriteVerificationLeaf {
|
|
3375
|
+
path?: string;
|
|
3376
|
+
status?: string;
|
|
3377
|
+
reason?: string;
|
|
3378
|
+
}
|
|
3379
|
+
interface WriteVerificationField {
|
|
3380
|
+
field?: string;
|
|
3381
|
+
status?: string;
|
|
3382
|
+
reason?: string;
|
|
3383
|
+
sent?: unknown;
|
|
3384
|
+
stored?: unknown;
|
|
3385
|
+
sentTruncated?: boolean;
|
|
3386
|
+
storedTruncated?: boolean;
|
|
3387
|
+
droppedKeys?: string[];
|
|
3388
|
+
leaves?: WriteVerificationLeaf[];
|
|
3389
|
+
}
|
|
3390
|
+
/** 服务端 `writeVerification` 块的形状(只列 CLI 读的键;其余键原样留在 `--output json` 里)。 */
|
|
3391
|
+
interface WriteVerification {
|
|
3392
|
+
/** 服务端原值。不收窄成联合类型:新版服务端送来的未知状态必须走 fail-closed 那一档。 */
|
|
3393
|
+
status?: unknown;
|
|
3394
|
+
reason?: string;
|
|
3395
|
+
detail?: {
|
|
3396
|
+
message?: string;
|
|
3397
|
+
[key: string]: unknown;
|
|
3398
|
+
};
|
|
3399
|
+
readAt?: string;
|
|
3400
|
+
asOf?: string;
|
|
3401
|
+
asOfSource?: string;
|
|
3402
|
+
counts?: {
|
|
3403
|
+
considered?: number;
|
|
3404
|
+
verified?: number;
|
|
3405
|
+
mismatched?: number;
|
|
3406
|
+
unverifiable?: number;
|
|
3407
|
+
excluded?: number;
|
|
3408
|
+
};
|
|
3409
|
+
verifiedFields?: string[];
|
|
3410
|
+
fields?: WriteVerificationField[];
|
|
3411
|
+
fieldsTruncated?: boolean;
|
|
3412
|
+
excluded?: Array<{
|
|
3413
|
+
field?: string;
|
|
3414
|
+
reason?: string;
|
|
3415
|
+
}>;
|
|
3416
|
+
}
|
|
3417
|
+
/**
|
|
3418
|
+
* `--output json` 里 CLI 自己加的那一格:服务端整体状态原值,或下面两个「没收到核验块」的档。
|
|
3419
|
+
* - `LEGACY_UNKNOWN_FIELDS`:没收到核验块,结论来自服务端的未知键回执(退 6);
|
|
3420
|
+
* - `LEGACY_NO_VERIFICATION`:没收到核验块,也没有未知键(退 7);
|
|
3421
|
+
* - `MALFORMED_VERIFICATION`:核验块形状认不出(没有可读的 status、判读出错),退 7。这一档是 CLI 自己判的,不是服务端原值。
|
|
3422
|
+
*/
|
|
3423
|
+
type VerifyExitReason = string;
|
|
3424
|
+
interface WriteVerifyAssessment {
|
|
3425
|
+
exitCode: ExitCode;
|
|
3426
|
+
verifyExitReason: VerifyExitReason;
|
|
3427
|
+
/** 给人读的结论,一行一条,调用方写到 stderr(stdout 留给机器可读的回包)。 */
|
|
3428
|
+
lines: string[];
|
|
3429
|
+
}
|
|
3430
|
+
interface WriteVerifyContext {
|
|
3431
|
+
model: string;
|
|
3432
|
+
/** 刚写入那一行的 id(create 取回包里的 id,update 取 --id)。取不到时提示里不拼地址。 */
|
|
3433
|
+
id?: string;
|
|
3434
|
+
/** 哪条命令写的,「不要直接重跑 <命令>」用它;缺省 create。 */
|
|
3435
|
+
command?: 'create' | 'update';
|
|
3436
|
+
}
|
|
3437
|
+
/**
|
|
3438
|
+
* 只在 `--verify` 下用:剔掉 data 顶层上一次 `--verify` 输出带过来的 `writeVerification` / `verifyExitReason`。
|
|
3439
|
+
* 不剔的话,旧 Core 会把请求里的 `writeVerification` 当普通键回显,CLI 读到的就是调用方自己送去的结论。
|
|
3440
|
+
* 返回剔掉了哪些键,调用方要把它打出来(不悄悄改调用方的数据)。
|
|
3441
|
+
*/
|
|
3442
|
+
declare function stripVerifyEchoKeys<T>(data: T): {
|
|
3443
|
+
data: T;
|
|
3444
|
+
stripped: string[];
|
|
3445
|
+
};
|
|
3446
|
+
/**
|
|
3447
|
+
* 判读一次带 `verify=true` 的写入回包。`response` 是服务端回包原样(DTO 本身,`writeVerification` 在顶层)。
|
|
3448
|
+
* 🔴 不抛异常:写入已经成功,判读出错若冒成退出码 1,调用方拿不到新 id、会重跑出重复行。出错一律按 7 自陈。
|
|
3449
|
+
*/
|
|
3450
|
+
declare function assessWriteVerification(response: unknown, ctx: WriteVerifyContext): WriteVerifyAssessment;
|
|
3451
|
+
|
|
3452
|
+
/**
|
|
3453
|
+
* `hcm action --verify` 的核验声明(O9 设计稿 §5.4;服务端是 core-4a-2 在 `/actions` 每行加的 `verification`)。
|
|
3454
|
+
*
|
|
3455
|
+
* 首期不回读:执行前读 `GET /api/models/{M}/actions` 里这个 action 的 `verification`,照常执行,然后一律退 7,
|
|
3456
|
+
* 打印「已执行、未核验」和为什么、去哪查。它的价值是不让调用方把「执行成功」读成「已落库」。
|
|
3457
|
+
* 🔴 读声明失败不阻断执行:照常执行,只是说清这次连声明都没读到。
|
|
3458
|
+
*/
|
|
3459
|
+
|
|
3460
|
+
type ActionVerificationDeclaration =
|
|
3461
|
+
/** `/actions` 这一行带 `verification: {status, note?}`(status 是服务端原值)。 */
|
|
3462
|
+
{
|
|
3463
|
+
kind: 'declared';
|
|
3464
|
+
status: string;
|
|
3465
|
+
note?: string;
|
|
3466
|
+
}
|
|
3467
|
+
/** 这一行在,但没有 `verification` 这一格(Core 版本早于 action 核验声明)。 */
|
|
3468
|
+
| {
|
|
3469
|
+
kind: 'missing-cell';
|
|
3470
|
+
}
|
|
3471
|
+
/** 有 `verification` 这一格,但里面没有可读的 status(形状认不出,不当成任何一种声明)。 */
|
|
3472
|
+
| {
|
|
3473
|
+
kind: 'malformed-cell';
|
|
3474
|
+
}
|
|
3475
|
+
/** `/actions` 读到了,但里面没有这个 action 的行。 */
|
|
3476
|
+
| {
|
|
3477
|
+
kind: 'no-row';
|
|
3478
|
+
}
|
|
3479
|
+
/** `/actions` 本身读不到(403、网络、回包不是 actions 数组)。 */
|
|
3480
|
+
| {
|
|
3481
|
+
kind: 'unreadable';
|
|
3482
|
+
detail: string;
|
|
3483
|
+
};
|
|
3484
|
+
declare function fetchActionVerification(http: AxiosInstance, model: string, action: string): Promise<ActionVerificationDeclaration>;
|
|
3485
|
+
interface ActionVerifyAssessment {
|
|
3486
|
+
exitCode: ExitCode;
|
|
3487
|
+
/** 给人读的结论,调用方写到 stderr。 */
|
|
3488
|
+
lines: string[];
|
|
3489
|
+
}
|
|
3490
|
+
/** 执行成功之后调用。执行失败沿用今天的退出码,不走这里。 */
|
|
3491
|
+
declare function assessActionVerification(decl: ActionVerificationDeclaration, ctx: {
|
|
3492
|
+
model: string;
|
|
3493
|
+
action: string;
|
|
3494
|
+
}): ActionVerifyAssessment;
|
|
3495
|
+
|
|
3170
3496
|
/**
|
|
3171
3497
|
* 模型缓存运维(两级缓存:Caffeine 本地 + Redis 远程)。
|
|
3172
3498
|
*
|
|
@@ -3487,7 +3813,7 @@ declare function getColumnSlots(http: AxiosInstance, model: string, opts?: Colum
|
|
|
3487
3813
|
/** `GET /api/tenant-extension/column-slots/sql?model=&field=[&slot=][&fromSlot=]` —— 返回服务端 `data` 原样。 */
|
|
3488
3814
|
declare function getColumnSlotSql(http: AxiosInstance, params: ColumnSlotSqlParams, opts?: ColumnSlotRequestOpts): Promise<ColumnSlotSqlView>;
|
|
3489
3815
|
|
|
3490
|
-
declare const META_SCHEMA_SOURCE_COMMIT = "
|
|
3816
|
+
declare const META_SCHEMA_SOURCE_COMMIT = "71adaaa601037dcc8ac84d2bfb537b873be37a7c";
|
|
3491
3817
|
|
|
3492
3818
|
type MetaIssueSeverity = 'error' | 'warn';
|
|
3493
3819
|
interface MetaIssue {
|
|
@@ -6930,8 +7256,18 @@ declare const CASES_REPO_URL: string;
|
|
|
6930
7256
|
declare const METHOD_REPO_SLUG: string;
|
|
6931
7257
|
declare const METHOD_REPO_URL: string;
|
|
6932
7258
|
declare const METHOD_REPO_DISPLAY: string;
|
|
6933
|
-
/** 一条 issue
|
|
7259
|
+
/** 一条 CNB issue 的网页地址。缺口分诊的双向回链、案例里的产品仓引用都用它(CLI、案例库还在 CNB)。 */
|
|
6934
7260
|
declare const repoIssueUrl: (repo: string, number: string | number) => string;
|
|
7261
|
+
declare const GITLAB_ORIGIN: string;
|
|
7262
|
+
declare const GITLAB_HOST: string;
|
|
7263
|
+
/**
|
|
7264
|
+
* 从 Jira 里认 GitLab 条目时接受的主机。🔴 产品侧写进 Jira 的永远是 `git.hcmcloud.io`:
|
|
7265
|
+
* 覆盖了 `HCM_GITLAB_ORIGIN`(内网镜像)也必须照认,否则这些写法会掉回 CNB 同号、又成误读。
|
|
7266
|
+
* 覆盖值只额外多认一个,并决定链接拼到哪。
|
|
7267
|
+
*/
|
|
7268
|
+
declare const GITLAB_REF_HOSTS: readonly string[];
|
|
7269
|
+
/** 一条 GitLab issue 的网页地址。 */
|
|
7270
|
+
declare const gitlabIssueUrl: (repo: string, number: string | number) => string;
|
|
6935
7271
|
/** 挂 Jira 远程链接时那个小图标。 */
|
|
6936
7272
|
declare const CNB_FAVICON_URL: string;
|
|
6937
7273
|
|
|
@@ -7230,7 +7566,13 @@ declare class JiraNonBmpContentError extends Error {
|
|
|
7230
7566
|
interface RepoRef {
|
|
7231
7567
|
repo: string;
|
|
7232
7568
|
number: string;
|
|
7569
|
+
/** 条目住在哪:gitlab = 自建 GitLab 的编号;cnb = CNB 的编号(Core / Cloud 上就是迁移前的老编号)。 */
|
|
7570
|
+
forge: 'gitlab' | 'cnb';
|
|
7233
7571
|
}
|
|
7572
|
+
/** 条目的规范写法,也是去重的键:GitLab 带主机,CNB 不带(与迁移前写进 Jira 的老写法逐字相同)。 */
|
|
7573
|
+
declare const refId: (r: RepoRef) => string;
|
|
7574
|
+
/** 条目的网页地址:按它住在哪拼。 */
|
|
7575
|
+
declare const refUrl: (r: RepoRef) => string;
|
|
7234
7576
|
declare function linkedRepoRefs(text: string | null | undefined): RepoRef[];
|
|
7235
7577
|
type ParsedRef = {
|
|
7236
7578
|
kind: 'repo';
|
|
@@ -7244,4 +7586,4 @@ type ParsedRef = {
|
|
|
7244
7586
|
declare function parseRef(raw: string, project: string, casesSlug?: string): ParsedRef | null;
|
|
7245
7587
|
declare const firstLine: (s: string) => string;
|
|
7246
7588
|
|
|
7247
|
-
export { ADVISORY_CODES, AGREEING_VERDICTS, APPLY_CAVEAT, APPLY_PROBLEM_CODES, PROBLEM_CODES as ARTIFACT_PROBLEM_CODES, AUTH_INFO_PATH, AUTH_SESSION_INFO_PATH, type ActionEffectClass, type ActionHttpMethod, type ActionInput, type ActionMeta, type ActionResult, type ActionScope, type AdminResetPasswordRequest, type AdminResetPasswordResult, type AnyStreamEvent, ApplyInvariantError, ApplyPremiseError, type ApplyReport, type ApprovalConfirmPayload, type ApprovalRejectPayload, type ArtifactInstallClient, type AttachmentMeta, type AuthScheme, BINDING_RESTORED, BINDING_STATES, BINDING_STILL_UNBOUND, BINDING_UNKNOWN, BINDING_UNTOUCHED, BINDING_WORDS, BLIND_SPOTS, BLOCKING_CODES, BUCKETS, type BaselineCandidate, type BindingState, type BootstrapReconcileResult, type BootstrapTenantRequest, type BootstrapTenantResult, type BrowserAuthorization, type BrowserAuthorizationWatch, type BrowserStatusProbe, CARRIER_BLIND, CARRIER_HIT, CARRIER_KEYS, CARRIER_LABELS, CARRIER_MISS, CARRIER_UNAVAILABLE, CARRIER_VERDICTS, CASES_REPO_SLUG, CASES_REPO_URL, CAUSE_INCOMPLETE_CURRENT, CHANGE_NOT_WRITTEN, CHANGE_STATES, CHANGE_UNKNOWN, CHANGE_WRITTEN, CHECK_GROUPS, CLI_AUTHORIZE_PATH, CLI_EXCHANGE_PATH, CLI_STATUS_PATH, CLI_VERIFICATION_PATH, CNB_FAVICON_URL, CNB_ORIGIN, CODE_BINDING_ELSEWHERE, CODE_BINDING_OFF, CODE_BINDING_UNREADABLE, CODE_COMMANDS, CODE_FIELDS_MISSING, CODE_FIELDS_UNREADABLE, CODE_NOT_ON_ACTIVE, CODE_NO_FIELDS_NAMED, CODE_PROBE_UNAUTHENTICATED, CODE_PROBE_UNREADABLE, CODE_RESTORE_NOT_EFFECTIVE, CODE_RESTORE_READBACK_UNREADABLE, CODE_RESTORE_REFUSED, CODE_STEP, CODE_UNBIND_NOT_EFFECTIVE, CODE_UNBIND_READBACK_UNREADABLE, CODE_UNBIND_REFUSED, CODE_WORDS, COLUMN_SLOT_REBIND_SQL_KEYS, COLUMN_SLOT_SQL_KEYS, CONTROL_BUFFER_LIMIT, CREDENTIAL_STORE_MODES, type CacheClearResult, type CacheStats, type CarrierKey, type CarrierResult, type CarrierVerdict, type CarryOver, type Catalog, type ChangePasswordInput, type ChangeState, type ChironCategory, type ChironManifest, type ChironSkill, type ChironSkillFile, type ChironStage, type ClearMetaCacheOpts, type CliAuthorizationRejection, type CliAuthorizationSession, CliError, CliErrorCode, type CliErrorInit, type ClientAuthContext, type ClientCredentialsInput, type ColumnSlotAvailability, type ColumnSlotRef, type ColumnSlotRequestOpts, type ColumnSlotSqlKey, type ColumnSlotSqlParams, type ColumnSlotSqlView, type ColumnSlotsView, type ConnectionMessage, type ControlChannelEnvelope, type ConversationListItem, type ConversationListResult, type ConversationState, type CreateResult, type CreatedConversation, type CredentialStoreMode, DATA_PACKAGE_FIXTURE_SCHEMA_V1, DATA_PACKAGE_MODELS, DEBT_PREFIX, DEBT_UNKNOWN, DEFAULT_AGENT_ID, DEFAULT_ARTIFACT_CATEGORY, DEFAULT_SESSION_TTL_SECONDS, PREMISE_CODES as DELIVERY_PREMISE_CODES, DEV_MODE_PATH, DIMENSION_LABELS, DRY_RUN_NOTE, DRY_RUN_TAIL, type DataPackageInstallRunView, type DataPackageInstallView, type Premise$1 as DeliveryPremise, type DeliveryRun, type DescribeOpts, type DeviceAuthorization, DriftDetected, EFFECT_ACCOUNTING_ONLY, EFFECT_READ_ONLY, EFFECT_UNKNOWN, EFFECT_WRITES, ENUM_SHOW, ENV_FILE, EXEMPTIBLE_CODES, EXEMPTION_CODES, EXEMPTION_REQUIRED_KEYS, EXTENSION_SOURCE_HEADER, type EndpointNormalization, type EnvConfig, type EnvSource, type EnvironmentSafety, ExitCode, FIND_LIMIT, MAX_BYTES as FIND_MAX_BYTES, FORCE_STALE_FLAG, FORCE_STALE_FLAG_TEXT, type FieldEnumValue, type FieldMeta, type Finding, type Fingerprint, type Fixture, type FormatOptions, GATE_COMPONENTS, type GlobalConfig, HANDSHAKE_AUTH_ERROR_HEADER, HANDSHAKE_CONVERSATION_QUERY_PARAM, HANDSHAKE_TOKEN_QUERY_PARAM, HCM_FIELD_RAW_KEYS, HCM_LANG_ENV, HcmClient, type HcmClientOpts, type HttpClientOptions, IMPERSONATION_ACTIVE_PATH, IMPERSONATION_START_PATH, IMPORT_PLAN_FILE, INIT_EXIT_CODES, INSTALL_CONFIRMATION_HINTS, type IdentityMeta, type ImportClient, type ImportOptions, type ImportPlan, type ImportResult, type InitExitName, type InstallAcceptedResult, type InstallArtifactResult, type InstallConfirmations, type InteractionAnswerPayload, type InteractionDecision, type InteractionOutcome, type InteractionRequest, type InteractionResolved, JIRA_BASE, JIRA_KEYCHAIN, JIRA_PROJECT, JIRA_TOKEN_FILE, JOURNAL_FILE, JOURNAL_STOP_KINDS, JOURNAL_STOP_UNKNOWN, type JiraAllowedValue, JiraClient, type JiraClientOptions, type JiraComment, type JiraFieldMeta, type JiraFields, type JiraHistory, JiraHttpError, type JiraIssue, type JiraIssueTypeMeta, type JiraNamed, JiraNonBmpContentError, type JiraProject, type JiraRemoteLink, type JiraStatusFlow, type JiraTokenLookup, type JiraTokenSource, type JiraTransition, type JiraTransitionField, type JiraUser, Journal, JournalError, KIT_CARRY_OVER_KEY, KIT_CRAWLED_AT_FILE, KIT_MATCHED_ON, type KeyResolution, LAYER_ACTIVE, LEASE_FILE, LEDGER_MISSING_WORD, LEDGER_ONLY_FLAG, type LastAssistantTarget, LayoutContainmentError, Lease, LeaseViolation, type LifecycleResult, type ListTenantMetaOpts, type LoginOutcome, MANIFEST_PATH, MAPPING_FILE, MAX_MANIFEST_PAGES, MAX_SOURCE_PROBES, META_CACHE_PATH, META_JOURNAL_FILE, META_PATH, META_SCHEMA_SOURCE_COMMIT, STEPS as META_VERIFY_STEPS, STEP_DIFF as META_VERIFY_STEP_DIFF, STEPS$1 as META_WRITE_STEPS, METHOD_REPO_DISPLAY, METHOD_REPO_SLUG, METHOD_REPO_URL, MINI_APP_CODE_PATTERN, MINI_RUNTIME_SDK_VERSION as MINI_APP_RUNTIME_SDK_VERSION, MINI_CONTEXT_FILE, MINI_CONTEXT_KIND, MINI_CONTEXT_VERSION, MINI_PULL_MANIFEST_FILE, MINI_REMOTE_ROOT, MINI_RUNTIME_SDK_VERSION, MINI_STATE_DIR, MODELS_PATH, MODEL_META_PATH, MappingError, type MessageClass, type MessageCreatePayload, type MessageStreamHandle, type MetaClient, type MetaIssue, type MetaIssueSeverity, type StepResult as MetaStepResult, type MetaValidationResult, type MigrationSummary, type MiniFileSnapshot, type MiniInitArgs, type MiniLocalFile, type MiniLocalStatus, type MiniPreviewTarget, type MiniProjectContext, type MiniPullArgs, type MiniPullManifest, type MiniPullResult, type MiniPushArgs, type MiniPushConflict, type MiniPushOperation, type MiniPushPlanItem, type MiniPushResult, type MiniSmokeCheckArgs, type MiniSmokeFetch, type MiniSmokeFetchResponse, type MiniSmokeResult, type MiniSmokeTargetKind, type MiniSmokeTargetResult, type MiniStatusEntry, type MiniSurface, type MiniTemplateArgs, type MiniTemplateKind, type MiniValidationResult, type MiniVerifyAgentReport, type MiniVerifyBrowserAcceptance, type MiniVerifyChangedFile, type MiniVerifyNextAction, type MiniVerifyPlan, type MiniVerifyPreflight, type MiniVerifyPreviewUrl, type MiniVerifyReport, type MiniVerifySummary, type MiniWritableTemplateConfig, type ModelDescription, type ModelEntry, type ModelQueryDsl, NETWORK_GATES, NEXT_STEP, NON_BMP_RULE_NOTE, NOT_COVERED_LAYER1, NOT_COVERED_LAYER2, NOT_COVERED_SELF, type NonBmpHit, OFFLINE_COMMANDS, ON_EXISTING, type OccupiedColumnSlot, type OneShotOpts, type OneShotResult, type OneShotToolCall, type Outcome, type OutputFormat, PASSWORD_CHANGE_REQUIRED, PLAN_JSON_KEYS, PLAN_PROBLEM_CODES, PREMISES, PREMISE_CLIENT, PREMISE_IDENTITY, PREMISE_JOURNAL_HAS_ENTRIES, PREMISE_JOURNAL_ON_DISK, PREMISE_KEY_FIELDS, PREMISE_PLAN_READABLE, PREMISE_ROWS_TO_CHECK, PREMISE_UNMET, PREMISE_WORDS, PROACTIVE_REFRESH_MARGIN_SECONDS, PRODUCT_STATE_WORDS, type PackOptions, type PackResult, type PairingLoginInput, type ParsedPlaceholder, type ParsedRef, type PasswordChangeChallenge, type PasswordLoginInput, type PatLoginInput, type PendingInteraction, type PlanProblem, PlanReadError, type PlannedRow, type Principal, type ProfileConfig, type ProjectEnv, type ProjectEnvFile, type QueryResult, type QueryWarning, RC_DECIDING_FIELDS, RC_DECIDING_REPORT_FIELDS, REASON_BASELINE_ROUND_NOT_COMPLETE, VERDICTS$1 as RECONCILE_VERDICTS, RECOVERY_WORDS, REJECTED_BEFORE_ROUTING_CODE, REQUIRED_SECTIONS, RESPOND_TIMEOUT_MS, RESTORE_CODES, RISK_CODES, RISK_FILE, ROUND_ANCHORS, ROUND_EXIT_CODES, ROUND_STAMPED_PRODUCTS, ROUND_STATES, ROUND_SUBCOMMAND, ROUND_WARNINGS, ROUND_WARNING_FALLBACK, type ReconIdentity, ReconLayout, type ReconProbe, type ReconSummary, type Reconciliation, RefStore, type RefreshInput, type RelationMeta, type RemoveResult, type RepoRef, type ResolvedEnvContext, type ResolvedProjectEnvironment, type ResponseCompletedPayload, type ResponseFailedPayload, type ResponsePartDeltaPayload, type ResponseStartedPayload, RestoreFailed, type ResumeSummary, type ResumeTurn, type Risk, type RiskProblem, type RoundPremise, type RoundResult, type RoundState, type RowResult, type RowStatus, type RunMetaChangeArgs, SDK_VERSION, SERVER_ERROR_GRACE_MS, STATUSES, STEP_NOTHING, STEP_PROBE, STEP_REBIND, STEP_RECORD, STEP_STOP, STEP_UNBIND, SUPERSEDED_STATUS, SYNTH_FOOTNOTE, SYNTH_MARK, type SaveMetaResult, type ScriptDryRunRequest, type ScriptDryRunResult, type ScriptLogPage, type ScriptLogQuery, type ScriptManifestValidationResult, type ScriptTaskView, type SeedPathArgs, type SendMessageOpts, type ServerErrorFrame, type SessionPrincipal, type SettingItem, type SettingWrite, type StreamCancelPayload, type StreamCommand, type StreamCommandEnvelope, type StreamCommandType, type StreamEventEnvelope, type StreamEventType, TEMP_ENV_NAME, TENANT_META_FILE_PATH, CONFIG as TRIAGE_CONFIG, GAP as TRIAGE_GAP, VERDICTS as TRIAGE_VERDICTS, TargetModelNotFound, type TaskProgressPayload, type TenantMetaEntry, type TenantReconcileReceipt, type TenantResetReceipt, type TimelineItemLite, type TokenRecord, TokenStore, type ToolCallFailedPayload, type ToolCallResultPayload, type ToolCallStartedPayload, type TriageEntry, type TriageProblem, type TriageProblemRow, type TriageRoundResult, type TriageVerdict, USER_LOOKUP_PATH, type UndeterminedReason, type V4RenderSink, type V4StreamEventType, VALUE_CELL_MISSING, VALUE_FOOTNOTE, VALUE_STATE_DISABLED, VALUE_STATE_FOOTNOTE, VALUE_STATE_UNKNOWN, VERDICTS$2 as VERDICTS, VERDICT_DIVERGED, VERDICT_INCOMPARABLE, VERDICT_SAME, VERDICT_WORDS, CODES as VERIFY_ACTIVE_CODES, VERIFY_CODES, VERIFY_CRASHED, VERIFY_OK, VERIFY_WORDS, VERSION_PATH, ValueHints, type ValuesResult, type VerifyResult, WAIVER_REPLAY, WARNED_ROUND_STATES, WORKSPACES_PATH, WORKSPACE_DELIVERY_PROTOCOL, WORKSPACE_KEY_HEADER, WORK_DIRNAME, WRITE_RECOVERY_WORDS, type WaitResult, WorkLayout, type WorkspaceFileContent, type WorkspaceFileItem, type WorkspaceFileListResult, type WorkspaceInspection, type WorkspacePreflightIssue, type WorkspacePreflightResult, type WorkspacePreflightWarning, WsClient, type WsClientOpts, absoluteDownloadUrl, acquireLease, adminResetPassword, applyPlan, applyRc, applyReportText, applyReportToJson, archiveDir, askedTheDatabase, assertDangerWrite, assertExpectedTenant, assertNotReservedEnvName, assertSafeReferencePath, assertSafeSkillFilePath, assertSafeSkillId, assertUsableEndpoint, baselineRoundPremise, bootstrapTenant, buildAnswer, buildCarrierResult, buildConfirm, buildDeliveryRun, buildHandshakeUrl, buildInterrupt, buildMiniAppTemplateFiles, buildMiniPreviewTargets, buildMiniVerifyAgentReport, buildReconciliation, buildReject, buildResumeSummary, buildSteer, camelizeKeys, changePassword, checkCoherence, classifyEffect, classifyMessage, classifyStatus, clearMetaCache, clearModelCache, cliAuthorizationExpired, collectMiniPushWrites, commandsFor, compareFingerprint, computeFingerprint, computeReconSourceKey, contentHash, conversationStateFile, conversationWebSocketEndpoint, create, createConversation, createHttpClient, createJiraClient, createV4Reducer, createWorkspaceFile, credentialsFile, defaultDownloadDir, defaultMiniRequiredScopes, deleteDocument, deleteEnv, deleteIdentity, deleteTenantMeta, deleteWorkspaceFile, deleteWorkspaceFileChecked, deliveryRunFields, deriveNamelessToolLabel, describeNonBmpHits, describePrincipal, describeWaiver, detectDelegationPause, detectDirectInteractionPending, detectPasswordChangeChallenge, diagnoseRejectedBeforeRouting, discardedColumnLines, discoverProjectEnv, displayWidth, downloadDocument, enforceDriftGate, ensureSessionFresh, envDir, envFile, envsDir, exchangeBrowserAuthorization, existingJournalStop, exitCodeFor, explainJacksonError, extractNextSteps, fetchConversationTimeline, fetchConversationTimelineStrict, fetchInstallRun, fetchRecentConversations, fetchReconIdentity, fetchSkillCatalog, fetchSkillFile, fetchSkillMarkdown, fetchSkillReference, fieldByName, filterByStage, find, findEnvByEndpoint, findLastAssistantSeq, findLastAssistantTarget, findMiniAppCodeCaseCollisions, findNonBmpChars, findPullMiniAppCodeCaseCollisions, firstLine, flattenSkills, formatMetaIssues, formatMiniVerifyReport, formatObject, formatRows, fromAxiosError, getCacheStats, getColumnSlotSql, getColumnSlots, getMiniStatus, getScriptTask, getSettingDomain, getTenantMeta, globalConfigFile, guessMimeType, handshakeRejectedError, hasPendingImpersonationSessions, hcmConfigDir, hitRank, httpProbe, identitiesDir, identityDir, identityKnown, identityMetaFile, inferMiniWritableTemplateOptionsFromModel, initMiniAppProject, inspectRound, inspectWorkspaceFiles, installDataPackageArtifact, installDataPackageArtifactAsync, isDelegationToolName, isLocalName, isReadOnly, isServerSlidingSession, isSha256, isSupersededItem, isTempEnv, isTerminalRunStatus, isWorkspaceRelativePath, isZeroNetwork, jiraTokenHelp, jiraTokenSource, jiraTokenUnreadable, journalNote, judgeDrift, layerDetail, ledgerOnlySignpost, linkedRepoRefs, listEnvs, listIdentities, listModels, listPendingInteractions, listProfiles, listTenantMeta, listWorkspaceFiles, loadCatalog, loadConversationState, loadEnv, loadExemptions, loadGlobalConfig, loadIdentity, loadMapping, loadProfile, loadRecordedFingerprint, loadRows, loadWorkspaceFileContent, loginClientCredentials, loginPairing, loginPassword, loginPat, matchNote, matchSkills, matchedDimensions, metaFileUrl, metaKindFromPath, migrateLegacyProfiles, modelEntries, modelKeys, needsRefresh, newRoundId, nonBmpHitLines, nonnegativeInteger, normalizeAndAssertEndpoint, normalizeEndpoint, normalizeOrigin, normalizeReferences, notAsked, oneShot, packDataPackage, parseConfirmToolName, parseEnvYaml, parseFixture, parseInteractionRequest, parseInteractionResolved, parsePlaceholder, parseRef, parseSettingAssignment, parseSkillFrontmatter, parseSkillRequirements, patchSettingDomain, planFromArtifacts, planProblemLines, planRc, planSummaryLine, planVsBaselinePremise, pollDeviceAuthorization, printResolvedEnvironment, probeAll, probeConversationHandshake, probeDoctorEndpoint, probeDoctorLayer, probeExtensionSource, profileDir, profileFile, pullMiniAppProject, pushMiniAppProject, queryScriptLogs, readImportPlan, readMiniContext, readPullManifest, readSessionPrincipal, readWorkspaceInspection, rebind, rebindPayload, reconcileTenant, refreshToken, releasePendingImpersonationSessions, remove, renameIdentity, renderEnvYaml, renderFind, renderRound, renderTriage, renderValues, replHistoryFile, repoIssueUrl, requestCliAuthorization, resetSettingItem, resetTenant, resolveActiveEnv, resolveActiveIdentity, resolveActiveProfile, resolveAllSkillsInstallOrder, resolveBaselineDir, resolveChironBase, resolveCredentialStoreMode, resolveEnvContext, resolveItemKeys, resolveProjectEnvironment, resolveRefs, resolveSkillInstallOrder, respondToInteraction, riskFromArtifacts, roundAge, roundWarning, runActiveVerify, runImport, runMetaChange, runMiniSmokeChecks, runRecon, runTriageRound, safeCliAuthorizationError, safeSegment, saveConversationState, saveEnv, saveGlobalConfig, saveIdentity, saveProfile, saveTenantMeta, saveWorkspaceFileContent, saveWorkspaceFileContentChecked, scriptDryRun, seedBaselines, seedMappingPath, seedWorkDir, sendMessageAndStream, shelfPartition, snakeToCamel, startImpersonation, tenantSegment, toAcceptLanguage, toJson, toOrigin, toPrincipal, toTable, toYaml, truncateDisplay, unbindPayload, update, uploadDocument, validateCliAuthorizationUrl, validateMetaContent, validateMiniProject, validateScriptManifest, validateWorkspaceFiles, valueState, valuesRoundCaveat, verifyAttention, verifyRc, verifyText, waitForInstallRun, watchBrowserAuthorization, workspaceActionPayload, workspaceDeliveryError, workspaceLayer, workspaceObjectActionBase, writeChangeState, writeImportPlan, writeRisk };
|
|
7589
|
+
export { ADVISORY_CODES, AGREEING_VERDICTS, APPLY_CAVEAT, APPLY_PROBLEM_CODES, PROBLEM_CODES as ARTIFACT_PROBLEM_CODES, AUTH_INFO_PATH, AUTH_SESSION_INFO_PATH, type ActionEffectClass, type ActionHttpMethod, type ActionInput, type ActionMeta, type ActionResult, type ActionScope, type ActionVerificationDeclaration, type ActionVerifyAssessment, type AdminResetPasswordRequest, type AdminResetPasswordResult, type AnyStreamEvent, ApplyInvariantError, ApplyPremiseError, type ApplyReport, type ApprovalConfirmPayload, type ApprovalRejectPayload, type ArtifactInstallClient, type AttachmentMeta, type AuthScheme, BINDING_RESTORED, BINDING_STATES, BINDING_STILL_UNBOUND, BINDING_UNKNOWN, BINDING_UNTOUCHED, BINDING_WORDS, BLIND_SPOTS, BLOCKING_CODES, BUCKETS, type BaselineCandidate, type BindingState, type BootstrapReconcileResult, type BootstrapTenantRequest, type BootstrapTenantResult, type BrowserAuthorization, type BrowserAuthorizationWatch, type BrowserStatusProbe, CARRIER_BLIND, CARRIER_HIT, CARRIER_KEYS, CARRIER_LABELS, CARRIER_MISS, CARRIER_UNAVAILABLE, CARRIER_VERDICTS, CASES_REPO_SLUG, CASES_REPO_URL, CAUSE_INCOMPLETE_CURRENT, CHANGE_NOT_WRITTEN, CHANGE_STATES, CHANGE_UNKNOWN, CHANGE_WRITTEN, CHECK_GROUPS, CLI_AUTHORIZE_PATH, CLI_EXCHANGE_PATH, CLI_STATUS_PATH, CLI_VERIFICATION_PATH, CNB_FAVICON_URL, CNB_ORIGIN, CODE_BINDING_ELSEWHERE, CODE_BINDING_OFF, CODE_BINDING_UNREADABLE, CODE_COMMANDS, CODE_FIELDS_MISSING, CODE_FIELDS_UNREADABLE, CODE_NOT_ON_ACTIVE, CODE_NO_FIELDS_NAMED, CODE_PROBE_UNAUTHENTICATED, CODE_PROBE_UNREADABLE, CODE_RESTORE_NOT_EFFECTIVE, CODE_RESTORE_READBACK_UNREADABLE, CODE_RESTORE_REFUSED, CODE_STEP, CODE_UNBIND_NOT_EFFECTIVE, CODE_UNBIND_READBACK_UNREADABLE, CODE_UNBIND_REFUSED, CODE_WORDS, COLUMN_SLOT_REBIND_SQL_KEYS, COLUMN_SLOT_SQL_KEYS, CONTROL_BUFFER_LIMIT, CREDENTIAL_STORE_MODES, type CacheClearResult, type CacheStats, type CarrierKey, type CarrierResult, type CarrierVerdict, type CarryOver, type Catalog, type ChangePasswordInput, type ChangeState, type ChironCategory, type ChironManifest, type ChironSkill, type ChironSkillFile, type ChironStage, type ClearMetaCacheOpts, type CliAuthorizationRejection, type CliAuthorizationSession, CliError, CliErrorCode, type CliErrorInit, type ClientAuthContext, type ClientCredentialsInput, type ColumnSlotAvailability, type ColumnSlotField, type ColumnSlotRef, type ColumnSlotRequestOpts, type ColumnSlotSqlKey, type ColumnSlotSqlParams, type ColumnSlotSqlView, type ColumnSlotsView, type ConnectionMessage, type ControlChannelEnvelope, type ConversationListItem, type ConversationListResult, type ConversationState, type CreateResult, type CreatedConversation, type CredentialStoreMode, DATA_PACKAGE_FIXTURE_SCHEMA_V1, DATA_PACKAGE_MODELS, DEBT_PREFIX, DEBT_UNKNOWN, DEFAULT_AGENT_ID, DEFAULT_ARTIFACT_CATEGORY, DEFAULT_SESSION_TTL_SECONDS, PREMISE_CODES as DELIVERY_PREMISE_CODES, DESCRIPTIVE_KEY_RE, DEV_MODE_PATH, DIMENSION_LABELS, DRY_RUN_NOTE, DRY_RUN_TAIL, type DataPackageInstallRunView, type DataPackageInstallView, type Premise$1 as DeliveryPremise, type DeliveryRun, type DescribeOpts, type DeviceAuthorization, DriftDetected, EFFECT_ACCOUNTING_ONLY, EFFECT_READ_ONLY, EFFECT_UNKNOWN, EFFECT_WRITES, ENUM_SHOW, ENV_FILE, EXEMPTIBLE_CODES, EXEMPTION_CODES, EXEMPTION_REQUIRED_KEYS, EXTENSION_SOURCE_HEADER, type EndpointNormalization, type EnvConfig, type EnvSource, type EnvironmentSafety, ExitCode, FIND_LIMIT, MAX_BYTES as FIND_MAX_BYTES, FORCE_STALE_FLAG, FORCE_STALE_FLAG_TEXT, type FieldEnumValue, type FieldMeta, type Finding, type Fingerprint, type Fixture, type FormatOptions, GATE_COMPONENTS, GITLAB_HOST, GITLAB_ORIGIN, GITLAB_REF_HOSTS, type GlobalConfig, HANDSHAKE_AUTH_ERROR_HEADER, HANDSHAKE_CONVERSATION_QUERY_PARAM, HANDSHAKE_TOKEN_QUERY_PARAM, HCM_FIELD_RAW_KEYS, HCM_LANG_ENV, HcmClient, type HcmClientOpts, type HttpClientOptions, IMPERSONATION_ACTIVE_PATH, IMPERSONATION_START_PATH, IMPORT_PLAN_FILE, INIT_EXIT_CODES, INSTALL_CONFIRMATION_HINTS, type IdentityMeta, type ImportClient, type ImportOptions, type ImportPlan, type ImportResult, type ImportVerificationSummary, type InitExitName, type InstallAcceptedResult, type InstallArtifactResult, type InstallConfirmations, type InteractionAnswerPayload, type InteractionDecision, type InteractionOutcome, type InteractionRequest, type InteractionResolved, JIRA_BASE, JIRA_KEYCHAIN, JIRA_PROJECT, JIRA_TOKEN_FILE, JOURNAL_FILE, JOURNAL_STOP_KINDS, JOURNAL_STOP_UNKNOWN, type JiraAllowedValue, JiraClient, type JiraClientOptions, type JiraComment, type JiraFieldMeta, type JiraFields, type JiraHistory, JiraHttpError, type JiraIssue, type JiraIssueTypeMeta, type JiraNamed, JiraNonBmpContentError, type JiraProject, type JiraRemoteLink, type JiraStatusFlow, type JiraTokenLookup, type JiraTokenSource, type JiraTransition, type JiraTransitionField, type JiraUser, Journal, JournalError, KIT_CARRY_OVER_KEY, KIT_CRAWLED_AT_FILE, KIT_MATCHED_ON, type KeyResolution, LAYER_ACTIVE, LEASE_FILE, LEDGER_MISSING_WORD, LEDGER_ONLY_FLAG, type LastAssistantTarget, LayoutContainmentError, Lease, LeaseViolation, type LifecycleResult, type ListTenantMetaOpts, type LoginOutcome, MANIFEST_PATH, MAPPING_FILE, MAX_MANIFEST_PAGES, MAX_SOURCE_PROBES, META_CACHE_PATH, META_JOURNAL_FILE, META_PATH, META_SCHEMA_SOURCE_COMMIT, STEPS as META_VERIFY_STEPS, STEP_DIFF as META_VERIFY_STEP_DIFF, STEPS$1 as META_WRITE_STEPS, METHOD_REPO_DISPLAY, METHOD_REPO_SLUG, METHOD_REPO_URL, MINI_APP_CODE_PATTERN, MINI_RUNTIME_SDK_VERSION as MINI_APP_RUNTIME_SDK_VERSION, MINI_CONTEXT_FILE, MINI_CONTEXT_KIND, MINI_CONTEXT_VERSION, MINI_PULL_MANIFEST_FILE, MINI_REMOTE_ROOT, MINI_RUNTIME_SDK_VERSION, MINI_STATE_DIR, MODELS_PATH, MODEL_META_PATH, MappingError, type MessageClass, type MessageCreatePayload, type MessageStreamHandle, type MetaClient, type MetaIssue, type MetaIssueSeverity, type StepResult as MetaStepResult, type MetaValidationResult, type MigrationSummary, type MiniFileSnapshot, type MiniInitArgs, type MiniLocalFile, type MiniLocalStatus, type MiniPreviewTarget, type MiniProjectContext, type MiniPullArgs, type MiniPullManifest, type MiniPullResult, type MiniPushArgs, type MiniPushConflict, type MiniPushOperation, type MiniPushPlanItem, type MiniPushResult, type MiniSmokeCheckArgs, type MiniSmokeFetch, type MiniSmokeFetchResponse, type MiniSmokeResult, type MiniSmokeTargetKind, type MiniSmokeTargetResult, type MiniStatusEntry, type MiniSurface, type MiniTemplateArgs, type MiniTemplateKind, type MiniValidationResult, type MiniVerifyAgentReport, type MiniVerifyBrowserAcceptance, type MiniVerifyChangedFile, type MiniVerifyNextAction, type MiniVerifyPlan, type MiniVerifyPreflight, type MiniVerifyPreviewUrl, type MiniVerifyReport, type MiniVerifySummary, type MiniWritableTemplateConfig, type ModelDescription, type ModelEntry, type ModelQueryDsl, NETWORK_GATES, NEXT_STEP, NON_BMP_RULE_NOTE, NOT_COVERED_LAYER1, NOT_COVERED_LAYER2, NOT_COVERED_SELF, type NonBmpHit, OFFLINE_COMMANDS, ON_EXISTING, type OccupiedColumnSlot, type OneShotOpts, type OneShotResult, type OneShotToolCall, type Outcome, type OutputFormat, PASSWORD_CHANGE_REQUIRED, PLAN_JSON_KEYS, PLAN_PROBLEM_CODES, PREMISES, PREMISE_CLIENT, PREMISE_IDENTITY, PREMISE_JOURNAL_HAS_ENTRIES, PREMISE_JOURNAL_ON_DISK, PREMISE_KEY_FIELDS, PREMISE_PLAN_READABLE, PREMISE_ROWS_TO_CHECK, PREMISE_UNMET, PREMISE_WORDS, PROACTIVE_REFRESH_MARGIN_SECONDS, PRODUCT_STATE_WORDS, type PackOptions, type PackResult, type PairingLoginInput, type ParsedPlaceholder, type ParsedRef, type PasswordChangeChallenge, type PasswordLoginInput, type PatLoginInput, type PendingInteraction, type PlanProblem, PlanReadError, type PlannedRow, type Principal, type ProfileConfig, type ProjectEnv, type ProjectEnvFile, type QueryResult, type QueryWarning, RC_DECIDING_FIELDS, RC_DECIDING_REPORT_FIELDS, REASON_BASELINE_ROUND_NOT_COMPLETE, VERDICTS$1 as RECONCILE_VERDICTS, RECOVERY_WORDS, REDACTED_SOURCE_ID, REJECTED_BEFORE_ROUTING_CODE, REQUIRED_SECTIONS, RESPOND_TIMEOUT_MS, RESTORE_CODES, RISK_CODES, RISK_FILE, ROUND_ANCHORS, ROUND_EXIT_CODES, ROUND_STAMPED_PRODUCTS, ROUND_STATES, ROUND_SUBCOMMAND, ROUND_WARNINGS, ROUND_WARNING_FALLBACK, type ReconIdentity, ReconLayout, type ReconProbe, type ReconSummary, type Reconciliation, RefStore, type RefreshInput, type RelationMeta, type RemoveResult, type RemovedAction, type RepoRef, type ResolvedEnvContext, type ResolvedProjectEnvironment, type ResponseCompletedPayload, type ResponseFailedPayload, type ResponsePartDeltaPayload, type ResponseStartedPayload, RestoreFailed, type ResumeSummary, type ResumeTurn, type Risk, type RiskProblem, type RoundPremise, type RoundResult, type RoundState, type RowResult, type RowStatus, type RowVerification, type RowVerificationField, type RunMetaChangeArgs, SDK_VERSION, SERVER_ERROR_GRACE_MS, STATUSES, STEP_NOTHING, STEP_PROBE, STEP_REBIND, STEP_RECORD, STEP_STOP, STEP_UNBIND, SUPERSEDED_STATUS, SYNTH_FOOTNOTE, SYNTH_MARK, type SaveMetaResult, type ScriptDryRunRequest, type ScriptDryRunResult, type ScriptLogPage, type ScriptLogQuery, type ScriptManifestValidationResult, type ScriptTaskView, type SeedPathArgs, type SendMessageOpts, type ServerErrorFrame, type SessionPrincipal, type SettingItem, type SettingWrite, type StreamCancelPayload, type StreamCommand, type StreamCommandEnvelope, type StreamCommandType, type StreamEventEnvelope, type StreamEventType, TEMP_ENV_NAME, TENANT_META_FILE_PATH, CONFIG as TRIAGE_CONFIG, GAP as TRIAGE_GAP, VERDICTS as TRIAGE_VERDICTS, TargetModelNotFound, type TaskProgressPayload, type TenantMetaEntry, type TenantReconcileReceipt, type TenantResetReceipt, type TimelineItemLite, type TokenRecord, TokenStore, type ToolCallFailedPayload, type ToolCallResultPayload, type ToolCallStartedPayload, type TriageEntry, type TriageProblem, type TriageProblemRow, type TriageRoundResult, type TriageVerdict, USER_LOOKUP_PATH, type UndeterminedReason, type UnknownFieldKey, type UuidRedaction, type V4RenderSink, type V4StreamEventType, VALUE_CELL_MISSING, VALUE_FOOTNOTE, VALUE_STATE_DISABLED, VALUE_STATE_FOOTNOTE, VALUE_STATE_UNKNOWN, VERDICTS$2 as VERDICTS, VERDICT_DIVERGED, VERDICT_INCOMPARABLE, VERDICT_SAME, VERDICT_WORDS, CODES as VERIFY_ACTIVE_CODES, VERIFY_CODES, VERIFY_CRASHED, VERIFY_OK, VERIFY_WORDS, VERSION_PATH, ValueHints, type ValuesResult, type VerifyExitReason, type VerifyResult, WAIVER_REPLAY, WARNED_ROUND_STATES, WORKSPACES_PATH, WORKSPACE_DELIVERY_PROTOCOL, WORKSPACE_KEY_HEADER, WORK_DIRNAME, WRITE_RECOVERY_WORDS, type WaitResult, WorkLayout, type WorkspaceFileContent, type WorkspaceFileItem, type WorkspaceFileListResult, type WorkspaceInspection, type WorkspacePreflightIssue, type WorkspacePreflightProtocolKeys, type WorkspacePreflightResult, type WorkspacePreflightWarning, type WriteVerification, type WriteVerificationField, type WriteVerificationLeaf, type WriteVerifyAssessment, type WriteVerifyContext, WsClient, type WsClientOpts, absoluteDownloadUrl, acquireLease, adminResetPassword, applyPlan, applyRc, applyReportText, applyReportToJson, archiveDir, askedTheDatabase, assertDangerWrite, assertExpectedTenant, assertNotReservedEnvName, assertSafeReferencePath, assertSafeSkillFilePath, assertSafeSkillId, assertUsableEndpoint, assessActionVerification, assessWriteVerification, baselineRoundPremise, bootstrapTenant, buildAnswer, buildCarrierResult, buildConfirm, buildDeliveryRun, buildHandshakeUrl, buildInterrupt, buildMiniAppTemplateFiles, buildMiniPreviewTargets, buildMiniVerifyAgentReport, buildReconciliation, buildReject, buildResumeSummary, buildSteer, camelizeKeys, changePassword, checkCoherence, classifyEffect, classifyMessage, classifyStatus, clearMetaCache, clearModelCache, cliAuthorizationExpired, collectMiniPushWrites, columnSlotsToFlex, commandsFor, compareFingerprint, computeFingerprint, computeReconSourceKey, contentHash, conversationStateFile, conversationWebSocketEndpoint, create, createConversation, createHttpClient, createJiraClient, createV4Reducer, createWorkspaceFile, credentialsFile, defaultDownloadDir, defaultMiniRequiredScopes, deleteDocument, deleteEnv, deleteIdentity, deleteTenantMeta, deleteWorkspaceFile, deleteWorkspaceFileChecked, deliveryRunFields, deriveNamelessToolLabel, describeNonBmpHits, describePrincipal, describeWaiver, detectDelegationPause, detectDirectInteractionPending, detectPasswordChangeChallenge, diagnoseRejectedBeforeRouting, discardedColumnLines, discoverProjectEnv, displayWidth, downloadDocument, enforceDriftGate, ensureSessionFresh, envDir, envFile, envsDir, exchangeBrowserAuthorization, existingJournalStop, exitCodeFor, explainJacksonError, extractNextSteps, fetchActionVerification, fetchConversationTimeline, fetchConversationTimelineStrict, fetchInstallRun, fetchRecentConversations, fetchReconIdentity, fetchSkillCatalog, fetchSkillFile, fetchSkillMarkdown, fetchSkillReference, fieldByName, fieldContractKeys, fieldContractKind, filterByStage, find, findEnvByEndpoint, findLastAssistantSeq, findLastAssistantTarget, findMiniAppCodeCaseCollisions, findNonBmpChars, findPullMiniAppCodeCaseCollisions, firstLine, flattenSkills, formatMetaIssues, formatMiniVerifyReport, formatObject, formatRows, fromAxiosError, getCacheStats, getColumnSlotSql, getColumnSlots, getMiniStatus, getScriptTask, getSettingDomain, getTenantMeta, gitlabIssueUrl, globalConfigFile, guessMimeType, handshakeRejectedError, hasPendingImpersonationSessions, hcmConfigDir, hitRank, httpProbe, identitiesDir, identityDir, identityKnown, identityMetaFile, importExitCode, inferMiniWritableTemplateOptionsFromModel, initMiniAppProject, inspectRound, inspectWorkspaceFiles, installDataPackageArtifact, installDataPackageArtifactAsync, isDelegationToolName, isLocalName, isReadOnly, isServerSlidingSession, isSha256, isSupersededItem, isTempEnv, isTerminalRunStatus, isWorkspaceRelativePath, isZeroNetwork, jiraTokenHelp, jiraTokenSource, jiraTokenUnreadable, journalNote, judgeDrift, layerDetail, ledgerOnlySignpost, linkedRepoRefs, listEnvs, listIdentities, listModels, listPendingInteractions, listProfiles, listTenantMeta, listWorkspaceFiles, loadCatalog, loadConversationState, loadEnv, loadExemptions, loadGlobalConfig, loadIdentity, loadMapping, loadProfile, loadRecordedFingerprint, loadRows, loadWorkspaceFileContent, loginClientCredentials, loginPairing, loginPassword, loginPat, matchNote, matchSkills, matchedDimensions, metaFileUrl, metaKindFromPath, migrateLegacyProfiles, modelEntries, modelKeys, needsRefresh, newRoundId, nonBmpHitLines, nonnegativeInteger, normalizeAndAssertEndpoint, normalizeEndpoint, normalizeOrigin, normalizeReferences, notAsked, oneShot, packDataPackage, parseConfirmToolName, parseEnvYaml, parseFixture, parseInteractionRequest, parseInteractionResolved, parsePlaceholder, parseRef, parseSettingAssignment, parseSkillFrontmatter, parseSkillRequirements, patchSettingDomain, planFromArtifacts, planProblemLines, planRc, planSummaryLine, planVsBaselinePremise, pollDeviceAuthorization, printResolvedEnvironment, probeAll, probeConversationHandshake, probeDoctorEndpoint, probeDoctorLayer, probeExtensionSource, profileDir, profileFile, pullMiniAppProject, pushMiniAppProject, queryScriptLogs, readImportPlan, readMiniContext, readPullManifest, readSessionPrincipal, readWorkspaceInspection, rebind, rebindPayload, reconcileTenant, redactDescriptiveUuids, refId, refUrl, refreshToken, releasePendingImpersonationSessions, remove, removeActionsUsingScripts, renameIdentity, renderEnvYaml, renderFind, renderRound, renderTriage, renderValues, replHistoryFile, repoIssueUrl, requestCliAuthorization, resetSettingItem, resetTenant, resolveActiveEnv, resolveActiveIdentity, resolveActiveProfile, resolveAllSkillsInstallOrder, resolveBaselineDir, resolveChironBase, resolveCredentialStoreMode, resolveEnvContext, resolveItemKeys, resolveProjectEnvironment, resolveRefs, resolveSkillInstallOrder, respondToInteraction, riskFromArtifacts, roundAge, roundWarning, runActiveVerify, runImport, runMetaChange, runMiniSmokeChecks, runRecon, runTriageRound, safeCliAuthorizationError, safeSegment, saveConversationState, saveEnv, saveGlobalConfig, saveIdentity, saveProfile, saveTenantMeta, saveWorkspaceFileContent, saveWorkspaceFileContentChecked, scriptDryRun, seedBaselines, seedMappingPath, seedWorkDir, sendMessageAndStream, shelfPartition, snakeToCamel, startImpersonation, stripDefinitionIds, stripUnknownFieldKeys, stripUnknownFieldKeysForPath, stripVerifyEchoKeys, tenantSegment, toAcceptLanguage, toJson, toOrigin, toPrincipal, toTable, toWorkspacePreflightIssue, toYaml, truncateDisplay, unbindPayload, update, uploadDocument, validateCliAuthorizationUrl, validateMetaContent, validateMiniProject, validateScriptManifest, validateWorkspaceFiles, valueState, valuesRoundCaveat, verifyAttention, verifyRc, verifyText, waitForInstallRun, watchBrowserAuthorization, workspaceActionPayload, workspaceDeliveryError, workspaceLayer, workspaceObjectActionBase, writeChangeState, writeImportPlan, writeRisk };
|