praxo-core 0.3.0 → 0.4.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.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/api/0.1.0.txt +110 -110
- data/api/0.2.0.txt +112 -112
- data/api/0.3.0.txt +122 -119
- data/api/0.4.0.txt +122 -0
- data/lib/praxo/agent.rb +352 -292
- data/lib/praxo/models.rb +21 -0
- metadata +2 -1
data/api/0.3.0.txt
CHANGED
|
@@ -1,119 +1,122 @@
|
|
|
1
|
-
# PRAXO-CORE Ruby API 0.3.0
|
|
2
|
-
# SPEC_VERSION 0.2.0
|
|
3
|
-
|
|
4
|
-
class AgentOptions
|
|
5
|
-
class CallLimit
|
|
6
|
-
class CheckpointAllowlist
|
|
7
|
-
class ContextBudget
|
|
8
|
-
class Error
|
|
9
|
-
class FilterSink
|
|
10
|
-
class FuncTool
|
|
11
|
-
class MemoryStore
|
|
12
|
-
class MultiSink
|
|
13
|
-
class PathChecker
|
|
14
|
-
class PiiRedactor
|
|
15
|
-
class Runner
|
|
16
|
-
class StaticModel
|
|
17
|
-
class StructuredOutput
|
|
18
|
-
class ToolRegistry
|
|
19
|
-
class ToolSelection
|
|
20
|
-
def action
|
|
21
|
-
def after_run
|
|
22
|
-
def allowed?
|
|
23
|
-
def allows?
|
|
24
|
-
def apply
|
|
25
|
-
def
|
|
26
|
-
def
|
|
27
|
-
def
|
|
28
|
-
def
|
|
29
|
-
def
|
|
30
|
-
def
|
|
31
|
-
def
|
|
32
|
-
def
|
|
33
|
-
def
|
|
34
|
-
def
|
|
35
|
-
def
|
|
36
|
-
def
|
|
37
|
-
def
|
|
38
|
-
def
|
|
39
|
-
def
|
|
40
|
-
def
|
|
41
|
-
def
|
|
42
|
-
def
|
|
43
|
-
def
|
|
44
|
-
def
|
|
45
|
-
def
|
|
46
|
-
def
|
|
47
|
-
def
|
|
48
|
-
def
|
|
49
|
-
def
|
|
50
|
-
def
|
|
51
|
-
def
|
|
52
|
-
def
|
|
53
|
-
def
|
|
54
|
-
def
|
|
55
|
-
def
|
|
56
|
-
def
|
|
57
|
-
def
|
|
58
|
-
def
|
|
59
|
-
def
|
|
60
|
-
def
|
|
61
|
-
def
|
|
62
|
-
def
|
|
63
|
-
def
|
|
64
|
-
def
|
|
65
|
-
def
|
|
66
|
-
def
|
|
67
|
-
def
|
|
68
|
-
def
|
|
69
|
-
def
|
|
70
|
-
def
|
|
71
|
-
def
|
|
72
|
-
def
|
|
73
|
-
def
|
|
74
|
-
def
|
|
75
|
-
def
|
|
76
|
-
def
|
|
77
|
-
def
|
|
78
|
-
def
|
|
79
|
-
def
|
|
80
|
-
def
|
|
81
|
-
def
|
|
82
|
-
def
|
|
83
|
-
def
|
|
84
|
-
def
|
|
85
|
-
def
|
|
86
|
-
def
|
|
87
|
-
def
|
|
88
|
-
def
|
|
89
|
-
def
|
|
90
|
-
def
|
|
91
|
-
def
|
|
92
|
-
def
|
|
93
|
-
def
|
|
94
|
-
def
|
|
95
|
-
def
|
|
96
|
-
def
|
|
97
|
-
def
|
|
98
|
-
def
|
|
99
|
-
def
|
|
100
|
-
def
|
|
101
|
-
def
|
|
102
|
-
def
|
|
103
|
-
def
|
|
104
|
-
def
|
|
105
|
-
def
|
|
106
|
-
def
|
|
107
|
-
def
|
|
108
|
-
def
|
|
109
|
-
def
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
module
|
|
114
|
-
module
|
|
115
|
-
module
|
|
116
|
-
module
|
|
117
|
-
module
|
|
118
|
-
module
|
|
119
|
-
module
|
|
1
|
+
# PRAXO-CORE Ruby API 0.3.0
|
|
2
|
+
# SPEC_VERSION 0.2.0
|
|
3
|
+
|
|
4
|
+
class AgentOptions
|
|
5
|
+
class CallLimit
|
|
6
|
+
class CheckpointAllowlist
|
|
7
|
+
class ContextBudget
|
|
8
|
+
class Error
|
|
9
|
+
class FilterSink
|
|
10
|
+
class FuncTool
|
|
11
|
+
class MemoryStore
|
|
12
|
+
class MultiSink
|
|
13
|
+
class PathChecker
|
|
14
|
+
class PiiRedactor
|
|
15
|
+
class Runner
|
|
16
|
+
class StaticModel
|
|
17
|
+
class StructuredOutput
|
|
18
|
+
class ToolRegistry
|
|
19
|
+
class ToolSelection
|
|
20
|
+
def action
|
|
21
|
+
def after_run
|
|
22
|
+
def allowed?
|
|
23
|
+
def allows?
|
|
24
|
+
def apply
|
|
25
|
+
def apply_interrupt
|
|
26
|
+
def array
|
|
27
|
+
def as_int
|
|
28
|
+
def as_object
|
|
29
|
+
def as_string
|
|
30
|
+
def authorize
|
|
31
|
+
def before_model
|
|
32
|
+
def before_run
|
|
33
|
+
def before_tool
|
|
34
|
+
def bool
|
|
35
|
+
def check
|
|
36
|
+
def check_cancelled
|
|
37
|
+
def check_enum
|
|
38
|
+
def check_keys
|
|
39
|
+
def compact
|
|
40
|
+
def content_block
|
|
41
|
+
def decision
|
|
42
|
+
def emit
|
|
43
|
+
def emit_stream
|
|
44
|
+
def equals
|
|
45
|
+
def error
|
|
46
|
+
def error_code
|
|
47
|
+
def estimate_tokens
|
|
48
|
+
def event
|
|
49
|
+
def execute_tool
|
|
50
|
+
def extract_json
|
|
51
|
+
def fallback_model
|
|
52
|
+
def filter
|
|
53
|
+
def generate
|
|
54
|
+
def get
|
|
55
|
+
def has?
|
|
56
|
+
def initialize
|
|
57
|
+
def int
|
|
58
|
+
def interrupt
|
|
59
|
+
def interrupt_decision
|
|
60
|
+
def invoke
|
|
61
|
+
def invoke_tool
|
|
62
|
+
def invoke_tools
|
|
63
|
+
def marshal
|
|
64
|
+
def memory_record
|
|
65
|
+
def message
|
|
66
|
+
def message_assistant
|
|
67
|
+
def message_text
|
|
68
|
+
def message_tool
|
|
69
|
+
def message_wire
|
|
70
|
+
def parse
|
|
71
|
+
def parse_input_json
|
|
72
|
+
def parse_json_call
|
|
73
|
+
def parse_manifest
|
|
74
|
+
def parse_plain
|
|
75
|
+
def parse_tag
|
|
76
|
+
def parse_toolcall
|
|
77
|
+
def parse_xml
|
|
78
|
+
def plus
|
|
79
|
+
def prepare_tool
|
|
80
|
+
def put
|
|
81
|
+
def redact
|
|
82
|
+
def redact_value
|
|
83
|
+
def register
|
|
84
|
+
def reject
|
|
85
|
+
def request
|
|
86
|
+
def resolve_path
|
|
87
|
+
def response
|
|
88
|
+
def run
|
|
89
|
+
def run_agent
|
|
90
|
+
def run_result
|
|
91
|
+
def search
|
|
92
|
+
def session
|
|
93
|
+
def specs
|
|
94
|
+
def stream_part
|
|
95
|
+
def string
|
|
96
|
+
def stringify
|
|
97
|
+
def strip_markup
|
|
98
|
+
def structured_apply
|
|
99
|
+
def text_present
|
|
100
|
+
def tool_call
|
|
101
|
+
def tool_spec
|
|
102
|
+
def truncate_to_tokens
|
|
103
|
+
def unmarshal
|
|
104
|
+
def usage
|
|
105
|
+
def validate
|
|
106
|
+
def visit
|
|
107
|
+
def visit_array
|
|
108
|
+
def visit_boolean
|
|
109
|
+
def visit_number
|
|
110
|
+
def visit_object
|
|
111
|
+
def visit_string
|
|
112
|
+
def within?
|
|
113
|
+
module Agent
|
|
114
|
+
module Json
|
|
115
|
+
module JsonSchema
|
|
116
|
+
module Middleware
|
|
117
|
+
module Models
|
|
118
|
+
module Plugin
|
|
119
|
+
module Praxo
|
|
120
|
+
module Runtime
|
|
121
|
+
module SSE
|
|
122
|
+
module Toolcall
|
data/api/0.4.0.txt
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# PRAXO-CORE Ruby API 0.4.0
|
|
2
|
+
# SPEC_VERSION 0.2.0
|
|
3
|
+
|
|
4
|
+
class AgentOptions
|
|
5
|
+
class CallLimit
|
|
6
|
+
class CheckpointAllowlist
|
|
7
|
+
class ContextBudget
|
|
8
|
+
class Error
|
|
9
|
+
class FilterSink
|
|
10
|
+
class FuncTool
|
|
11
|
+
class MemoryStore
|
|
12
|
+
class MultiSink
|
|
13
|
+
class PathChecker
|
|
14
|
+
class PiiRedactor
|
|
15
|
+
class Runner
|
|
16
|
+
class StaticModel
|
|
17
|
+
class StructuredOutput
|
|
18
|
+
class ToolRegistry
|
|
19
|
+
class ToolSelection
|
|
20
|
+
def action
|
|
21
|
+
def after_run
|
|
22
|
+
def allowed?
|
|
23
|
+
def allows?
|
|
24
|
+
def apply
|
|
25
|
+
def apply_interrupt
|
|
26
|
+
def array
|
|
27
|
+
def as_int
|
|
28
|
+
def as_object
|
|
29
|
+
def as_string
|
|
30
|
+
def authorize
|
|
31
|
+
def before_model
|
|
32
|
+
def before_run
|
|
33
|
+
def before_tool
|
|
34
|
+
def bool
|
|
35
|
+
def check
|
|
36
|
+
def check_cancelled
|
|
37
|
+
def check_enum
|
|
38
|
+
def check_keys
|
|
39
|
+
def compact
|
|
40
|
+
def content_block
|
|
41
|
+
def decision
|
|
42
|
+
def emit
|
|
43
|
+
def emit_stream
|
|
44
|
+
def equals
|
|
45
|
+
def error
|
|
46
|
+
def error_code
|
|
47
|
+
def estimate_tokens
|
|
48
|
+
def event
|
|
49
|
+
def execute_tool
|
|
50
|
+
def extract_json
|
|
51
|
+
def fallback_model
|
|
52
|
+
def filter
|
|
53
|
+
def generate
|
|
54
|
+
def get
|
|
55
|
+
def has?
|
|
56
|
+
def initialize
|
|
57
|
+
def int
|
|
58
|
+
def interrupt
|
|
59
|
+
def interrupt_decision
|
|
60
|
+
def invoke
|
|
61
|
+
def invoke_tool
|
|
62
|
+
def invoke_tools
|
|
63
|
+
def marshal
|
|
64
|
+
def memory_record
|
|
65
|
+
def message
|
|
66
|
+
def message_assistant
|
|
67
|
+
def message_text
|
|
68
|
+
def message_tool
|
|
69
|
+
def message_wire
|
|
70
|
+
def parse
|
|
71
|
+
def parse_input_json
|
|
72
|
+
def parse_json_call
|
|
73
|
+
def parse_manifest
|
|
74
|
+
def parse_plain
|
|
75
|
+
def parse_tag
|
|
76
|
+
def parse_toolcall
|
|
77
|
+
def parse_xml
|
|
78
|
+
def plus
|
|
79
|
+
def prepare_tool
|
|
80
|
+
def put
|
|
81
|
+
def redact
|
|
82
|
+
def redact_value
|
|
83
|
+
def register
|
|
84
|
+
def reject
|
|
85
|
+
def request
|
|
86
|
+
def resolve_path
|
|
87
|
+
def response
|
|
88
|
+
def run
|
|
89
|
+
def run_agent
|
|
90
|
+
def run_result
|
|
91
|
+
def search
|
|
92
|
+
def session
|
|
93
|
+
def specs
|
|
94
|
+
def stream_part
|
|
95
|
+
def string
|
|
96
|
+
def stringify
|
|
97
|
+
def strip_markup
|
|
98
|
+
def structured_apply
|
|
99
|
+
def text_present
|
|
100
|
+
def tool_call
|
|
101
|
+
def tool_spec
|
|
102
|
+
def truncate_to_tokens
|
|
103
|
+
def unmarshal
|
|
104
|
+
def usage
|
|
105
|
+
def validate
|
|
106
|
+
def visit
|
|
107
|
+
def visit_array
|
|
108
|
+
def visit_boolean
|
|
109
|
+
def visit_number
|
|
110
|
+
def visit_object
|
|
111
|
+
def visit_string
|
|
112
|
+
def within?
|
|
113
|
+
module Agent
|
|
114
|
+
module Json
|
|
115
|
+
module JsonSchema
|
|
116
|
+
module Middleware
|
|
117
|
+
module Models
|
|
118
|
+
module Plugin
|
|
119
|
+
module Praxo
|
|
120
|
+
module Runtime
|
|
121
|
+
module SSE
|
|
122
|
+
module Toolcall
|