@tbox.cn/app-toolkit 0.5.0 → 0.7.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/README.md CHANGED
@@ -45,6 +45,6 @@ views/ 视图装配:modules / app / service-detail / service-resolutio
45
45
  | ③ 发布形态门禁 | `pnpm --filter @tbox.cn/app-toolkit pack --check`(prepack 内建 build,tgz 内即 minified dist) | 打包完整性 |
46
46
  | ④ 跨仓 file: tgz 联调 | agtcodingbox 联调(`file:` tgz 消费——真实宿主) | 消费面全链路 |
47
47
 
48
- ## 能力门控(读写严格 ≥0.9 单门禁)
48
+ ## 能力门控(v7:读求值轴降级 + 写/迁移面 503)
49
49
 
50
- 求值端点与写方法要求应用 contracts 具备严格校验面(`strictValidation`,≥0.9)——`AppToolkitError('CONTRACTS_NOT_RESOLVED', 503, message 三分支)`;静态方法与 contracts 可用性解耦。门控断言单点 = 工厂边缘(policy at edge),机制层保持纯函数。
50
+ **读求值轴**(loadServiceResolutions / loadServiceResolution / include=serviceResolutions):contracts 不可用(未安装 / 无严格面 / 求值面缺席 / OWNERSHIP_BINDING_V6 标记缺席,三条件与 `contractsEvaluable`)→ **200 降级骨架**(`evaluation-unavailable` + N1 指引入 statusMessage + 静态可算字段 module/required/inheritance/instances 声明枚举;机制见 Agent Note evaluation-axis-degrade)。**写方法与迁移面**(write×4 / ensureMockBindings / writeIntegrationsConfig / evaluateIntegrationServices):contracts 不可用 → `AppToolkitError('CONTRACTS_NOT_RESOLVED', 503, contractsNotResolvedMessage 四分支)`。静态方法与 contracts 可用性解耦。门控断言单点 = 工厂边缘(写侧 policy at edge),机制层保持纯函数。
package/dist/index.d.ts CHANGED
@@ -163,6 +163,7 @@ declare const moduleDescriptorSchema: z.ZodObject<{
163
163
  id: z.ZodString;
164
164
  name: z.ZodOptional<z.ZodString>;
165
165
  description: z.ZodOptional<z.ZodString>;
166
+ hidden: z.ZodOptional<z.ZodBoolean>;
166
167
  version: z.ZodDefault<z.ZodString>;
167
168
  kind: z.ZodDefault<z.ZodEnum<["platform", "business", "third-party"]>>;
168
169
  risk: z.ZodDefault<z.ZodObject<{
@@ -510,11 +511,13 @@ declare const moduleDescriptorSchema: z.ZodObject<{
510
511
  env: string[];
511
512
  name?: string | undefined;
512
513
  description?: string | undefined;
514
+ hidden?: boolean | undefined;
513
515
  }, {
514
516
  id: string;
515
517
  schemaVersion?: number | undefined;
516
518
  name?: string | undefined;
517
519
  description?: string | undefined;
520
+ hidden?: boolean | undefined;
518
521
  version?: string | undefined;
519
522
  kind?: "platform" | "business" | "third-party" | undefined;
520
523
  risk?: {
@@ -1276,6 +1279,26 @@ interface WalkCatalog {
1276
1279
  credentialSchema?: string;
1277
1280
  }>;
1278
1281
  }
1282
+ /** 词汇源条目(via 标记供 doctor 幻影槽判定——config 快照 vs 真源;walkManifests 消费忽略此字段) */
1283
+ interface DiscoveredSlotSource {
1284
+ dir: string;
1285
+ slots: string[];
1286
+ meta: Record<string, SlotMeta>;
1287
+ /** ⓪ config-override(应用级快照/override)|①② package(node_modules 真源)|③ local(候选自身副本) */
1288
+ via: 'config-override' | 'package' | 'local';
1289
+ }
1290
+ /** 契约包发现链(探测四跳——词汇源真实布局全覆盖,B0;跳⓪ v7 新增):
1291
+ * ⓪ <appDir>/config/service-slots.json(应用级 override 层——meta 首声明胜出 = 用户改名
1292
+ * per-service 覆盖;slots 并集 = 无依赖词汇引导快照。CLI seed-once 生成:仅 slots +
1293
+ * $comment 指纹,meta 恒空——真源 meta 恒可穿透,用户手写才生效);
1294
+ * ① <候选>/node_modules/@tbox.cn/<pkg>/service-slots.json(包根)
1295
+ * ② 同包 src/service-slots.json(发布包 src 附带 / 模板 shim 链接)
1296
+ * ③ 候选自身 {service-slots.json, src/service-slots.json}(local/codegen 全量副本——
1297
+ * mall 生成应用主形态,stage rewriteExportsToSrc 展开后永驻 packages/*,不依赖 install)
1298
+ * 词汇覆盖 = Set 并集(跳⓪ 不遮蔽真源新增);meta = 发现序首声明胜出(跳⓪ 最前 = 覆盖权)。
1299
+ * 同包双在场(异常态)root 优先。slots 与 meta 单次解析同产(目录枚举零缓存,F8;
1300
+ * FX-3:文件**内容**经 file-cache)。 */
1301
+ declare function discoverContractPackages(appDir: string, cache?: FileCache): DiscoveredSlotSource[];
1279
1302
  /** walkManifests 主体(单次遍历四产物;目录枚举零缓存——每次调用执行) */
1280
1303
  declare function walkManifests(appDir: string, cache?: FileCache): WalkManifestsResult;
1281
1304
  interface DeclaredModuleInfo {
@@ -1727,11 +1750,14 @@ declare class AppToolkitError extends Error {
1727
1750
  /** CONTRACTS_NOT_RESOLVED message(N1 构建指引——api.md 错误信封示例)。
1728
1751
  * P-4:notes 优先——resolver 在全部不可解析路径均已 push 携带操作指引的 notes(导入失败/
1729
1752
  * 产物缺失/未安装/<0.9 升级);现行 version===null 分支会把 notes 内细分指引吞成通用文案。
1730
- * 三分支保留为兜底(防御性——正常路径 notes 恒非空)。 */
1753
+ * 分支保留为兜底(防御性——正常路径 notes 恒非空)。
1754
+ * v7:+= ownershipBindingV6 分支(标记门第四分支单源化——写门控 assertContractsUsable 与
1755
+ * 读求值轴降级 statusMessage 共用同一文案;可选参向后兼容)。 */
1731
1756
  declare function contractsNotResolvedMessage(contracts: {
1732
1757
  version: string | null;
1733
1758
  strictValidation: boolean;
1734
1759
  notes: readonly string[];
1760
+ ownershipBindingV6?: boolean;
1735
1761
  }): string;
1736
1762
 
1737
1763
  /**
@@ -1745,8 +1771,11 @@ declare function contractsNotResolvedMessage(contracts: {
1745
1771
  * title 键全量退役(与 manifest name→id/title→name 同一变更);`.title` 消费方
1746
1772
  * (外部仓 import type / 运行时读)需同窗迁移。
1747
1773
  */
1748
- /** contracts 求值五态原样(EffectiveServiceResolution.status */
1749
- type ServiceStatus = 'ok' | 'service-not-configured' | 'instance-not-found' | 'instance-disabled' | 'binding-unresolved';
1774
+ /** contracts 求值五态原样(EffectiveServiceResolution.status)+ 视图轴降级态
1775
+ * (evaluation-unavailable——toolkit 视图独有,非 contracts 求值产物:contracts 不可用
1776
+ * (未安装/无严格面/v6 标记缺席)时读求值轴不再 503,改投静态骨架 + 本态标记;
1777
+ * 消费方按非 ok 态渲染,statusMessage 携带 N1 分支指引) */
1778
+ type ServiceStatus = 'ok' | 'service-not-configured' | 'instance-not-found' | 'instance-disabled' | 'binding-unresolved' | 'evaluation-unavailable';
1750
1779
  /** 四配置层(instance 为 map 字段层) */
1751
1780
  type BindingLayer = 'app' | 'module' | 'service' | 'instance';
1752
1781
  /** 纯模块清单(无 services——卡片展开走 /modules/:m);provider 家族包不在清单
@@ -1761,6 +1790,9 @@ interface ModuleDeclaration {
1761
1790
  /** 展示名(v7 词汇统一:manifest name ?? id——恒有值) */
1762
1791
  name: string;
1763
1792
  description: string;
1793
+ /** 隐藏模块(additive——manifest hidden === true 时携带;默认清单已过滤,本字段仅供
1794
+ * ?includeHidden=true 可见时徽标呈现) */
1795
+ hidden?: boolean;
1764
1796
  }
1765
1797
  /** 服务需求声明(模块 demand 单元 / 平台服务条目——v4.4 D29 双端点同型;defaults 唯一落位 ServiceDetail) */
1766
1798
  interface ServiceDemand {
@@ -1777,11 +1809,17 @@ interface ModuleDetailView {
1777
1809
  name: string;
1778
1810
  /** B1 additive:模块 meta 描述(manifest description;兜底 '') */
1779
1811
  description: string;
1812
+ /** 隐藏模块(additive——manifest hidden === true 时携带;详情恒 200 不受清单过滤影响,
1813
+ * 本字段仅供面板徽标呈现) */
1814
+ hidden?: boolean;
1780
1815
  /** v6 所有权模型:模块归属服务(declare.owns 展平,排序;零归属 = [])——
1781
1816
  * v5 domainKeys 退役(破坏性更名;面板 presence-detection 双读义务见 api.md §3) */
1782
1817
  ownedServices: string[];
1783
- /** modules[install id] 集成位原值(provider/config;resources 不投影);未配置 = null */
1818
+ /** modules[install id] 集成位原值(provider/config;resources 不投影——见 resources 字段);未配置 = null */
1784
1819
  integration: ModuleIntegrationNode | null;
1820
+ /** 模块资源只读镜像(N2 读半边——写侧 resources 恒保全;含 ref 台账展开态 resolvedDatasetId);
1821
+ * 无模块键/无资源节 = null */
1822
+ resources?: ModuleResourcesEcho | null;
1785
1823
  /** v6 单数化(v5 providerBindings[] 退役):模块级厂商绑定解析(resolveModuleBinding 单源;
1786
1824
  * 单值作用于全部 ownedServices) */
1787
1825
  binding: ModuleBinding | null;
@@ -1869,13 +1907,16 @@ interface ServiceDetail extends ServiceDemand {
1869
1907
  * 绑定无可计算 schema / 含 schema;malformed 节点 → null——不放行域级联) */
1870
1908
  integrationSchemas?: ServiceIntegrationSchemas | null;
1871
1909
  /** G 批:include=integrationFieldRegistry 服务轴注册表(loadServiceFieldRegistry——
1872
- * 四分支链推导复用 D38;fields = 该 schema 全部字段带 global 旗标;null 语义镜像 D38) */
1910
+ * 四分支链推导复用 D38;fields = 该 schema 全部字段带 global 旗标;null 语义镜像 D38
1911
+ * v5.1 D39:serviceProvider 轴参 = 假想重定向——仅表单投影按 X 计算,带非空轴参时
1912
+ * registry 恒非 null(豁免链③不镜像实际态 null);同构 ≡ PUT 改写 provider 后实读) */
1873
1913
  integrationFieldRegistry?: IntegrationFieldRegistryView | null;
1874
1914
  }
1875
1915
  /** 服务级生效绑定 schema(v4.7 D38 静态轴富化——零 contracts,永不 503;实例层无条件排除:
1876
1916
  * node 级口径 ≠ resolution 默认实例口径,api.md §4.4 注) */
1877
1917
  interface ServiceIntegrationSchemas {
1878
- /** 生效厂商:显式(含内联声明名)?? modules[ownerOf].provider ?? root.provider */
1918
+ /** 生效厂商:显式(含内联声明名)?? modules[ownerOf].provider ?? root.provider
1919
+ * v5.1 D39:serviceProvider 轴参在场时 = 假想短路值(非链解析产物) */
1879
1920
  provider: string;
1880
1921
  /** catalog 复合键(多 impl 声明序首个)> 内联 ref;miss(未知厂商/未供给/内联缺 ref)→ null(富化非门控) */
1881
1922
  configSchema: object | null;
@@ -1952,6 +1993,24 @@ interface ModuleIntegrationNode {
1952
1993
  /** ModuleIntegrationNode 可写键集单源(v6——write applyModule 全量替换白名单
1953
1994
  * (键集外 400;resources 恒随既有节点保全)+ views/modules 投影(GET ≡ PUT,三同构)) */
1954
1995
  declare const MODULE_INTEGRATION_NODE_KEYS: readonly ["provider", "config"];
1996
+ /** 模块资源回显(只读投影——N2 读半边:写侧仍仅 provider/config,resources 恒保全)。
1997
+ * 原值文件镜像(L1)+ ref 台账展开态:`ref` 在场且同目录 knowledge.json 命中时
1998
+ * `resolvedDatasetId` = 台账 datasetId(镜像 SDK resolveKnowledge 展开语义),未命中/台账缺失 = null。
1999
+ * 路径锚定边界:视图恒读 `<appDir>/config/`(与 toolkit readIntegrationsConfig 同源——
2000
+ * `TBOX_INTEGRATIONS_FILE` 为 SDK 运行时逃生舱,视图不跟随,既有分叉)。 */
2001
+ interface ModuleResourceEcho {
2002
+ type: 'knowledge';
2003
+ /** 文件原值直填 datasetId(与 ref 互斥使用——并存时 SDK 侧 datasetId 优先) */
2004
+ datasetId?: string;
2005
+ /** 文件原值 ref(台账引用——knowledge.json knowledge_bases 键) */
2006
+ ref?: string;
2007
+ /** 展开态:datasetId 直填时 = 该值;ref 命中台账 = 台账 datasetId;ref 未命中/台账缺失 = null */
2008
+ resolvedDatasetId: string | null;
2009
+ topK?: number;
2010
+ scoreThreshold?: number;
2011
+ }
2012
+ /** modules[install id].resources 只读镜像(键 = 资源 id;无模块键/无资源 = null) */
2013
+ type ModuleResourcesEcho = Record<string, ModuleResourceEcho>;
1955
2014
  /** services[s] 整节点 */
1956
2015
  interface ServiceIntegrationNode {
1957
2016
  /** 对象 = 自定义 API(仅槽级,P2) */
@@ -2121,10 +2180,15 @@ interface ViewSnapshot {
2121
2180
  catalog: WalkCatalog;
2122
2181
  integrations: Record<string, unknown> | null;
2123
2182
  contracts: ResolvedContracts;
2183
+ /** 文件读原语透传(可选——resources 台账惰性读等 stat 指纹缓存消费;缺席 = 调用方直读) */
2184
+ cache?: FileCache;
2124
2185
  }
2125
2186
 
2126
- /** GET /modules:纯模块清单(demand 不在——卡片展开 = GET /modules/:m;provider 家族包不在清单) */
2127
- declare function loadModulesView(snapshot: ViewSnapshot): {
2187
+ /** GET /modules:纯模块清单(demand 不在——卡片展开 = GET /modules/:m;provider 家族包不在清单;
2188
+ * hidden 模块默认过滤——includeHidden = true 可见并携带 hidden: true 徽标) */
2189
+ declare function loadModulesView(snapshot: ViewSnapshot, opts?: {
2190
+ includeHidden?: boolean;
2191
+ }): {
2128
2192
  modules: ModuleDeclaration[];
2129
2193
  };
2130
2194
  /** GET /modules/:module:模块静态一站式(modules[install id] 集成位原值 + demand;PUT 读对偶) */
@@ -2211,13 +2275,21 @@ declare function loadModuleIntegrationSchemas(snapshot: ViewSnapshot, moduleId:
2211
2275
  * ③ 受控内联(isControlledInlineProvider 单源)→ 名 = p.provider;catalog 复合键 > p.configSchema ref
2212
2276
  * (H9 逃逸 400 照抛——readInlineSchema 共享路径)
2213
2277
  * ④ 其余(null/数组/原始值/坏对象)→ 整字段 null(≡ 谓词 #5 INLINE_PROVIDER_INVALID 同判——
2214
- * 不放行域级联,防错误 schema 污染坏节点) */
2215
- declare function loadServiceIntegrationSchemas(snapshot: ViewSnapshot, service: string): ServiceIntegrationSchemas | null;
2278
+ * 不放行域级联,防错误 schema 污染坏节点)
2279
+ * v5.1 D39:serviceProvider = 服务轴向假想绑定(缺席/空串 按实际解析——I3 归一单点在此头部,
2280
+ * registry 侧不重复归一);非空轴参 → 短路 bare 解析(镜像 formProviderOf「输入替换非分支复制」先例:
2281
+ * 任一原分支改写 provider 为 X 后实读都进 bare 分支,同构承诺 by construction)。短路在节点读取之前——
2282
+ * 豁免链三分支(D39 与 D38 四分支的有意分歧:预览与坏文件解耦):malformed(分支④)不污染假想 /
2283
+ * 内联 ref 不读取(假想态无 H9 逃逸 400;catalog 命中的 manifest 声明路径照读,与节点声明的
2284
+ * 用户可控路径不同性)/ 全链未绑定时假想仍非 null(服务轴恒可写,无 module 轴零归属对应物)。 */
2285
+ declare function loadServiceIntegrationSchemas(snapshot: ViewSnapshot, service: string, serviceProvider?: string): ServiceIntegrationSchemas | null;
2216
2286
  /** G 批:服务轴字段注册表(D38 四分支链复用——消费 loadServiceIntegrationSchemas 单源;
2217
2287
  * 伪层 {provider, services: {[s]: {configSchema}}} → buildIntegrationFieldRegistry——
2218
2288
  * fields = 该 schema 全部字段带 global 旗标;configSchema null → schemaless=[service]
2219
- * 非 null 空集;schemas 整体 null(全链未绑定/坏节点)→ registry null——镜像 D38 语义) */
2220
- declare function loadServiceFieldRegistry(snapshot: ViewSnapshot, service: string): IntegrationFieldRegistryView | null;
2289
+ * 非 null 空集;schemas 整体 null(全链未绑定/坏节点)→ registry null——镜像 D38 语义)。
2290
+ * v5.1 D39:serviceProvider = 服务轴向假想绑定,纯透传(I1 单源——归一与短路都在链函数头部;
2291
+ * 轴参仅重定向表单层投影,global 旗标全量透传语义不变)。 */
2292
+ declare function loadServiceFieldRegistry(snapshot: ViewSnapshot, service: string, serviceProvider?: string): IntegrationFieldRegistryView | null;
2221
2293
 
2222
2294
  /**
2223
2295
  * 凭据状态轴投影(views/credentials;v4.4 D33 独立端点 GET /credentials):
@@ -2249,16 +2321,19 @@ declare function loadCredentialTypesView(snapshot: ViewSnapshot, provider?: stri
2249
2321
  * createAppToolkit(C4 工厂;v4.4——24 方法 = 11 读(含 credentials/credential-types 双端点)
2250
2322
  * + 4 写 + 9 迁移面;loadApp/loadModule/loadProvider 增 include 选项;v4.6——loadApp/loadModule
2251
2323
  * += 轴向假想绑定选项(appProvider/moduleProvider,D37);表单双投影经 formViews 单点装配;
2252
- * v4.7——loadService 增 include 选项(服务级生效绑定 schema 单体))。
2324
+ * v4.7——loadService 增 include 选项(服务级生效绑定 schema 单体);v5.1 D39——loadService
2325
+ * += serviceProvider 轴参(服务轴向假想绑定,三轴收口))。
2253
2326
  * AppToolkit = AppToolkitRead & AppToolkitWrite & AppToolkitInternals——
2254
2327
  * Read+Write = HTTP 直通面 additive 冻结(L1 端点↔方法 1:1,L3 命名镜像:Integration=节点级 /
2255
2328
  * Config=文件级);Internals = CLI/doctor/桥消费(自由演进)。
2256
2329
  *
2257
- * **门控断言单点(policy at edge)**:求值(2)+ 写(4)+ ensureMockBindings / writeIntegrationsConfig /
2258
- * evaluateIntegrationServices 入口 assertContractsUsable——strictValidation === false → 503
2259
- * CONTRACTS_NOT_RESOLVED;静态方法不门控(永不 503——铁律 #3);**include 装配为条件分支非门控**
2260
- * (D31——serviceResolutions evaluation && strictValidation 双条件装配,<0.9/形态异常 → null,
2261
- * 静态端点永不 503;integrationSchemas 纯静态轴零 contracts);integrations/ views/ 机制层保持纯函数。
2330
+ * **门控断言单点(policy at edge——v7 读求值轴退役后范围 = + 迁移面)**:写(4)+
2331
+ * ensureMockBindings / writeIntegrationsConfig / evaluateIntegrationServices 入口
2332
+ * assertContractsUsable——strictValidation === false → 503 CONTRACTS_NOT_RESOLVED;静态方法不门控
2333
+ * (永不 503——铁律 #3);**读求值轴(loadServiceResolutions/loadServiceResolution include 装配)
2334
+ * v7 起不再 503**——contracts 不可用 200 降级骨架(evaluation-unavailable,doctor 分级/D31 先例
2335
+ * 对齐;依据链与裁决见 Agent Note evaluation-axis-degrade);**include 装配为条件分支非门控**
2336
+ * (D31 null 分支退役——三条件门 + 内嵌轴同步降级,四面统一骨架);integrations/ views/ 机制层保持纯函数。
2262
2337
  *
2263
2338
  * 并发:进程内写串行(per-factory promise chain)+ 原子写 + 写后本实例缓存即刻失效(D26)。
2264
2339
  * onApplied(D7):toolkit 判定「需要重启」(实际落盘且非 dryRun/no-diff)→ 调用一次 +
@@ -2272,7 +2347,10 @@ interface AppToolkitOptions {
2272
2347
  * **双键契约(v7 词汇统一)**:资源路径参数双键寻址(id 优先、唯一展示名兜底——resolve-key
2273
2348
  * 单点;多命中 404 带候选);query 过滤参数(loadServiceResolutions services?)恒 id-only。 */
2274
2349
  interface AppToolkitRead {
2275
- loadModules(): Promise<ModulesView>;
2350
+ /** GET /modules:hidden 模块默认过滤(includeHidden = true 可见——对齐 ?dryRun 布尔参数先例) */
2351
+ loadModules(o?: {
2352
+ includeHidden?: boolean;
2353
+ }): Promise<ModulesView>;
2276
2354
  /** v4.6 D37:moduleProvider = 轴向假想绑定(缺席/空串 ≡ 按实际配置解析;需与表单 include 键同现)。
2277
2355
  * moduleId = 双键(id 优先、唯一展示名兜底)。 */
2278
2356
  loadModule(moduleId: string, o?: {
@@ -2284,8 +2362,11 @@ interface AppToolkitRead {
2284
2362
  include?: string[];
2285
2363
  appProvider?: string;
2286
2364
  }): Promise<AppView>;
2365
+ /** v5.1 D39:serviceProvider = 服务轴向假想绑定(缺席/空串 ≡ 按实际配置解析;需与表单 include
2366
+ * 键同现)——假想重定向仅表单双投影,integration/suppliedBy/defaults 恒实际态(I2) */
2287
2367
  loadService(service: string, o?: {
2288
2368
  include?: string[];
2369
+ serviceProvider?: string;
2289
2370
  }): Promise<ServiceDetail>;
2290
2371
  loadServiceResolutions(services?: string[]): Promise<ServiceResolutionsView>;
2291
2372
  loadServiceResolution(service: string): Promise<ServiceResolutionDetail>;
@@ -2350,4 +2431,4 @@ interface AppToolkitInternals {
2350
2431
  type AppToolkit = AppToolkitRead & AppToolkitWrite & AppToolkitInternals;
2351
2432
  declare function createAppToolkit(appDir: string, options?: AppToolkitOptions): AppToolkit;
2352
2433
 
2353
- export { APP_INTEGRATION_NODE_KEYS, type AppIntegrationNode, type AppManifest, type AppManifestFull, type AppToolkit, AppToolkitError, type AppToolkitErrorCode, type AppToolkitInternals, type AppToolkitOptions, type AppToolkitRead, type AppToolkitWrite, type AppView, type AppliedCredential, type BindingLayer, type BridgeProviderCatalog, type CardContrib, type ContractsResolution, type CredentialBindingEcho, type CredentialEcho, type CredentialFile, type CredentialInput, type CredentialTypeEntry, type CredentialTypesView, type CredentialValues, type CredentialsView, type DeclarationIssue, type DeclaredModuleInfo, type EffectiveBinding, type EnvExpansionResult, type EvaluationExports, type FileCache, type InlineVendorDeclaration, type IntegrationFieldRegistryView, type IntegrationIssue, type IntegrationServiceIssue, type IntegrationServicePredicateInput, type LayerIntegrationSchemas, MODULE_INTEGRATION_NODE_KEYS, type MiniappContainerEntry, type MockBindingsResult, type ModuleBinding, type ModuleDeclaration, type ModuleDescriptor, type ModuleDetailView, type ModuleIntegrationNode, type ModuleMode, type ModuleOwnershipWritability, type ModulesView, type NpmModuleEntry, type OrphanIssue, type ParseModuleResult, type PlannedCredential, type PredicateAssembly, type PredicateContracts, type PredicateIoInputs, type ProviderDetail, type ProviderEntry, type ProviderServiceDetail, type ProviderServiceSchemas, type ProviderServiceSchemasResult, type ProviderSlotContrib, type ProvidersView, type PruneResult, type ReadIntegrationsResult, type ResolvedContracts, type ResolvedInstance, type ResolvedModule, type ResourceNeedContrib, SAFE_NAME_PATTERN, type SaveResult, type ServiceConsumeContrib, type ServiceDemand, type ServiceDetail, type ServiceInstanceNode, type ServiceIntegrationNode, type ServiceIntegrationSchemas, type ServiceOwnContrib, type ServiceResolution, type ServiceResolutionDetail, type ServiceResolutionEntry, type ServiceResolutionsView, type ServiceStatus, type SlotMeta, type StemInput, type SupplyLookup, type ViewContext, type ViewSnapshot, type WalkCatalog, type WalkManifestsResult, type WalkModuleInfo, type WalkProviderEntry, type WriteCore, type WriteCoreOptions, type WriteOptions, assertValidModuleId, buildIntegrationFieldRegistry, buildOwnershipMap, buildPredicateAssembly, checkInstanceKeys, collectDeclaredModules, contractsNotResolvedMessage, createAppToolkit, createFileCache, createWriteCore, credentialArtifactExists, deepEqual, deriveStem, echoForRef, ensureDir, ensureMockBindings, evaluateAppIntegrationIssues, evaluateIntegrationServices, expandEnvVars, extractModuleIdFromSource, formProviderOf, invalidateContractsResolver, isControlledInlineProvider, isValidModuleId, loadAppIntegrationSchemas, loadAppView, loadCredentialTypesView, loadCredentialsView, loadModuleDetailView, loadModuleIntegrationSchemas, loadModulesView, loadProviderCatalog, loadProviderCatalogRaw, loadProviderDetailView, loadProviderServiceDetailView, loadProvidersView, loadServiceDetailView, loadServiceFieldRegistry, loadServiceIntegrationSchemas, loadServiceResolutionDetail, loadServiceResolutionsView, manifestPath, maskCredentialValues, moduleDependencySchema, moduleDescriptorSchema, moduleOwnershipWritable, pageContribSchema, parseModuleDescriptor, providerFootprint, providerSlotContribSchema, pruneIntegrationBindings, readAppManifest, readAppManifestFull, readCredentialFile, readIntegrationsConfig, readIntegrationsStrict, reconcileOrphanCredentials, refToEnvKey, removeNpmModule, resolveContractsForApp, resolveContractsForApp as resolveContractsForAppExport, resolveLayerIntegrationSchemas, resolveModuleBinding, resolveModuleKey, resolveServiceKey, resolveServiceSummary, resourceNeedContribSchema, serviceConsumeContribSchema, serviceOwnContribSchema, stemToFilePath, stemToRef, tabContribSchema, updateNpmModule, upsertMiniappContainer, upsertNpmModule, walkManifests, writeAppManifest, writeAtomic, writeCredentialFile };
2434
+ export { APP_INTEGRATION_NODE_KEYS, type AppIntegrationNode, type AppManifest, type AppManifestFull, type AppToolkit, AppToolkitError, type AppToolkitErrorCode, type AppToolkitInternals, type AppToolkitOptions, type AppToolkitRead, type AppToolkitWrite, type AppView, type AppliedCredential, type BindingLayer, type BridgeProviderCatalog, type CardContrib, type ContractsResolution, type CredentialBindingEcho, type CredentialEcho, type CredentialFile, type CredentialInput, type CredentialTypeEntry, type CredentialTypesView, type CredentialValues, type CredentialsView, type DeclarationIssue, type DeclaredModuleInfo, type DiscoveredSlotSource, type EffectiveBinding, type EnvExpansionResult, type EvaluationExports, type FileCache, type InlineVendorDeclaration, type IntegrationFieldRegistryView, type IntegrationIssue, type IntegrationServiceIssue, type IntegrationServicePredicateInput, type LayerIntegrationSchemas, MODULE_INTEGRATION_NODE_KEYS, type MiniappContainerEntry, type MockBindingsResult, type ModuleBinding, type ModuleDeclaration, type ModuleDescriptor, type ModuleDetailView, type ModuleIntegrationNode, type ModuleMode, type ModuleOwnershipWritability, type ModuleResourceEcho, type ModuleResourcesEcho, type ModulesView, type NpmModuleEntry, type OrphanIssue, type ParseModuleResult, type PlannedCredential, type PredicateAssembly, type PredicateContracts, type PredicateIoInputs, type ProviderDetail, type ProviderEntry, type ProviderServiceDetail, type ProviderServiceSchemas, type ProviderServiceSchemasResult, type ProviderSlotContrib, type ProvidersView, type PruneResult, type ReadIntegrationsResult, type ResolvedContracts, type ResolvedInstance, type ResolvedModule, type ResourceNeedContrib, SAFE_NAME_PATTERN, type SaveResult, type ServiceConsumeContrib, type ServiceDemand, type ServiceDetail, type ServiceInstanceNode, type ServiceIntegrationNode, type ServiceIntegrationSchemas, type ServiceOwnContrib, type ServiceResolution, type ServiceResolutionDetail, type ServiceResolutionEntry, type ServiceResolutionsView, type ServiceStatus, type SlotMeta, type StemInput, type SupplyLookup, type ViewContext, type ViewSnapshot, type WalkCatalog, type WalkManifestsResult, type WalkModuleInfo, type WalkProviderEntry, type WriteCore, type WriteCoreOptions, type WriteOptions, assertValidModuleId, buildIntegrationFieldRegistry, buildOwnershipMap, buildPredicateAssembly, checkInstanceKeys, collectDeclaredModules, contractsNotResolvedMessage, createAppToolkit, createFileCache, createWriteCore, credentialArtifactExists, deepEqual, deriveStem, discoverContractPackages, echoForRef, ensureDir, ensureMockBindings, evaluateAppIntegrationIssues, evaluateIntegrationServices, expandEnvVars, extractModuleIdFromSource, formProviderOf, invalidateContractsResolver, isControlledInlineProvider, isValidModuleId, loadAppIntegrationSchemas, loadAppView, loadCredentialTypesView, loadCredentialsView, loadModuleDetailView, loadModuleIntegrationSchemas, loadModulesView, loadProviderCatalog, loadProviderCatalogRaw, loadProviderDetailView, loadProviderServiceDetailView, loadProvidersView, loadServiceDetailView, loadServiceFieldRegistry, loadServiceIntegrationSchemas, loadServiceResolutionDetail, loadServiceResolutionsView, manifestPath, maskCredentialValues, moduleDependencySchema, moduleDescriptorSchema, moduleOwnershipWritable, pageContribSchema, parseModuleDescriptor, providerFootprint, providerSlotContribSchema, pruneIntegrationBindings, readAppManifest, readAppManifestFull, readCredentialFile, readIntegrationsConfig, readIntegrationsStrict, reconcileOrphanCredentials, refToEnvKey, removeNpmModule, resolveContractsForApp, resolveContractsForApp as resolveContractsForAppExport, resolveLayerIntegrationSchemas, resolveModuleBinding, resolveModuleKey, resolveServiceKey, resolveServiceSummary, resourceNeedContribSchema, serviceConsumeContribSchema, serviceOwnContribSchema, stemToFilePath, stemToRef, tabContribSchema, updateNpmModule, upsertMiniappContainer, upsertNpmModule, walkManifests, writeAppManifest, writeAtomic, writeCredentialFile };