Agents crud (#9084)
This commit is contained in:
@@ -797,6 +797,11 @@ export type SourceEntry = {
|
||||
* when it lives inside a specific project.
|
||||
*/
|
||||
global: boolean;
|
||||
/**
|
||||
* True when this source can be modified through source CRUD methods.
|
||||
* Client-provided bundled sources are returned as read-only.
|
||||
*/
|
||||
writable?: boolean;
|
||||
/**
|
||||
* Paths (absolute) of additional files that live alongside the source.
|
||||
* Only skills currently populate this; empty for other source types.
|
||||
|
||||
@@ -791,6 +791,7 @@ export const zSourceEntry = z.object({
|
||||
content: z.string(),
|
||||
path: z.string(),
|
||||
global: z.boolean(),
|
||||
writable: z.boolean().optional().default(false),
|
||||
supportingFiles: z.array(z.string()).optional(),
|
||||
properties: z.record(z.unknown()).optional()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user