@fideliosai/shared 2026.331.0-canary.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/LICENSE +22 -0
- package/dist/agent-url-key.d.ts +4 -0
- package/dist/agent-url-key.d.ts.map +1 -0
- package/dist/agent-url-key.js +22 -0
- package/dist/agent-url-key.js.map +1 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +20 -0
- package/dist/api.js.map +1 -0
- package/dist/config-schema.d.ts +905 -0
- package/dist/config-schema.d.ts.map +1 -0
- package/dist/config-schema.js +159 -0
- package/dist/config-schema.js.map +1 -0
- package/dist/constants.d.ts +224 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +553 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/project-mentions.d.ts +17 -0
- package/dist/project-mentions.d.ts.map +1 -0
- package/dist/project-mentions.js +123 -0
- package/dist/project-mentions.js.map +1 -0
- package/dist/project-mentions.test.d.ts +2 -0
- package/dist/project-mentions.test.d.ts.map +1 -0
- package/dist/project-mentions.test.js +21 -0
- package/dist/project-mentions.test.js.map +1 -0
- package/dist/project-url-key.d.ts +3 -0
- package/dist/project-url-key.d.ts.map +1 -0
- package/dist/project-url-key.js +16 -0
- package/dist/project-url-key.js.map +1 -0
- package/dist/types/access.d.ts +67 -0
- package/dist/types/access.d.ts.map +1 -0
- package/dist/types/access.js +2 -0
- package/dist/types/access.js.map +1 -0
- package/dist/types/activity.d.ts +14 -0
- package/dist/types/activity.d.ts.map +1 -0
- package/dist/types/activity.js +2 -0
- package/dist/types/activity.js.map +1 -0
- package/dist/types/adapter-skills.d.ts +31 -0
- package/dist/types/adapter-skills.d.ts.map +1 -0
- package/dist/types/adapter-skills.js +2 -0
- package/dist/types/adapter-skills.js.map +1 -0
- package/dist/types/agent.d.ts +108 -0
- package/dist/types/agent.d.ts.map +1 -0
- package/dist/types/agent.js +2 -0
- package/dist/types/agent.js.map +1 -0
- package/dist/types/approval.d.ts +26 -0
- package/dist/types/approval.d.ts.map +1 -0
- package/dist/types/approval.js +2 -0
- package/dist/types/approval.js.map +1 -0
- package/dist/types/asset.d.ts +16 -0
- package/dist/types/asset.d.ts.map +1 -0
- package/dist/types/asset.js +2 -0
- package/dist/types/asset.js.map +1 -0
- package/dist/types/budget.d.ts +86 -0
- package/dist/types/budget.d.ts.map +1 -0
- package/dist/types/budget.js +2 -0
- package/dist/types/budget.js.map +1 -0
- package/dist/types/company-portability.d.ts +276 -0
- package/dist/types/company-portability.d.ts.map +1 -0
- package/dist/types/company-portability.js +2 -0
- package/dist/types/company-portability.js.map +1 -0
- package/dist/types/company-skill.d.ts +135 -0
- package/dist/types/company-skill.d.ts.map +1 -0
- package/dist/types/company-skill.js +2 -0
- package/dist/types/company-skill.js.map +1 -0
- package/dist/types/company.d.ts +20 -0
- package/dist/types/company.d.ts.map +1 -0
- package/dist/types/company.js +2 -0
- package/dist/types/company.js.map +1 -0
- package/dist/types/cost.d.ts +106 -0
- package/dist/types/cost.d.ts.map +1 -0
- package/dist/types/cost.js +2 -0
- package/dist/types/cost.js.map +1 -0
- package/dist/types/dashboard.d.ts +28 -0
- package/dist/types/dashboard.d.ts.map +1 -0
- package/dist/types/dashboard.js +2 -0
- package/dist/types/dashboard.js.map +1 -0
- package/dist/types/finance.d.ts +57 -0
- package/dist/types/finance.d.ts.map +1 -0
- package/dist/types/finance.js +2 -0
- package/dist/types/finance.js.map +1 -0
- package/dist/types/goal.d.ts +14 -0
- package/dist/types/goal.d.ts.map +1 -0
- package/dist/types/goal.js +2 -0
- package/dist/types/goal.js.map +1 -0
- package/dist/types/heartbeat.d.ts +118 -0
- package/dist/types/heartbeat.d.ts.map +1 -0
- package/dist/types/heartbeat.js +2 -0
- package/dist/types/heartbeat.js.map +1 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/instance.d.ts +15 -0
- package/dist/types/instance.d.ts.map +1 -0
- package/dist/types/instance.js +2 -0
- package/dist/types/instance.js.map +1 -0
- package/dist/types/issue.d.ts +165 -0
- package/dist/types/issue.d.ts.map +1 -0
- package/dist/types/issue.js +2 -0
- package/dist/types/issue.js.map +1 -0
- package/dist/types/live.d.ts +9 -0
- package/dist/types/live.d.ts.map +1 -0
- package/dist/types/live.js +2 -0
- package/dist/types/live.js.map +1 -0
- package/dist/types/plugin.d.ts +419 -0
- package/dist/types/plugin.d.ts.map +1 -0
- package/dist/types/plugin.js +2 -0
- package/dist/types/plugin.js.map +1 -0
- package/dist/types/project.d.ts +67 -0
- package/dist/types/project.d.ts.map +1 -0
- package/dist/types/project.js +2 -0
- package/dist/types/project.js.map +1 -0
- package/dist/types/quota.d.ts +26 -0
- package/dist/types/quota.d.ts.map +1 -0
- package/dist/types/quota.js +2 -0
- package/dist/types/quota.js.map +1 -0
- package/dist/types/routine.d.ts +113 -0
- package/dist/types/routine.d.ts.map +1 -0
- package/dist/types/routine.js +2 -0
- package/dist/types/routine.js.map +1 -0
- package/dist/types/secrets.d.ts +32 -0
- package/dist/types/secrets.d.ts.map +1 -0
- package/dist/types/secrets.js +2 -0
- package/dist/types/secrets.js.map +1 -0
- package/dist/types/sidebar-badges.d.ts +7 -0
- package/dist/types/sidebar-badges.d.ts.map +1 -0
- package/dist/types/sidebar-badges.js +2 -0
- package/dist/types/sidebar-badges.js.map +1 -0
- package/dist/types/work-product.d.ts +27 -0
- package/dist/types/work-product.d.ts.map +1 -0
- package/dist/types/work-product.js +2 -0
- package/dist/types/work-product.js.map +1 -0
- package/dist/types/workspace-operation.d.ts +26 -0
- package/dist/types/workspace-operation.d.ts.map +1 -0
- package/dist/types/workspace-operation.js +2 -0
- package/dist/types/workspace-operation.js.map +1 -0
- package/dist/types/workspace-runtime.d.ts +86 -0
- package/dist/types/workspace-runtime.d.ts.map +1 -0
- package/dist/types/workspace-runtime.js +2 -0
- package/dist/types/workspace-runtime.js.map +1 -0
- package/dist/validators/access.d.ts +136 -0
- package/dist/validators/access.d.ts.map +1 -0
- package/dist/validators/access.js +53 -0
- package/dist/validators/access.js.map +1 -0
- package/dist/validators/adapter-skills.d.ts +156 -0
- package/dist/validators/adapter-skills.d.ts.map +1 -0
- package/dist/validators/adapter-skills.js +48 -0
- package/dist/validators/adapter-skills.js.map +1 -0
- package/dist/validators/agent.d.ts +279 -0
- package/dist/validators/agent.d.ts.map +1 -0
- package/dist/validators/agent.js +85 -0
- package/dist/validators/agent.js.map +1 -0
- package/dist/validators/approval.d.ts +57 -0
- package/dist/validators/approval.d.ts.map +1 -0
- package/dist/validators/approval.js +23 -0
- package/dist/validators/approval.js.map +1 -0
- package/dist/validators/asset.d.ts +10 -0
- package/dist/validators/asset.d.ts.map +1 -0
- package/dist/validators/asset.js +11 -0
- package/dist/validators/asset.js.map +1 -0
- package/dist/validators/budget.d.ts +56 -0
- package/dist/validators/budget.d.ts.map +1 -0
- package/dist/validators/budget.js +27 -0
- package/dist/validators/budget.js.map +1 -0
- package/dist/validators/company-portability.d.ts +1656 -0
- package/dist/validators/company-portability.d.ts.map +1 -0
- package/dist/validators/company-portability.js +211 -0
- package/dist/validators/company-portability.js.map +1 -0
- package/dist/validators/company-skill.d.ts +797 -0
- package/dist/validators/company-skill.d.ts.map +1 -0
- package/dist/validators/company-skill.js +116 -0
- package/dist/validators/company-skill.js.map +1 -0
- package/dist/validators/company.d.ts +73 -0
- package/dist/validators/company.d.ts.map +1 -0
- package/dist/validators/company.js +31 -0
- package/dist/validators/company.js.map +1 -0
- package/dist/validators/cost.d.ts +92 -0
- package/dist/validators/cost.d.ts.map +1 -0
- package/dist/validators/cost.js +26 -0
- package/dist/validators/cost.js.map +1 -0
- package/dist/validators/execution-workspace.d.ts +20 -0
- package/dist/validators/execution-workspace.d.ts.map +1 -0
- package/dist/validators/execution-workspace.js +15 -0
- package/dist/validators/execution-workspace.js.map +1 -0
- package/dist/validators/finance.d.ts +129 -0
- package/dist/validators/finance.d.ts.map +1 -0
- package/dist/validators/finance.js +32 -0
- package/dist/validators/finance.js.map +1 -0
- package/dist/validators/goal.d.ts +48 -0
- package/dist/validators/goal.d.ts.map +1 -0
- package/dist/validators/goal.js +12 -0
- package/dist/validators/goal.js.map +1 -0
- package/dist/validators/index.d.ts +21 -0
- package/dist/validators/index.d.ts.map +1 -0
- package/dist/validators/index.js +21 -0
- package/dist/validators/index.js.map +1 -0
- package/dist/validators/instance.d.ts +40 -0
- package/dist/validators/instance.d.ts.map +1 -0
- package/dist/validators/instance.js +11 -0
- package/dist/validators/instance.js.map +1 -0
- package/dist/validators/issue.d.ts +427 -0
- package/dist/validators/issue.d.ts.map +1 -0
- package/dist/validators/issue.js +91 -0
- package/dist/validators/issue.js.map +1 -0
- package/dist/validators/plugin.d.ts +1173 -0
- package/dist/validators/plugin.d.ts.map +1 -0
- package/dist/validators/plugin.js +547 -0
- package/dist/validators/plugin.js.map +1 -0
- package/dist/validators/project.d.ts +583 -0
- package/dist/validators/project.d.ts.map +1 -0
- package/dist/validators/project.js +93 -0
- package/dist/validators/project.js.map +1 -0
- package/dist/validators/routine.d.ts +167 -0
- package/dist/validators/routine.d.ts.map +1 -0
- package/dist/validators/routine.js +50 -0
- package/dist/validators/routine.js.map +1 -0
- package/dist/validators/secret.d.ts +114 -0
- package/dist/validators/secret.d.ts.map +1 -0
- package/dist/validators/secret.js +35 -0
- package/dist/validators/secret.js.map +1 -0
- package/dist/validators/work-product.d.ts +105 -0
- package/dist/validators/work-product.d.ts.map +1 -0
- package/dist/validators/work-product.js +46 -0
- package/dist/validators/work-product.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,797 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const companySkillSourceTypeSchema: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
|
|
3
|
+
export declare const companySkillTrustLevelSchema: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
|
|
4
|
+
export declare const companySkillCompatibilitySchema: z.ZodEnum<["compatible", "unknown", "invalid"]>;
|
|
5
|
+
export declare const companySkillSourceBadgeSchema: z.ZodEnum<["fidelios", "github", "local", "url", "catalog", "skills_sh"]>;
|
|
6
|
+
export declare const companySkillFileInventoryEntrySchema: z.ZodObject<{
|
|
7
|
+
path: z.ZodString;
|
|
8
|
+
kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
path: string;
|
|
11
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
12
|
+
}, {
|
|
13
|
+
path: string;
|
|
14
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
15
|
+
}>;
|
|
16
|
+
export declare const companySkillSchema: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
companyId: z.ZodString;
|
|
19
|
+
key: z.ZodString;
|
|
20
|
+
slug: z.ZodString;
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
description: z.ZodNullable<z.ZodString>;
|
|
23
|
+
markdown: z.ZodString;
|
|
24
|
+
sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
|
|
25
|
+
sourceLocator: z.ZodNullable<z.ZodString>;
|
|
26
|
+
sourceRef: z.ZodNullable<z.ZodString>;
|
|
27
|
+
trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
|
|
28
|
+
compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
|
|
29
|
+
fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30
|
+
path: z.ZodString;
|
|
31
|
+
kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
path: string;
|
|
34
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
35
|
+
}, {
|
|
36
|
+
path: string;
|
|
37
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
38
|
+
}>, "many">>;
|
|
39
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
40
|
+
createdAt: z.ZodDate;
|
|
41
|
+
updatedAt: z.ZodDate;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
updatedAt: Date;
|
|
44
|
+
markdown: string;
|
|
45
|
+
id: string;
|
|
46
|
+
companyId: string;
|
|
47
|
+
createdAt: Date;
|
|
48
|
+
name: string;
|
|
49
|
+
description: string | null;
|
|
50
|
+
key: string;
|
|
51
|
+
slug: string;
|
|
52
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
53
|
+
sourceLocator: string | null;
|
|
54
|
+
sourceRef: string | null;
|
|
55
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
56
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
57
|
+
fileInventory: {
|
|
58
|
+
path: string;
|
|
59
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
60
|
+
}[];
|
|
61
|
+
metadata: Record<string, unknown> | null;
|
|
62
|
+
}, {
|
|
63
|
+
updatedAt: Date;
|
|
64
|
+
markdown: string;
|
|
65
|
+
id: string;
|
|
66
|
+
companyId: string;
|
|
67
|
+
createdAt: Date;
|
|
68
|
+
name: string;
|
|
69
|
+
description: string | null;
|
|
70
|
+
key: string;
|
|
71
|
+
slug: string;
|
|
72
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
73
|
+
sourceLocator: string | null;
|
|
74
|
+
sourceRef: string | null;
|
|
75
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
76
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
77
|
+
metadata: Record<string, unknown> | null;
|
|
78
|
+
fileInventory?: {
|
|
79
|
+
path: string;
|
|
80
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
export declare const companySkillListItemSchema: z.ZodObject<{
|
|
84
|
+
id: z.ZodString;
|
|
85
|
+
companyId: z.ZodString;
|
|
86
|
+
key: z.ZodString;
|
|
87
|
+
slug: z.ZodString;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
description: z.ZodNullable<z.ZodString>;
|
|
90
|
+
markdown: z.ZodString;
|
|
91
|
+
sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
|
|
92
|
+
sourceLocator: z.ZodNullable<z.ZodString>;
|
|
93
|
+
sourceRef: z.ZodNullable<z.ZodString>;
|
|
94
|
+
trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
|
|
95
|
+
compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
|
|
96
|
+
fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
97
|
+
path: z.ZodString;
|
|
98
|
+
kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
path: string;
|
|
101
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
102
|
+
}, {
|
|
103
|
+
path: string;
|
|
104
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
105
|
+
}>, "many">>;
|
|
106
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
107
|
+
createdAt: z.ZodDate;
|
|
108
|
+
updatedAt: z.ZodDate;
|
|
109
|
+
} & {
|
|
110
|
+
attachedAgentCount: z.ZodNumber;
|
|
111
|
+
editable: z.ZodBoolean;
|
|
112
|
+
editableReason: z.ZodNullable<z.ZodString>;
|
|
113
|
+
sourceLabel: z.ZodNullable<z.ZodString>;
|
|
114
|
+
sourceBadge: z.ZodEnum<["fidelios", "github", "local", "url", "catalog", "skills_sh"]>;
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
|
+
updatedAt: Date;
|
|
117
|
+
markdown: string;
|
|
118
|
+
id: string;
|
|
119
|
+
companyId: string;
|
|
120
|
+
createdAt: Date;
|
|
121
|
+
name: string;
|
|
122
|
+
description: string | null;
|
|
123
|
+
key: string;
|
|
124
|
+
slug: string;
|
|
125
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
126
|
+
sourceLocator: string | null;
|
|
127
|
+
sourceRef: string | null;
|
|
128
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
129
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
130
|
+
fileInventory: {
|
|
131
|
+
path: string;
|
|
132
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
133
|
+
}[];
|
|
134
|
+
metadata: Record<string, unknown> | null;
|
|
135
|
+
attachedAgentCount: number;
|
|
136
|
+
editable: boolean;
|
|
137
|
+
editableReason: string | null;
|
|
138
|
+
sourceLabel: string | null;
|
|
139
|
+
sourceBadge: "fidelios" | "github" | "url" | "catalog" | "skills_sh" | "local";
|
|
140
|
+
}, {
|
|
141
|
+
updatedAt: Date;
|
|
142
|
+
markdown: string;
|
|
143
|
+
id: string;
|
|
144
|
+
companyId: string;
|
|
145
|
+
createdAt: Date;
|
|
146
|
+
name: string;
|
|
147
|
+
description: string | null;
|
|
148
|
+
key: string;
|
|
149
|
+
slug: string;
|
|
150
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
151
|
+
sourceLocator: string | null;
|
|
152
|
+
sourceRef: string | null;
|
|
153
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
154
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
155
|
+
metadata: Record<string, unknown> | null;
|
|
156
|
+
attachedAgentCount: number;
|
|
157
|
+
editable: boolean;
|
|
158
|
+
editableReason: string | null;
|
|
159
|
+
sourceLabel: string | null;
|
|
160
|
+
sourceBadge: "fidelios" | "github" | "url" | "catalog" | "skills_sh" | "local";
|
|
161
|
+
fileInventory?: {
|
|
162
|
+
path: string;
|
|
163
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
164
|
+
}[] | undefined;
|
|
165
|
+
}>;
|
|
166
|
+
export declare const companySkillUsageAgentSchema: z.ZodObject<{
|
|
167
|
+
id: z.ZodString;
|
|
168
|
+
name: z.ZodString;
|
|
169
|
+
urlKey: z.ZodString;
|
|
170
|
+
adapterType: z.ZodString;
|
|
171
|
+
desired: z.ZodBoolean;
|
|
172
|
+
actualState: z.ZodNullable<z.ZodString>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
id: string;
|
|
175
|
+
name: string;
|
|
176
|
+
urlKey: string;
|
|
177
|
+
adapterType: string;
|
|
178
|
+
desired: boolean;
|
|
179
|
+
actualState: string | null;
|
|
180
|
+
}, {
|
|
181
|
+
id: string;
|
|
182
|
+
name: string;
|
|
183
|
+
urlKey: string;
|
|
184
|
+
adapterType: string;
|
|
185
|
+
desired: boolean;
|
|
186
|
+
actualState: string | null;
|
|
187
|
+
}>;
|
|
188
|
+
export declare const companySkillDetailSchema: z.ZodObject<{
|
|
189
|
+
id: z.ZodString;
|
|
190
|
+
companyId: z.ZodString;
|
|
191
|
+
key: z.ZodString;
|
|
192
|
+
slug: z.ZodString;
|
|
193
|
+
name: z.ZodString;
|
|
194
|
+
description: z.ZodNullable<z.ZodString>;
|
|
195
|
+
markdown: z.ZodString;
|
|
196
|
+
sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
|
|
197
|
+
sourceLocator: z.ZodNullable<z.ZodString>;
|
|
198
|
+
sourceRef: z.ZodNullable<z.ZodString>;
|
|
199
|
+
trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
|
|
200
|
+
compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
|
|
201
|
+
fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
202
|
+
path: z.ZodString;
|
|
203
|
+
kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
path: string;
|
|
206
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
207
|
+
}, {
|
|
208
|
+
path: string;
|
|
209
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
210
|
+
}>, "many">>;
|
|
211
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
212
|
+
createdAt: z.ZodDate;
|
|
213
|
+
updatedAt: z.ZodDate;
|
|
214
|
+
} & {
|
|
215
|
+
attachedAgentCount: z.ZodNumber;
|
|
216
|
+
usedByAgents: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
217
|
+
id: z.ZodString;
|
|
218
|
+
name: z.ZodString;
|
|
219
|
+
urlKey: z.ZodString;
|
|
220
|
+
adapterType: z.ZodString;
|
|
221
|
+
desired: z.ZodBoolean;
|
|
222
|
+
actualState: z.ZodNullable<z.ZodString>;
|
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
id: string;
|
|
225
|
+
name: string;
|
|
226
|
+
urlKey: string;
|
|
227
|
+
adapterType: string;
|
|
228
|
+
desired: boolean;
|
|
229
|
+
actualState: string | null;
|
|
230
|
+
}, {
|
|
231
|
+
id: string;
|
|
232
|
+
name: string;
|
|
233
|
+
urlKey: string;
|
|
234
|
+
adapterType: string;
|
|
235
|
+
desired: boolean;
|
|
236
|
+
actualState: string | null;
|
|
237
|
+
}>, "many">>;
|
|
238
|
+
editable: z.ZodBoolean;
|
|
239
|
+
editableReason: z.ZodNullable<z.ZodString>;
|
|
240
|
+
sourceLabel: z.ZodNullable<z.ZodString>;
|
|
241
|
+
sourceBadge: z.ZodEnum<["fidelios", "github", "local", "url", "catalog", "skills_sh"]>;
|
|
242
|
+
}, "strip", z.ZodTypeAny, {
|
|
243
|
+
updatedAt: Date;
|
|
244
|
+
markdown: string;
|
|
245
|
+
id: string;
|
|
246
|
+
companyId: string;
|
|
247
|
+
createdAt: Date;
|
|
248
|
+
name: string;
|
|
249
|
+
description: string | null;
|
|
250
|
+
key: string;
|
|
251
|
+
slug: string;
|
|
252
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
253
|
+
sourceLocator: string | null;
|
|
254
|
+
sourceRef: string | null;
|
|
255
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
256
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
257
|
+
fileInventory: {
|
|
258
|
+
path: string;
|
|
259
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
260
|
+
}[];
|
|
261
|
+
metadata: Record<string, unknown> | null;
|
|
262
|
+
attachedAgentCount: number;
|
|
263
|
+
editable: boolean;
|
|
264
|
+
editableReason: string | null;
|
|
265
|
+
sourceLabel: string | null;
|
|
266
|
+
sourceBadge: "fidelios" | "github" | "url" | "catalog" | "skills_sh" | "local";
|
|
267
|
+
usedByAgents: {
|
|
268
|
+
id: string;
|
|
269
|
+
name: string;
|
|
270
|
+
urlKey: string;
|
|
271
|
+
adapterType: string;
|
|
272
|
+
desired: boolean;
|
|
273
|
+
actualState: string | null;
|
|
274
|
+
}[];
|
|
275
|
+
}, {
|
|
276
|
+
updatedAt: Date;
|
|
277
|
+
markdown: string;
|
|
278
|
+
id: string;
|
|
279
|
+
companyId: string;
|
|
280
|
+
createdAt: Date;
|
|
281
|
+
name: string;
|
|
282
|
+
description: string | null;
|
|
283
|
+
key: string;
|
|
284
|
+
slug: string;
|
|
285
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
286
|
+
sourceLocator: string | null;
|
|
287
|
+
sourceRef: string | null;
|
|
288
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
289
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
290
|
+
metadata: Record<string, unknown> | null;
|
|
291
|
+
attachedAgentCount: number;
|
|
292
|
+
editable: boolean;
|
|
293
|
+
editableReason: string | null;
|
|
294
|
+
sourceLabel: string | null;
|
|
295
|
+
sourceBadge: "fidelios" | "github" | "url" | "catalog" | "skills_sh" | "local";
|
|
296
|
+
fileInventory?: {
|
|
297
|
+
path: string;
|
|
298
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
299
|
+
}[] | undefined;
|
|
300
|
+
usedByAgents?: {
|
|
301
|
+
id: string;
|
|
302
|
+
name: string;
|
|
303
|
+
urlKey: string;
|
|
304
|
+
adapterType: string;
|
|
305
|
+
desired: boolean;
|
|
306
|
+
actualState: string | null;
|
|
307
|
+
}[] | undefined;
|
|
308
|
+
}>;
|
|
309
|
+
export declare const companySkillUpdateStatusSchema: z.ZodObject<{
|
|
310
|
+
supported: z.ZodBoolean;
|
|
311
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
312
|
+
trackingRef: z.ZodNullable<z.ZodString>;
|
|
313
|
+
currentRef: z.ZodNullable<z.ZodString>;
|
|
314
|
+
latestRef: z.ZodNullable<z.ZodString>;
|
|
315
|
+
hasUpdate: z.ZodBoolean;
|
|
316
|
+
}, "strip", z.ZodTypeAny, {
|
|
317
|
+
supported: boolean;
|
|
318
|
+
reason: string | null;
|
|
319
|
+
trackingRef: string | null;
|
|
320
|
+
currentRef: string | null;
|
|
321
|
+
latestRef: string | null;
|
|
322
|
+
hasUpdate: boolean;
|
|
323
|
+
}, {
|
|
324
|
+
supported: boolean;
|
|
325
|
+
reason: string | null;
|
|
326
|
+
trackingRef: string | null;
|
|
327
|
+
currentRef: string | null;
|
|
328
|
+
latestRef: string | null;
|
|
329
|
+
hasUpdate: boolean;
|
|
330
|
+
}>;
|
|
331
|
+
export declare const companySkillImportSchema: z.ZodObject<{
|
|
332
|
+
source: z.ZodString;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
source: string;
|
|
335
|
+
}, {
|
|
336
|
+
source: string;
|
|
337
|
+
}>;
|
|
338
|
+
export declare const companySkillProjectScanRequestSchema: z.ZodObject<{
|
|
339
|
+
projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
340
|
+
workspaceIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
341
|
+
}, "strip", z.ZodTypeAny, {
|
|
342
|
+
projectIds?: string[] | undefined;
|
|
343
|
+
workspaceIds?: string[] | undefined;
|
|
344
|
+
}, {
|
|
345
|
+
projectIds?: string[] | undefined;
|
|
346
|
+
workspaceIds?: string[] | undefined;
|
|
347
|
+
}>;
|
|
348
|
+
export declare const companySkillProjectScanSkippedSchema: z.ZodObject<{
|
|
349
|
+
projectId: z.ZodString;
|
|
350
|
+
projectName: z.ZodString;
|
|
351
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
352
|
+
workspaceName: z.ZodNullable<z.ZodString>;
|
|
353
|
+
path: z.ZodNullable<z.ZodString>;
|
|
354
|
+
reason: z.ZodString;
|
|
355
|
+
}, "strip", z.ZodTypeAny, {
|
|
356
|
+
path: string | null;
|
|
357
|
+
reason: string;
|
|
358
|
+
projectId: string;
|
|
359
|
+
projectName: string;
|
|
360
|
+
workspaceId: string | null;
|
|
361
|
+
workspaceName: string | null;
|
|
362
|
+
}, {
|
|
363
|
+
path: string | null;
|
|
364
|
+
reason: string;
|
|
365
|
+
projectId: string;
|
|
366
|
+
projectName: string;
|
|
367
|
+
workspaceId: string | null;
|
|
368
|
+
workspaceName: string | null;
|
|
369
|
+
}>;
|
|
370
|
+
export declare const companySkillProjectScanConflictSchema: z.ZodObject<{
|
|
371
|
+
slug: z.ZodString;
|
|
372
|
+
key: z.ZodString;
|
|
373
|
+
projectId: z.ZodString;
|
|
374
|
+
projectName: z.ZodString;
|
|
375
|
+
workspaceId: z.ZodString;
|
|
376
|
+
workspaceName: z.ZodString;
|
|
377
|
+
path: z.ZodString;
|
|
378
|
+
existingSkillId: z.ZodString;
|
|
379
|
+
existingSkillKey: z.ZodString;
|
|
380
|
+
existingSourceLocator: z.ZodNullable<z.ZodString>;
|
|
381
|
+
reason: z.ZodString;
|
|
382
|
+
}, "strip", z.ZodTypeAny, {
|
|
383
|
+
path: string;
|
|
384
|
+
key: string;
|
|
385
|
+
slug: string;
|
|
386
|
+
reason: string;
|
|
387
|
+
projectId: string;
|
|
388
|
+
projectName: string;
|
|
389
|
+
workspaceId: string;
|
|
390
|
+
workspaceName: string;
|
|
391
|
+
existingSkillId: string;
|
|
392
|
+
existingSkillKey: string;
|
|
393
|
+
existingSourceLocator: string | null;
|
|
394
|
+
}, {
|
|
395
|
+
path: string;
|
|
396
|
+
key: string;
|
|
397
|
+
slug: string;
|
|
398
|
+
reason: string;
|
|
399
|
+
projectId: string;
|
|
400
|
+
projectName: string;
|
|
401
|
+
workspaceId: string;
|
|
402
|
+
workspaceName: string;
|
|
403
|
+
existingSkillId: string;
|
|
404
|
+
existingSkillKey: string;
|
|
405
|
+
existingSourceLocator: string | null;
|
|
406
|
+
}>;
|
|
407
|
+
export declare const companySkillProjectScanResultSchema: z.ZodObject<{
|
|
408
|
+
scannedProjects: z.ZodNumber;
|
|
409
|
+
scannedWorkspaces: z.ZodNumber;
|
|
410
|
+
discovered: z.ZodNumber;
|
|
411
|
+
imported: z.ZodArray<z.ZodObject<{
|
|
412
|
+
id: z.ZodString;
|
|
413
|
+
companyId: z.ZodString;
|
|
414
|
+
key: z.ZodString;
|
|
415
|
+
slug: z.ZodString;
|
|
416
|
+
name: z.ZodString;
|
|
417
|
+
description: z.ZodNullable<z.ZodString>;
|
|
418
|
+
markdown: z.ZodString;
|
|
419
|
+
sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
|
|
420
|
+
sourceLocator: z.ZodNullable<z.ZodString>;
|
|
421
|
+
sourceRef: z.ZodNullable<z.ZodString>;
|
|
422
|
+
trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
|
|
423
|
+
compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
|
|
424
|
+
fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
425
|
+
path: z.ZodString;
|
|
426
|
+
kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
|
|
427
|
+
}, "strip", z.ZodTypeAny, {
|
|
428
|
+
path: string;
|
|
429
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
430
|
+
}, {
|
|
431
|
+
path: string;
|
|
432
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
433
|
+
}>, "many">>;
|
|
434
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
435
|
+
createdAt: z.ZodDate;
|
|
436
|
+
updatedAt: z.ZodDate;
|
|
437
|
+
}, "strip", z.ZodTypeAny, {
|
|
438
|
+
updatedAt: Date;
|
|
439
|
+
markdown: string;
|
|
440
|
+
id: string;
|
|
441
|
+
companyId: string;
|
|
442
|
+
createdAt: Date;
|
|
443
|
+
name: string;
|
|
444
|
+
description: string | null;
|
|
445
|
+
key: string;
|
|
446
|
+
slug: string;
|
|
447
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
448
|
+
sourceLocator: string | null;
|
|
449
|
+
sourceRef: string | null;
|
|
450
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
451
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
452
|
+
fileInventory: {
|
|
453
|
+
path: string;
|
|
454
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
455
|
+
}[];
|
|
456
|
+
metadata: Record<string, unknown> | null;
|
|
457
|
+
}, {
|
|
458
|
+
updatedAt: Date;
|
|
459
|
+
markdown: string;
|
|
460
|
+
id: string;
|
|
461
|
+
companyId: string;
|
|
462
|
+
createdAt: Date;
|
|
463
|
+
name: string;
|
|
464
|
+
description: string | null;
|
|
465
|
+
key: string;
|
|
466
|
+
slug: string;
|
|
467
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
468
|
+
sourceLocator: string | null;
|
|
469
|
+
sourceRef: string | null;
|
|
470
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
471
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
472
|
+
metadata: Record<string, unknown> | null;
|
|
473
|
+
fileInventory?: {
|
|
474
|
+
path: string;
|
|
475
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
476
|
+
}[] | undefined;
|
|
477
|
+
}>, "many">;
|
|
478
|
+
updated: z.ZodArray<z.ZodObject<{
|
|
479
|
+
id: z.ZodString;
|
|
480
|
+
companyId: z.ZodString;
|
|
481
|
+
key: z.ZodString;
|
|
482
|
+
slug: z.ZodString;
|
|
483
|
+
name: z.ZodString;
|
|
484
|
+
description: z.ZodNullable<z.ZodString>;
|
|
485
|
+
markdown: z.ZodString;
|
|
486
|
+
sourceType: z.ZodEnum<["local_path", "github", "url", "catalog", "skills_sh"]>;
|
|
487
|
+
sourceLocator: z.ZodNullable<z.ZodString>;
|
|
488
|
+
sourceRef: z.ZodNullable<z.ZodString>;
|
|
489
|
+
trustLevel: z.ZodEnum<["markdown_only", "assets", "scripts_executables"]>;
|
|
490
|
+
compatibility: z.ZodEnum<["compatible", "unknown", "invalid"]>;
|
|
491
|
+
fileInventory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
492
|
+
path: z.ZodString;
|
|
493
|
+
kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
|
|
494
|
+
}, "strip", z.ZodTypeAny, {
|
|
495
|
+
path: string;
|
|
496
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
497
|
+
}, {
|
|
498
|
+
path: string;
|
|
499
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
500
|
+
}>, "many">>;
|
|
501
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
502
|
+
createdAt: z.ZodDate;
|
|
503
|
+
updatedAt: z.ZodDate;
|
|
504
|
+
}, "strip", z.ZodTypeAny, {
|
|
505
|
+
updatedAt: Date;
|
|
506
|
+
markdown: string;
|
|
507
|
+
id: string;
|
|
508
|
+
companyId: string;
|
|
509
|
+
createdAt: Date;
|
|
510
|
+
name: string;
|
|
511
|
+
description: string | null;
|
|
512
|
+
key: string;
|
|
513
|
+
slug: string;
|
|
514
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
515
|
+
sourceLocator: string | null;
|
|
516
|
+
sourceRef: string | null;
|
|
517
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
518
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
519
|
+
fileInventory: {
|
|
520
|
+
path: string;
|
|
521
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
522
|
+
}[];
|
|
523
|
+
metadata: Record<string, unknown> | null;
|
|
524
|
+
}, {
|
|
525
|
+
updatedAt: Date;
|
|
526
|
+
markdown: string;
|
|
527
|
+
id: string;
|
|
528
|
+
companyId: string;
|
|
529
|
+
createdAt: Date;
|
|
530
|
+
name: string;
|
|
531
|
+
description: string | null;
|
|
532
|
+
key: string;
|
|
533
|
+
slug: string;
|
|
534
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
535
|
+
sourceLocator: string | null;
|
|
536
|
+
sourceRef: string | null;
|
|
537
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
538
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
539
|
+
metadata: Record<string, unknown> | null;
|
|
540
|
+
fileInventory?: {
|
|
541
|
+
path: string;
|
|
542
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
543
|
+
}[] | undefined;
|
|
544
|
+
}>, "many">;
|
|
545
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
546
|
+
projectId: z.ZodString;
|
|
547
|
+
projectName: z.ZodString;
|
|
548
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
549
|
+
workspaceName: z.ZodNullable<z.ZodString>;
|
|
550
|
+
path: z.ZodNullable<z.ZodString>;
|
|
551
|
+
reason: z.ZodString;
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
|
+
path: string | null;
|
|
554
|
+
reason: string;
|
|
555
|
+
projectId: string;
|
|
556
|
+
projectName: string;
|
|
557
|
+
workspaceId: string | null;
|
|
558
|
+
workspaceName: string | null;
|
|
559
|
+
}, {
|
|
560
|
+
path: string | null;
|
|
561
|
+
reason: string;
|
|
562
|
+
projectId: string;
|
|
563
|
+
projectName: string;
|
|
564
|
+
workspaceId: string | null;
|
|
565
|
+
workspaceName: string | null;
|
|
566
|
+
}>, "many">;
|
|
567
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
568
|
+
slug: z.ZodString;
|
|
569
|
+
key: z.ZodString;
|
|
570
|
+
projectId: z.ZodString;
|
|
571
|
+
projectName: z.ZodString;
|
|
572
|
+
workspaceId: z.ZodString;
|
|
573
|
+
workspaceName: z.ZodString;
|
|
574
|
+
path: z.ZodString;
|
|
575
|
+
existingSkillId: z.ZodString;
|
|
576
|
+
existingSkillKey: z.ZodString;
|
|
577
|
+
existingSourceLocator: z.ZodNullable<z.ZodString>;
|
|
578
|
+
reason: z.ZodString;
|
|
579
|
+
}, "strip", z.ZodTypeAny, {
|
|
580
|
+
path: string;
|
|
581
|
+
key: string;
|
|
582
|
+
slug: string;
|
|
583
|
+
reason: string;
|
|
584
|
+
projectId: string;
|
|
585
|
+
projectName: string;
|
|
586
|
+
workspaceId: string;
|
|
587
|
+
workspaceName: string;
|
|
588
|
+
existingSkillId: string;
|
|
589
|
+
existingSkillKey: string;
|
|
590
|
+
existingSourceLocator: string | null;
|
|
591
|
+
}, {
|
|
592
|
+
path: string;
|
|
593
|
+
key: string;
|
|
594
|
+
slug: string;
|
|
595
|
+
reason: string;
|
|
596
|
+
projectId: string;
|
|
597
|
+
projectName: string;
|
|
598
|
+
workspaceId: string;
|
|
599
|
+
workspaceName: string;
|
|
600
|
+
existingSkillId: string;
|
|
601
|
+
existingSkillKey: string;
|
|
602
|
+
existingSourceLocator: string | null;
|
|
603
|
+
}>, "many">;
|
|
604
|
+
warnings: z.ZodArray<z.ZodString, "many">;
|
|
605
|
+
}, "strip", z.ZodTypeAny, {
|
|
606
|
+
skipped: {
|
|
607
|
+
path: string | null;
|
|
608
|
+
reason: string;
|
|
609
|
+
projectId: string;
|
|
610
|
+
projectName: string;
|
|
611
|
+
workspaceId: string | null;
|
|
612
|
+
workspaceName: string | null;
|
|
613
|
+
}[];
|
|
614
|
+
updated: {
|
|
615
|
+
updatedAt: Date;
|
|
616
|
+
markdown: string;
|
|
617
|
+
id: string;
|
|
618
|
+
companyId: string;
|
|
619
|
+
createdAt: Date;
|
|
620
|
+
name: string;
|
|
621
|
+
description: string | null;
|
|
622
|
+
key: string;
|
|
623
|
+
slug: string;
|
|
624
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
625
|
+
sourceLocator: string | null;
|
|
626
|
+
sourceRef: string | null;
|
|
627
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
628
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
629
|
+
fileInventory: {
|
|
630
|
+
path: string;
|
|
631
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
632
|
+
}[];
|
|
633
|
+
metadata: Record<string, unknown> | null;
|
|
634
|
+
}[];
|
|
635
|
+
scannedProjects: number;
|
|
636
|
+
scannedWorkspaces: number;
|
|
637
|
+
discovered: number;
|
|
638
|
+
imported: {
|
|
639
|
+
updatedAt: Date;
|
|
640
|
+
markdown: string;
|
|
641
|
+
id: string;
|
|
642
|
+
companyId: string;
|
|
643
|
+
createdAt: Date;
|
|
644
|
+
name: string;
|
|
645
|
+
description: string | null;
|
|
646
|
+
key: string;
|
|
647
|
+
slug: string;
|
|
648
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
649
|
+
sourceLocator: string | null;
|
|
650
|
+
sourceRef: string | null;
|
|
651
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
652
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
653
|
+
fileInventory: {
|
|
654
|
+
path: string;
|
|
655
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
656
|
+
}[];
|
|
657
|
+
metadata: Record<string, unknown> | null;
|
|
658
|
+
}[];
|
|
659
|
+
conflicts: {
|
|
660
|
+
path: string;
|
|
661
|
+
key: string;
|
|
662
|
+
slug: string;
|
|
663
|
+
reason: string;
|
|
664
|
+
projectId: string;
|
|
665
|
+
projectName: string;
|
|
666
|
+
workspaceId: string;
|
|
667
|
+
workspaceName: string;
|
|
668
|
+
existingSkillId: string;
|
|
669
|
+
existingSkillKey: string;
|
|
670
|
+
existingSourceLocator: string | null;
|
|
671
|
+
}[];
|
|
672
|
+
warnings: string[];
|
|
673
|
+
}, {
|
|
674
|
+
skipped: {
|
|
675
|
+
path: string | null;
|
|
676
|
+
reason: string;
|
|
677
|
+
projectId: string;
|
|
678
|
+
projectName: string;
|
|
679
|
+
workspaceId: string | null;
|
|
680
|
+
workspaceName: string | null;
|
|
681
|
+
}[];
|
|
682
|
+
updated: {
|
|
683
|
+
updatedAt: Date;
|
|
684
|
+
markdown: string;
|
|
685
|
+
id: string;
|
|
686
|
+
companyId: string;
|
|
687
|
+
createdAt: Date;
|
|
688
|
+
name: string;
|
|
689
|
+
description: string | null;
|
|
690
|
+
key: string;
|
|
691
|
+
slug: string;
|
|
692
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
693
|
+
sourceLocator: string | null;
|
|
694
|
+
sourceRef: string | null;
|
|
695
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
696
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
697
|
+
metadata: Record<string, unknown> | null;
|
|
698
|
+
fileInventory?: {
|
|
699
|
+
path: string;
|
|
700
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
701
|
+
}[] | undefined;
|
|
702
|
+
}[];
|
|
703
|
+
scannedProjects: number;
|
|
704
|
+
scannedWorkspaces: number;
|
|
705
|
+
discovered: number;
|
|
706
|
+
imported: {
|
|
707
|
+
updatedAt: Date;
|
|
708
|
+
markdown: string;
|
|
709
|
+
id: string;
|
|
710
|
+
companyId: string;
|
|
711
|
+
createdAt: Date;
|
|
712
|
+
name: string;
|
|
713
|
+
description: string | null;
|
|
714
|
+
key: string;
|
|
715
|
+
slug: string;
|
|
716
|
+
sourceType: "local_path" | "github" | "url" | "catalog" | "skills_sh";
|
|
717
|
+
sourceLocator: string | null;
|
|
718
|
+
sourceRef: string | null;
|
|
719
|
+
trustLevel: "markdown_only" | "assets" | "scripts_executables";
|
|
720
|
+
compatibility: "unknown" | "compatible" | "invalid";
|
|
721
|
+
metadata: Record<string, unknown> | null;
|
|
722
|
+
fileInventory?: {
|
|
723
|
+
path: string;
|
|
724
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
725
|
+
}[] | undefined;
|
|
726
|
+
}[];
|
|
727
|
+
conflicts: {
|
|
728
|
+
path: string;
|
|
729
|
+
key: string;
|
|
730
|
+
slug: string;
|
|
731
|
+
reason: string;
|
|
732
|
+
projectId: string;
|
|
733
|
+
projectName: string;
|
|
734
|
+
workspaceId: string;
|
|
735
|
+
workspaceName: string;
|
|
736
|
+
existingSkillId: string;
|
|
737
|
+
existingSkillKey: string;
|
|
738
|
+
existingSourceLocator: string | null;
|
|
739
|
+
}[];
|
|
740
|
+
warnings: string[];
|
|
741
|
+
}>;
|
|
742
|
+
export declare const companySkillCreateSchema: z.ZodObject<{
|
|
743
|
+
name: z.ZodString;
|
|
744
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
745
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
746
|
+
markdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
|
+
name: string;
|
|
749
|
+
markdown?: string | null | undefined;
|
|
750
|
+
description?: string | null | undefined;
|
|
751
|
+
slug?: string | null | undefined;
|
|
752
|
+
}, {
|
|
753
|
+
name: string;
|
|
754
|
+
markdown?: string | null | undefined;
|
|
755
|
+
description?: string | null | undefined;
|
|
756
|
+
slug?: string | null | undefined;
|
|
757
|
+
}>;
|
|
758
|
+
export declare const companySkillFileDetailSchema: z.ZodObject<{
|
|
759
|
+
skillId: z.ZodString;
|
|
760
|
+
path: z.ZodString;
|
|
761
|
+
kind: z.ZodEnum<["skill", "markdown", "reference", "script", "asset", "other"]>;
|
|
762
|
+
content: z.ZodString;
|
|
763
|
+
language: z.ZodNullable<z.ZodString>;
|
|
764
|
+
markdown: z.ZodBoolean;
|
|
765
|
+
editable: z.ZodBoolean;
|
|
766
|
+
}, "strip", z.ZodTypeAny, {
|
|
767
|
+
path: string;
|
|
768
|
+
markdown: boolean;
|
|
769
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
770
|
+
editable: boolean;
|
|
771
|
+
skillId: string;
|
|
772
|
+
content: string;
|
|
773
|
+
language: string | null;
|
|
774
|
+
}, {
|
|
775
|
+
path: string;
|
|
776
|
+
markdown: boolean;
|
|
777
|
+
kind: "skill" | "markdown" | "reference" | "script" | "asset" | "other";
|
|
778
|
+
editable: boolean;
|
|
779
|
+
skillId: string;
|
|
780
|
+
content: string;
|
|
781
|
+
language: string | null;
|
|
782
|
+
}>;
|
|
783
|
+
export declare const companySkillFileUpdateSchema: z.ZodObject<{
|
|
784
|
+
path: z.ZodString;
|
|
785
|
+
content: z.ZodString;
|
|
786
|
+
}, "strip", z.ZodTypeAny, {
|
|
787
|
+
path: string;
|
|
788
|
+
content: string;
|
|
789
|
+
}, {
|
|
790
|
+
path: string;
|
|
791
|
+
content: string;
|
|
792
|
+
}>;
|
|
793
|
+
export type CompanySkillImport = z.infer<typeof companySkillImportSchema>;
|
|
794
|
+
export type CompanySkillProjectScan = z.infer<typeof companySkillProjectScanRequestSchema>;
|
|
795
|
+
export type CompanySkillCreate = z.infer<typeof companySkillCreateSchema>;
|
|
796
|
+
export type CompanySkillFileUpdate = z.infer<typeof companySkillFileUpdateSchema>;
|
|
797
|
+
//# sourceMappingURL=company-skill.d.ts.map
|