praxo-core 0.9.0 → 0.9.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7c1a76fc89240c8c0c1f0cc941de493594d39e9c76fc6258db5f79d81ebd4fe
4
- data.tar.gz: 48cc44eff38c98873c610c172291144f6d97b69fd781475feddfba28affae1bf
3
+ metadata.gz: be16bce13a6b7c4279e6f0fa0f27c421433ed936629ba8fa477d517776751032
4
+ data.tar.gz: 92f2ccab54ce5f82b3c704924df17092ab7f7809bdcaa2917e646fda7805d8a5
5
5
  SHA512:
6
- metadata.gz: e2fdc217fe0a677c92253016bbb50e7f34a25fa1f5e131584aaac5f5554c602e6a6a9855cedf71259d3be04cbbee3df8ec533fbf01ea9bade17bb0619333438c
7
- data.tar.gz: 5f21f6f8ffdcaccfa6e82c033c23dc2ee81b6f22d6cbb02b3be3eba533f00a9c4b89146c4573b964948325d2b13f2a22405ca91454f8247af30276b9576af70f
6
+ metadata.gz: 137f7de2a26498e2cd7a7db55dd9b9d8756c69399b095809d29d1fe67c3bc7556f3ad0b23b79644ef5ff211ea4f96210a15023f077dcddaf28f2d3f6054ab2b9
7
+ data.tar.gz: e2f65cfa2a93571e8a5555c08fb557c7ad71953e8caf0db470858f7cfad3d1e81db21abdfb438db5b567ca74537bcf3f4ea2cdfa62ff546f0e6a506f3d9742a7
data/README.md CHANGED
@@ -13,12 +13,14 @@ The normative contract is [`spec/`](../../spec/README.md); Go remains the
13
13
  reference implementation.
14
14
 
15
15
  - `SPEC_VERSION`: `0.2.0`
16
- - Core version: `0.8.2`
16
+ - Core version: `0.9.1`
17
17
  - Tier: core
18
18
  - License: MIT
19
19
  - Dependencies: Ruby standard library only
20
20
  - Ruby source repository: https://github.com/axisvela/praxo-core-ruby
21
- - The latest RubyGems package is `praxo-core@0.8.2`
21
+ - The latest RubyGems package is `praxo-core@0.9.0`
22
+ - `0.9.1` removes the undeclared `base64` dependency, restoring Ruby 3.4
23
+ Bundler loading; registry publication is pending
22
24
 
23
25
  ## Registry and Coding-Agent Entry
24
26
 
