@capybara-hq/kernel 0.1.0-rc.18 → 0.1.0-rc.19
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.
|
@@ -77,6 +77,8 @@ export interface ComponentView {
|
|
|
77
77
|
en: string;
|
|
78
78
|
} | null;
|
|
79
79
|
description: string | null;
|
|
80
|
+
/** The description's Chinese text (null: show `description` in every locale). */
|
|
81
|
+
descriptionZh: string | null;
|
|
80
82
|
/** The plugin it came from (null: none). */
|
|
81
83
|
plugin: string | null;
|
|
82
84
|
itemId: string | null;
|
|
@@ -151,6 +153,8 @@ export interface OrgOfferedComponentView extends OrgComponentView {
|
|
|
151
153
|
en: string;
|
|
152
154
|
} | null;
|
|
153
155
|
description: string | null;
|
|
156
|
+
/** The description's Chinese text (null: show `description` in every locale). */
|
|
157
|
+
descriptionZh: string | null;
|
|
154
158
|
itemId: string | null;
|
|
155
159
|
version: string;
|
|
156
160
|
scopeMode: "follow" | "own";
|
|
@@ -211,6 +211,7 @@ let ComponentScopeService = class ComponentScopeService {
|
|
|
211
211
|
name: c.name,
|
|
212
212
|
displayName: c.displayName,
|
|
213
213
|
description: c.description,
|
|
214
|
+
descriptionZh: c.descriptionZh,
|
|
214
215
|
plugin: c.plugin,
|
|
215
216
|
itemId: c.itemId,
|
|
216
217
|
owner: ownerOf(c.ownerOrgId, owners),
|
|
@@ -269,6 +270,7 @@ let ComponentScopeService = class ComponentScopeService {
|
|
|
269
270
|
name: c.name,
|
|
270
271
|
displayName: c.displayName,
|
|
271
272
|
description: c.description,
|
|
273
|
+
descriptionZh: c.descriptionZh,
|
|
272
274
|
plugin: c.plugin,
|
|
273
275
|
itemId: c.itemId,
|
|
274
276
|
version: c.version,
|
|
@@ -373,6 +375,7 @@ let ComponentScopeService = class ComponentScopeService {
|
|
|
373
375
|
name: r.name,
|
|
374
376
|
displayName: null,
|
|
375
377
|
description: r.description,
|
|
378
|
+
descriptionZh: null,
|
|
376
379
|
plugin: r.plugin,
|
|
377
380
|
itemId: r.catalog_item_id,
|
|
378
381
|
owner: ownerOf(r.org_id, owners),
|
|
@@ -1097,6 +1100,7 @@ const virtualOf = (o) => ({
|
|
|
1097
1100
|
plugin: o.plugin,
|
|
1098
1101
|
version: String(o.version),
|
|
1099
1102
|
description: null,
|
|
1103
|
+
descriptionZh: null,
|
|
1100
1104
|
displayName: null,
|
|
1101
1105
|
itemId: null,
|
|
1102
1106
|
scopeMode: "own",
|
|
@@ -68,6 +68,8 @@ export interface ComponentRow extends ComponentScopeFacts {
|
|
|
68
68
|
/** The current version (a connector template: the catalog version that last changed it). */
|
|
69
69
|
version: string;
|
|
70
70
|
description: string | null;
|
|
71
|
+
/** The description's Chinese text (a theme's or skill's `description.zh`); null without one. */
|
|
72
|
+
descriptionZh: string | null;
|
|
71
73
|
/**
|
|
72
74
|
* A connector template's localized display name (its file's `displayName`); null for skills and
|
|
73
75
|
* agent templates, whose name is what they are shown by.
|
|
@@ -119,6 +119,7 @@ export async function loadComponents(db, kind, filter = {}) {
|
|
|
119
119
|
plugin: r.item_name,
|
|
120
120
|
version: r.current_version,
|
|
121
121
|
description: typeof file?.description === "string" ? file.description : null,
|
|
122
|
+
descriptionZh: null,
|
|
122
123
|
displayName: localizedName(file?.displayName),
|
|
123
124
|
originOrgId: null,
|
|
124
125
|
};
|
|
@@ -137,6 +138,7 @@ export async function loadComponents(db, kind, filter = {}) {
|
|
|
137
138
|
"p.plugin_name",
|
|
138
139
|
"p.name",
|
|
139
140
|
"p.description",
|
|
141
|
+
"p.description_zh",
|
|
140
142
|
"p.current_version",
|
|
141
143
|
"p.scope_mode",
|
|
142
144
|
"p.scope",
|
|
@@ -161,6 +163,7 @@ export async function loadComponents(db, kind, filter = {}) {
|
|
|
161
163
|
plugin: r.plugin_name,
|
|
162
164
|
version: String(r.current_version),
|
|
163
165
|
description: r.description,
|
|
166
|
+
descriptionZh: r.description_zh,
|
|
164
167
|
displayName: null,
|
|
165
168
|
originOrgId: r.origin_org_id,
|
|
166
169
|
}));
|
|
@@ -188,7 +188,7 @@ export declare function headsToResolve(entries: readonly MarketplaceEntry[], imp
|
|
|
188
188
|
/** The host versions (an entry's `minKernel` is judged against them). */
|
|
189
189
|
export declare const HOST_VERSIONS: {
|
|
190
190
|
readonly kernel: string;
|
|
191
|
-
readonly sdk: "0.1.0-rc.
|
|
191
|
+
readonly sdk: "0.1.0-rc.14";
|
|
192
192
|
};
|
|
193
193
|
/** Whether this deployment satisfies the entry's `minKernel`. */
|
|
194
194
|
export declare const entryCompatible: (e: Pick<MarketplaceEntry, "minKernel">) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capybara-hq/kernel",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.19",
|
|
4
4
|
"description": "Capybara kernel: config, database, plugin host and HTTP API of the Capybara agent platform",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"yaml": "^2.9.1",
|
|
66
66
|
"yauzl": "3.4.0",
|
|
67
67
|
"zod": "^4.6.7",
|
|
68
|
-
"@capybara-hq/plugin-sdk": "^0.1.0-rc.
|
|
68
|
+
"@capybara-hq/plugin-sdk": "^0.1.0-rc.14"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@langchain/langgraph-checkpoint-validation": "^1.2.0",
|