steer-ai 0.1.0__py3-none-any.whl
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.
- steer/__init__.py +55 -0
- steer/cli.py +927 -0
- steer/context.py +281 -0
- steer/create.py +402 -0
- steer/distribute.py +158 -0
- steer/flow.py +648 -0
- steer/frontmatter.py +307 -0
- steer/learn.py +575 -0
- steer/output.py +70 -0
- steer/paths.py +132 -0
- steer/proc.py +269 -0
- steer/renderer.py +140 -0
- steer/scaffold.py +74 -0
- steer/secrets.py +251 -0
- steer/skill.py +125 -0
- steer/store.py +195 -0
- steer/validate.py +434 -0
- steer_ai-0.1.0.dist-info/METADATA +300 -0
- steer_ai-0.1.0.dist-info/RECORD +22 -0
- steer_ai-0.1.0.dist-info/WHEEL +4 -0
- steer_ai-0.1.0.dist-info/entry_points.txt +2 -0
- steer_ai-0.1.0.dist-info/licenses/LICENSE +21 -0
steer/__init__.py
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Steer: the framework for building Agent Skills.
|
|
3
|
+
|
|
4
|
+
Skills (SKILL.md + scripts/references/assets) ship with no batteries:
|
|
5
|
+
the spec says nothing about credentials, persistence, context gathering,
|
|
6
|
+
or step enforcement. Steer provides those as components, plus the
|
|
7
|
+
authoring tools to scaffold, validate, package, and install skills.
|
|
8
|
+
|
|
9
|
+
Author-time (CLI):
|
|
10
|
+
steer new my-skill --with secrets,store,context,flow
|
|
11
|
+
steer validate steer package
|
|
12
|
+
steer install steer list
|
|
13
|
+
|
|
14
|
+
Runtime (library or CLI, usable from SKILL.md with no code):
|
|
15
|
+
from steer import Secrets, Store, Flow, Step
|
|
16
|
+
from steer.context import gather
|
|
17
|
+
from steer.output import print_envelope
|
|
18
|
+
|
|
19
|
+
Steer is zero-dependency: Python stdlib only.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
__version__ = "0.1.0"
|
|
23
|
+
|
|
24
|
+
from .flow import (
|
|
25
|
+
Directive,
|
|
26
|
+
Flow,
|
|
27
|
+
FlowBlockedError,
|
|
28
|
+
Step,
|
|
29
|
+
StepContext,
|
|
30
|
+
StepStatus,
|
|
31
|
+
load_flow,
|
|
32
|
+
)
|
|
33
|
+
from .learn import Learnings, LessonRejected
|
|
34
|
+
from .output import envelope, output_json, print_envelope
|
|
35
|
+
from .renderer import render_commands, render_directive, render_workflow
|
|
36
|
+
from .scaffold import FileSpec, ScaffoldResult, scaffold_project
|
|
37
|
+
from .secrets import MissingSecretError, Secrets
|
|
38
|
+
from .skill import Skill, SkillNotFound, discover
|
|
39
|
+
from .store import Store
|
|
40
|
+
from .validate import Finding, validate_skill
|
|
41
|
+
|
|
42
|
+
__all__ = [
|
|
43
|
+
"__version__",
|
|
44
|
+
# flow
|
|
45
|
+
"Flow", "FlowBlockedError", "Step", "Directive", "StepContext",
|
|
46
|
+
"StepStatus", "load_flow",
|
|
47
|
+
# components
|
|
48
|
+
"Secrets", "MissingSecretError", "Store", "Learnings", "LessonRejected",
|
|
49
|
+
# skill model + authoring
|
|
50
|
+
"Skill", "SkillNotFound", "discover", "Finding", "validate_skill",
|
|
51
|
+
"scaffold_project", "FileSpec", "ScaffoldResult",
|
|
52
|
+
# output
|
|
53
|
+
"envelope", "print_envelope", "output_json",
|
|
54
|
+
"render_workflow", "render_directive", "render_commands",
|
|
55
|
+
]
|