@ai-outfitter/outfitter 1.11.0 → 1.13.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/.outfitter/skills/outfitter/SKILL.md +4 -0
- package/README.md +5 -1
- package/dist/cli/OutfitterCli.js +2 -0
- package/dist/cli/OutfitterCli.js.map +1 -1
- package/dist/cli/commands/DumpCommand.d.ts +1 -0
- package/dist/cli/commands/DumpCommand.js +12 -5
- package/dist/cli/commands/DumpCommand.js.map +1 -1
- package/dist/cli/commands/ListCommand.d.ts +9 -0
- package/dist/cli/commands/ListCommand.js +25 -9
- package/dist/cli/commands/ListCommand.js.map +1 -1
- package/dist/cli/commands/RunAgentCommand.d.ts +5 -0
- package/dist/cli/commands/RunAgentCommand.js +16 -1
- package/dist/cli/commands/RunAgentCommand.js.map +1 -1
- package/dist/cli/commands/SetupCommand.d.ts +2 -1
- package/dist/cli/commands/SetupCommand.js +1 -0
- package/dist/cli/commands/SetupCommand.js.map +1 -1
- package/dist/cli/commands/SourcesCommand.d.ts +19 -0
- package/dist/cli/commands/SourcesCommand.js +85 -0
- package/dist/cli/commands/SourcesCommand.js.map +1 -0
- package/dist/cli/commands/SyncCommand.js +8 -0
- package/dist/cli/commands/SyncCommand.js.map +1 -1
- package/dist/dump/WorkflowDump.d.ts +4 -0
- package/dist/dump/WorkflowDump.js +148 -0
- package/dist/dump/WorkflowDump.js.map +1 -0
- package/dist/resolver/Resolver.js +2 -0
- package/dist/resolver/Resolver.js.map +1 -1
- package/dist/resolver/ResolverValidation.js +156 -1
- package/dist/resolver/ResolverValidation.js.map +1 -1
- package/dist/resolver/Resource.d.ts +1 -1
- package/dist/resolver/Resource.js +1 -1
- package/dist/resolver/Resource.js.map +1 -1
- package/dist/resolver/WorkflowDefinition.d.ts +56 -0
- package/dist/resolver/WorkflowDefinition.js +23 -0
- package/dist/resolver/WorkflowDefinition.js.map +1 -0
- package/dist/schemas/settings.schema.json +5 -0
- package/dist/schemas/workflow.schema.json +81 -0
- package/dist/settings/Settings.d.ts +6 -0
- package/dist/settings/Settings.js +1 -0
- package/dist/settings/Settings.js.map +1 -1
- package/dist/settings/SettingsLoader.js +1 -0
- package/dist/settings/SettingsLoader.js.map +1 -1
- package/dist/settings/SettingsMerger.js +3 -0
- package/dist/settings/SettingsMerger.js.map +1 -1
- package/dist/setup/DefaultCatalog.js +19 -3
- package/dist/setup/DefaultCatalog.js.map +1 -1
- package/dist/sources/SourceCachePolicy.d.ts +11 -0
- package/dist/sources/SourceCachePolicy.js +48 -0
- package/dist/sources/SourceCachePolicy.js.map +1 -0
- package/dist/sources/SourceState.d.ts +32 -0
- package/dist/sources/SourceState.js +90 -0
- package/dist/sources/SourceState.js.map +1 -0
- package/dist/validation/SchemaValidator.d.ts +1 -1
- package/dist/validation/SchemaValidator.js +2 -0
- package/dist/validation/SchemaValidator.js.map +1 -1
- package/docs/documentation/README.md +5 -3
- package/docs/documentation/ai-outfitter.md +259 -0
- package/docs/documentation/assets/feature-to-pr.svg +70 -0
- package/docs/documentation/catalogs.md +9 -1
- package/docs/documentation/cli.md +21 -8
- package/docs/documentation/containers.md +3 -80
- package/docs/documentation/dump-and-bake.md +2 -0
- package/docs/documentation/settings.md +5 -0
- package/package.json +1 -1
- package/src/schemas/settings.schema.json +5 -0
- package/src/schemas/workflow.schema.json +81 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://ai-outfitter.com/schemas/workflow.schema.json",
|
|
4
|
+
"title": "AI Outfitter workflow",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": true,
|
|
7
|
+
"required": ["version", "id", "title", "description", "actors", "nodes"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"version": { "const": 1 },
|
|
10
|
+
"id": { "type": "string", "pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$" },
|
|
11
|
+
"title": { "type": "string", "minLength": 1 },
|
|
12
|
+
"description": { "type": "string", "minLength": 1 },
|
|
13
|
+
"status": { "type": "string" },
|
|
14
|
+
"actors": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"additionalProperties": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"additionalProperties": true,
|
|
19
|
+
"required": ["kind"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"kind": { "enum": ["human", "agent", "tool", "system"] },
|
|
22
|
+
"profile": { "type": "string" },
|
|
23
|
+
"skills": { "type": "array", "items": { "type": "string" }, "uniqueItems": true }
|
|
24
|
+
},
|
|
25
|
+
"allOf": [
|
|
26
|
+
{
|
|
27
|
+
"if": { "properties": { "kind": { "const": "agent" } }, "required": ["kind"] },
|
|
28
|
+
"then": { "required": ["profile"] }
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"environments": { "type": "object" },
|
|
34
|
+
"integrations": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"additionalProperties": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": true,
|
|
39
|
+
"properties": {
|
|
40
|
+
"kind": { "type": "string" },
|
|
41
|
+
"server": { "type": "string" },
|
|
42
|
+
"tools": { "type": "array", "items": { "type": "string" }, "uniqueItems": true },
|
|
43
|
+
"repository": { "type": "string" },
|
|
44
|
+
"ref": { "type": "string" },
|
|
45
|
+
"path": { "type": "string" },
|
|
46
|
+
"sha256": { "type": "string" }
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"checks": { "type": "object" },
|
|
51
|
+
"triggers": { "type": "array", "items": { "type": "object" } },
|
|
52
|
+
"feedback": { "type": "array", "items": { "type": "object", "required": ["from", "to"] } },
|
|
53
|
+
"nodes": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"minItems": 1,
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"additionalProperties": true,
|
|
59
|
+
"required": ["id", "description"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"id": { "type": "string", "pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$" },
|
|
62
|
+
"description": { "type": "string", "minLength": 1 },
|
|
63
|
+
"action": { "type": "string" },
|
|
64
|
+
"workflow": { "type": "string" },
|
|
65
|
+
"actor": { "type": "string" },
|
|
66
|
+
"environment": { "type": "string" },
|
|
67
|
+
"needs": { "type": "array", "items": { "type": "string" }, "uniqueItems": true },
|
|
68
|
+
"skill": { "type": "string" },
|
|
69
|
+
"skills": { "type": "array", "items": { "type": "string" }, "uniqueItems": true },
|
|
70
|
+
"prompt_fragment": { "type": "string" },
|
|
71
|
+
"prompt_fragments": { "type": "array", "items": { "type": "string" }, "uniqueItems": true },
|
|
72
|
+
"uses": { "type": "array", "items": { "type": "string" }, "uniqueItems": true }
|
|
73
|
+
},
|
|
74
|
+
"oneOf": [
|
|
75
|
+
{ "required": ["action"], "not": { "required": ["workflow"] } },
|
|
76
|
+
{ "required": ["workflow"], "not": { "required": ["action"] } }
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|