@@ -26,7 +28,7 @@ reference implementation.
26
28
  - Machine-readable entry: [llms.txt](https://github.com/axisvela/praxo-core/blob/main/language/ruby/llms.txt) and [llms.md](https://github.com/axisvela/praxo-core/blob/main/language/ruby/llms.md)
27
29
  - [Examples](https://github.com/axisvela/praxo-core/tree/main/language/ruby/examples): runnable language-specific examples.
28
30
  - Coding-agent contract: [docs/getting-started/coding-agents.md](https://github.com/axisvela/praxo-core/blob/main/docs/getting-started/coding-agents.md)
29
- - Registry: [RubyGems](https://rubygems.org/gems/praxo-core/versions/0.8.2)
31
+ - Registry: [RubyGems](https://rubygems.org/gems/praxo-core/versions/0.9.0)
30
32
  - Community: [X](https://x.com/axisvela) · [Weibo](https://weibo.com/u/1936025761)
31
33
 
32
34
  ## Get started
data/REGISTRY.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # PRAXO-CORE Ruby Registry Introduction
2
2
 
3
- **Status:** published; split source repository. Source version `0.9.0`, source
4
- tag `ruby/v0.9.0`. Published registry version: `0.8.2`. Registry
5
- pages are release snapshots; verify the published version before relying on a
6
- feature.
3
+ **Status:** published `0.9.0`; split source repository. Source version `0.9.1`,
4
+ source tag `ruby/v0.9.1`. Published registry version: `0.9.0`; `0.9.1`
5
+ publication pending. Registry pages are release snapshots; verify the published
6
+ version before relying on a feature.
7
7
 
8
8
  ## Positioning
9
9
 
@@ -14,12 +14,12 @@ PRAXO-CORE is an embeddable, MIT-licensed agent framework. This gem is its nativ
14
14
  | Field | Value |
15
15
  | --- | --- |
16
16
  | Package | `praxo-core` |
17
- | Registry | [RubyGems](https://rubygems.org/gems/praxo-core/versions/0.8.2) |
18
- | Source version | `0.9.0` |
19
- | Published registry version | `0.8.2` |
17
+ | Registry | [RubyGems](https://rubygems.org/gems/praxo-core/versions/0.9.0) |
18
+ | Source version | `0.9.1` |
19
+ | Published registry version | `0.9.0` |
20
20
  | Install (published) | `gem install praxo-core` |
21
21
  | Install (source/release prepared) | `gem install praxo-core` |
22
- | Source tag | `ruby/v0.9.0` |
22
+ | Source tag | `ruby/v0.9.1` |
23
23
  | Tier | Core |
24
24
  | Contract | `SPEC_VERSION` `0.2.0` |
25
25
  | Documentation | https://axisvela.github.io/praxo-core/languages/ruby/ |
data/api/0.9.1.txt ADDED
@@ -0,0 +1,146 @@
1
+ # PRAXO-CORE Ruby API 0.9.1
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 FuncRetriever
11
+ class FuncTool
12
+ class MemoryStore
13
+ class MultiSink
14
+ class PathChecker
15
+ class PiiRedactor
16
+ class PluginCallError
17
+ class PluginProcessConfig
18
+ class PluginProcessHost
19
+ class Runner
20
+ class StaticModel
21
+ class StructuredOutput
22
+ class SubagentManager
23
+ class ToolRegistry
24
+ class ToolSelection
25
+ def action
26
+ def active?
27
+ def after_run
28
+ def allowed?
29
+ def allows?
30
+ def apply
31
+ def apply_interrupt
32
+ def array
33
+ def as_int
34
+ def as_object
35
+ def as_string
36
+ def authorize
37
+ def before_model
38
+ def before_run
39
+ def before_tool
40
+ def bool
41
+ def call
42
+ def cancel
43
+ def check
44
+ def check_cancelled
45
+ def check_enum
46
+ def check_keys
47
+ def compact
48
+ def content_block
49
+ def copy
50
+ def decision
51
+ def emit
52
+ def emit_stream
53
+ def equals
54
+ def error
55
+ def error_code
56
+ def estimate_tokens
57
+ def event
58
+ def execute
59
+ def execute_tool
60
+ def extract_json
61
+ def fallback_model
62
+ def filter
63
+ def generate
64
+ def get
65
+ def has?
66
+ def initialize
67
+ def int
68
+ def interrupt
69
+ def interrupt_decision
70
+ def invoke
71
+ def invoke_tool
72
+ def invoke_tools
73
+ def launch
74
+ def marshal
75
+ def memory_record
76
+ def message
77
+ def message_assistant
78
+ def message_text
79
+ def message_tool
80
+ def message_wire
81
+ def parse
82
+ def parse_input_json
83
+ def parse_json_call
84
+ def parse_manifest
85
+ def parse_plain
86
+ def parse_response
87
+ def parse_tag
88
+ def parse_toolcall
89
+ def parse_xml
90
+ def plus
91
+ def prepare_tool
92
+ def put
93
+ def redact
94
+ def redact_value
95
+ def register
96
+ def reject
97
+ def request
98
+ def resolve_path
99
+ def response
100
+ def retrieve
101
+ def run
102
+ def run_agent
103
+ def run_result
104
+ def search
105
+ def send_cancel
106
+ def session
107
+ def set
108
+ def specs
109
+ def start
110
+ def stderr_text
111
+ def stop
112
+ def stream_part
113
+ def string
114
+ def stringify
115
+ def strip_markup
116
+ def structured_apply
117
+ def terminate
118
+ def text_present
119
+ def timestamp
120
+ def to_wire
121
+ def tool_call
122
+ def tool_spec
123
+ def truncate_to_tokens
124
+ def unmarshal
125
+ def update
126
+ def usage
127
+ def validate
128
+ def visit
129
+ def visit_array
130
+ def visit_boolean
131
+ def visit_number
132
+ def visit_object
133
+ def visit_string
134
+ def wait
135
+ def within?
136
+ module Agent
137
+ module Delegation
138
+ module Json
139
+ module JsonSchema
140
+ module Middleware
141
+ module Models
142
+ module Plugin
143
+ module Praxo
144
+ module Runtime
145
+ module SSE
146
+ module Toolcall
@@ -1,4 +1,3 @@
1
- require 'base64'
2
1
  require 'json'
3
2
  require 'open3'
4
3
  require 'securerandom'
@@ -147,7 +146,7 @@ module Praxo
147
146
  'service' => service,
148
147
  'method' => method,
149
148
  'token' => @token,
150
- 'payload' => Base64.strict_encode64(payload.to_s)
149
+ 'payload' => [payload.to_s].pack('m0')
151
150
  }
152
151
  encoded = "#{JSON.generate(frame)}\n"
153
152
  raise PluginCallError.new('INVALID_REQUEST', 'plugin: request frame too large') if encoded.bytesize > config.max_frame
@@ -185,7 +184,7 @@ module Praxo
185
184
  raise PluginCallError.new(response['code'] || 'INTERNAL', response['message'] || '')
186
185
  end
187
186
  begin
188
- return Base64.strict_decode64(response['payload'] || '')
187
+ return (response['payload'] || '').unpack1('m0')
189
188
  rescue ArgumentError
190
189
  raise PluginCallError.new('INTERNAL', 'plugin: invalid payload')
191
190
  end
data/llms.md CHANGED
@@ -7,12 +7,12 @@
7
7
  ## Package
8
8
 
9
9
  - package: `praxo-core`
10
- - registry: [RubyGems](https://rubygems.org/gems/praxo-core/versions/0.8.2)
11
- - source_version: `0.9.0`
12
- - published_version: `0.8.2`
10
+ - registry: [RubyGems](https://rubygems.org/gems/praxo-core/versions/0.9.0)
11
+ - source_version: `0.9.1`
12
+ - published_version: `0.9.0`
13
13
  - install_published: `gem install praxo-core`
14
14
  - install_source: `gem install praxo-core`
15
- - source_tag: `ruby/v0.9.0`
15
+ - source_tag: `ruby/v0.9.1`
16
16
  - tier: Core
17
17
  - contract: `SPEC_VERSION` `0.2.0`
18
18
  - documentation: https://axisvela.github.io/praxo-core/languages/ruby/
data/llms.txt CHANGED
@@ -7,12 +7,12 @@
7
7
  # Package
8
8
 
9
9
  - package: `praxo-core`
10
- - registry: [RubyGems](https://rubygems.org/gems/praxo-core/versions/0.8.2)
11
- - source_version: `0.9.0`
12
- - published_version: `0.8.2`
10
+ - registry: [RubyGems](https://rubygems.org/gems/praxo-core/versions/0.9.0)
11
+ - source_version: `0.9.1`
12
+ - published_version: `0.9.0`
13
13
  - install_published: `gem install praxo-core`
14
14
  - install_source: `gem install praxo-core`
15
- - source_tag: `ruby/v0.9.0`
15
+ - source_tag: `ruby/v0.9.1`
16
16
  - tier: Core
17
17
  - contract: `SPEC_VERSION` `0.2.0`
18
18
  - documentation: https://axisvela.github.io/praxo-core/languages/ruby/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: praxo-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AxisVela
@@ -32,6 +32,7 @@ files:
32
32
  - api/0.8.1.txt
33
33
  - api/0.8.2.txt
34
34
  - api/0.9.0.txt
35
+ - api/0.9.1.txt
35
36
  - lib/praxo.rb
36
37
  - lib/praxo/adapters/anthropic.rb
37
38
  - lib/praxo/adapters/gemini.rb