Agents crud (#9084)

This commit is contained in:
Jack Amadeo
2026-05-11 13:33:32 -04:00
committed by GitHub
parent 40d4b118bb
commit a38922d95e
43 changed files with 1463 additions and 1458 deletions
+5
View File
@@ -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.
+1
View File
@@ -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()
});