@netnodeag/kraftwerk 0.17.2 → 0.18.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/inspector/team.d.ts +4 -0
- package/dist/inspector/team.js +2 -0
- package/inspector/dist/assets/index-BsQH5ndD.js +81 -0
- package/inspector/dist/assets/{index-DIesTgmX.css → index-DIZNVems.css} +1 -1
- package/inspector/dist/index.html +2 -2
- package/package.json +1 -1
- package/inspector/dist/assets/index-DyArfouM.js +0 -81
package/dist/inspector/team.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ export interface TeamMember {
|
|
|
19
19
|
harness: ChatAgentId;
|
|
20
20
|
model?: string;
|
|
21
21
|
effort?: string;
|
|
22
|
+
/** Optional group ("Team Content"); absent = ungrouped. */
|
|
23
|
+
group?: string;
|
|
22
24
|
/** Workflow slugs this member knows about and may run. */
|
|
23
25
|
workflows: string[];
|
|
24
26
|
/** Knowledge bundles (OKF) this member works with. */
|
|
@@ -47,6 +49,8 @@ export interface SaveMemberInput {
|
|
|
47
49
|
harness: string;
|
|
48
50
|
model?: string;
|
|
49
51
|
effort?: string;
|
|
52
|
+
/** Group name; omitted/empty = ungrouped. */
|
|
53
|
+
group?: string;
|
|
50
54
|
workflows?: string[];
|
|
51
55
|
knowledge?: string[];
|
|
52
56
|
/** Omit for "all skills"; a list (possibly empty) restricts to those names. */
|
package/dist/inspector/team.js
CHANGED
|
@@ -48,6 +48,7 @@ function normalize(slug, raw) {
|
|
|
48
48
|
harness: HARNESSES.includes(harness) ? harness : "claude",
|
|
49
49
|
...(raw.model ? { model: String(raw.model) } : {}),
|
|
50
50
|
...(raw.effort ? { effort: String(raw.effort) } : {}),
|
|
51
|
+
...(raw.group ? { group: String(raw.group) } : {}),
|
|
51
52
|
workflows: Array.isArray(raw.workflows) ? raw.workflows.map(String) : [],
|
|
52
53
|
knowledge: Array.isArray(raw.knowledge) ? raw.knowledge.map(String) : [],
|
|
53
54
|
...(Array.isArray(raw.skills) ? { skills: raw.skills.map(String) } : {}),
|
|
@@ -107,6 +108,7 @@ export async function saveMember(input) {
|
|
|
107
108
|
harness: input.harness,
|
|
108
109
|
...(input.model?.trim() ? { model: input.model.trim() } : {}),
|
|
109
110
|
...(input.effort ? { effort: input.effort } : {}),
|
|
111
|
+
...(input.group?.trim() ? { group: input.group.trim() } : {}),
|
|
110
112
|
workflows: (input.workflows ?? []).map(String),
|
|
111
113
|
knowledge: (input.knowledge ?? []).map(String),
|
|
112
114
|
...(input.skills ? { skills: input.skills.map(String) } : {}),
|