@coralai/sps-cli 0.72.1 → 0.74.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/console/routes/plugins.d.ts.map +1 -1
- package/dist/console/routes/plugins.js +15 -0
- package/dist/console/routes/plugins.js.map +1 -1
- package/dist/console-assets/assets/{ShowcasePage-DbMz1JpU.js → ShowcasePage-Ds05miA3.js} +1 -1
- package/dist/console-assets/assets/{index-VQ8PJmSO.js → index-2lwFzkSf.js} +177 -177
- package/dist/console-assets/index.html +1 -1
- package/dist/seams/essential.d.ts +26 -0
- package/dist/seams/essential.d.ts.map +1 -0
- package/dist/seams/essential.js +44 -0
- package/dist/seams/essential.js.map +1 -0
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
9
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
10
|
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
11
|
-
<script type="module" crossorigin src="/assets/index-
|
|
11
|
+
<script type="module" crossorigin src="/assets/index-2lwFzkSf.js"></script>
|
|
12
12
|
<link rel="stylesheet" crossorigin href="/assets/index-YoLvbHIG.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module seams/essential
|
|
3
|
+
* @description **内核直接依赖的 seam** —— 停用它们 = 下一次派活当场抛。
|
|
4
|
+
*
|
|
5
|
+
* @layer seam
|
|
6
|
+
*
|
|
7
|
+
* 🔴 为什么要这张表:内核代码里写的是 `app['sps.repo'].create(...)`,
|
|
8
|
+
* **没有兜底**。插件页上把 `repo` 那一行一关,`app['sps.repo']` 就是
|
|
9
|
+
* `undefined`,错误现场是 `Cannot read properties of undefined` ——
|
|
10
|
+
* 离"我刚才在插件页点了个开关"已经隔了十万八千里。
|
|
11
|
+
*
|
|
12
|
+
* 🔴 **这张表会漂**:它记的是"内核在哪儿硬用了 seam",而那个事实住在**内核代码里**。
|
|
13
|
+
* 所以 `essential.test.ts` 会**扫源码**反推一份出来跟它比 ——
|
|
14
|
+
* 有人新写了一处硬用而没登记,当场红。
|
|
15
|
+
* (写死一张表而没有闸门,是这个仓里反复踩的同一族错误。)
|
|
16
|
+
*
|
|
17
|
+
* ⚠️ **只列提供服务的那些行**,不列往注册表里塞内容的 `*-builtin`:
|
|
18
|
+
* 停掉 `repo-builtin` 是"我不要内建的 github 后端",那是正当操作;
|
|
19
|
+
* 停掉 `repo` 是"这个服务不存在了",不是同一件事。
|
|
20
|
+
*/
|
|
21
|
+
/** 装配档里的行 id → 为什么不能停。 */
|
|
22
|
+
export declare const ESSENTIAL_ROWS: Record<string, string>;
|
|
23
|
+
/** 行 id → 它提供的服务名。判据反推时用来对齐两边。 */
|
|
24
|
+
export declare const ROW_SERVICE: Record<string, string>;
|
|
25
|
+
export declare function essentialReason(rowId: string): string | undefined;
|
|
26
|
+
//# sourceMappingURL=essential.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"essential.d.ts","sourceRoot":"","sources":["../../src/seams/essential.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,0BAA0B;AAC1B,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAQjD,CAAC;AAEF,kCAAkC;AAClC,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAQ9C,CAAC;AAEF,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEjE"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module seams/essential
|
|
3
|
+
* @description **内核直接依赖的 seam** —— 停用它们 = 下一次派活当场抛。
|
|
4
|
+
*
|
|
5
|
+
* @layer seam
|
|
6
|
+
*
|
|
7
|
+
* 🔴 为什么要这张表:内核代码里写的是 `app['sps.repo'].create(...)`,
|
|
8
|
+
* **没有兜底**。插件页上把 `repo` 那一行一关,`app['sps.repo']` 就是
|
|
9
|
+
* `undefined`,错误现场是 `Cannot read properties of undefined` ——
|
|
10
|
+
* 离"我刚才在插件页点了个开关"已经隔了十万八千里。
|
|
11
|
+
*
|
|
12
|
+
* 🔴 **这张表会漂**:它记的是"内核在哪儿硬用了 seam",而那个事实住在**内核代码里**。
|
|
13
|
+
* 所以 `essential.test.ts` 会**扫源码**反推一份出来跟它比 ——
|
|
14
|
+
* 有人新写了一处硬用而没登记,当场红。
|
|
15
|
+
* (写死一张表而没有闸门,是这个仓里反复踩的同一族错误。)
|
|
16
|
+
*
|
|
17
|
+
* ⚠️ **只列提供服务的那些行**,不列往注册表里塞内容的 `*-builtin`:
|
|
18
|
+
* 停掉 `repo-builtin` 是"我不要内建的 github 后端",那是正当操作;
|
|
19
|
+
* 停掉 `repo` 是"这个服务不存在了",不是同一件事。
|
|
20
|
+
*/
|
|
21
|
+
/** 装配档里的行 id → 为什么不能停。 */
|
|
22
|
+
export const ESSENTIAL_ROWS = {
|
|
23
|
+
memory: '派活/流水线全程直接读写记忆(34 处无兜底)',
|
|
24
|
+
notifier: '卡片状态变更、失败告警都直接发它(13 处无兜底)',
|
|
25
|
+
repo: '每次 tick / 派活都要建托管后端(6 处无兜底)',
|
|
26
|
+
agents: '决定这张卡派给谁跑 —— 没有它就没有执行者',
|
|
27
|
+
capabilities: '工具卡靠它执行(不占 worker 槽位的那类卡)',
|
|
28
|
+
im: 'IM 网关直接取适配器注册表',
|
|
29
|
+
media: '生图/生视频/TTS 的调用要经它取厂商适配器',
|
|
30
|
+
};
|
|
31
|
+
/** 行 id → 它提供的服务名。判据反推时用来对齐两边。 */
|
|
32
|
+
export const ROW_SERVICE = {
|
|
33
|
+
memory: 'sps.memory',
|
|
34
|
+
notifier: 'sps.notifier',
|
|
35
|
+
repo: 'sps.repo',
|
|
36
|
+
agents: 'sps.agents',
|
|
37
|
+
capabilities: 'sps.capabilities',
|
|
38
|
+
im: 'sps.im',
|
|
39
|
+
media: 'sps.media',
|
|
40
|
+
};
|
|
41
|
+
export function essentialReason(rowId) {
|
|
42
|
+
return ESSENTIAL_ROWS[rowId];
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=essential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"essential.js","sourceRoot":"","sources":["../../src/seams/essential.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,0BAA0B;AAC1B,MAAM,CAAC,MAAM,cAAc,GAA2B;IACpD,MAAM,EAAE,yBAAyB;IACjC,QAAQ,EAAE,2BAA2B;IACrC,IAAI,EAAE,6BAA6B;IACnC,MAAM,EAAE,wBAAwB;IAChC,YAAY,EAAE,2BAA2B;IACzC,EAAE,EAAE,gBAAgB;IACpB,KAAK,EAAE,yBAAyB;CACjC,CAAC;AAEF,kCAAkC;AAClC,MAAM,CAAC,MAAM,WAAW,GAA2B;IACjD,MAAM,EAAE,YAAY;IACpB,QAAQ,EAAE,cAAc;IACxB,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,YAAY;IACpB,YAAY,EAAE,kBAAkB;IAChC,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE,WAAW;CACnB,CAAC;AAEF,MAAM,UAAU,eAAe,CAAC,KAAa;IAC3C,OAAO,cAAc,CAAC,KAAK,CAAC,CAAC;AAC/B,CAAC"}
|