hati-command 0.1.1 → 0.1.2
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 +11 -8
- data/hati-command.gemspec +2 -2
- data/lib/hati/command.rb +4 -0
- data/lib/hati_command/version.rb +1 -1
- metadata +9 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54f93d1d8662184eadf899bbcf53d926fdf98cbd93cf4c6c960410490b0981b1
|
|
4
|
+
data.tar.gz: 79c3607c98de9bde6cfd53e254e6926c042c7844649df26fa9055df54e40521f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5185941b03f47f4cf5f80a39347dfe4817b3a893d6bebbd3177bd9dd2b442aaa567cfe9b173306cd2311caf9297958fd0cd09fc2405f1ecbda164426d2689984
|
|
7
|
+
data.tar.gz: 85d2d2901903afabf7eaf3607575b87582c4c17b558ffdea8504a3a729ec3a440fd376cca701ae1d7504ade30e69050168af5867317831d3ff876f1b5907d621
|
data/README.md
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
#  hati-command
|
|
2
2
|
|
|
3
|
-
The `hati-command` gem
|
|
3
|
+
The `hati-command` gem provides a lightweight framework for structuring logic as discrete, callable actions — ideal for agentic AI systems that require modular execution and explicit outcome handling.
|
|
4
4
|
|
|
5
|
-
- **hati-command**
|
|
5
|
+
- **hati-command** lets you define commands as service objects or interactors, ready for orchestration by AI agents.
|
|
6
|
+
- **hati-command** returns standardized `Success` and `Failure` results, making it easy to reason about next steps in autonomous workflows.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## Features
|
|
8
9
|
|
|
9
|
-
- **
|
|
10
|
+
- **Command Execution**: Encapsulate atomic operations with clear input/output boundaries for agent use.
|
|
11
|
+
- **Structured Results**: Use `Result` objects with status, value, and metadata for deterministic planning.
|
|
10
12
|
|
|
11
|
-
##
|
|
13
|
+
## Roadmap in Motion
|
|
12
14
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
15
|
+
- AI Client Integration
|
|
16
|
+
- Cursor-style rule generation for defining agent behaviors from commands
|
|
17
|
+
- Planner integration (e.g. YAML/DSL for agent workflows)
|
|
18
|
+
- Command auto-discovery and metadata exposure for agent indexing and selection
|
|
16
19
|
|
|
17
20
|
## Table of Contents
|
|
18
21
|
|
data/hati-command.gemspec
CHANGED
|
@@ -12,8 +12,8 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.email = %w[yurigi.pro@gmail.com giy.mariya@gmail.com]
|
|
13
13
|
spec.license = 'MIT'
|
|
14
14
|
|
|
15
|
-
spec.summary
|
|
16
|
-
spec.description = 'hati-command
|
|
15
|
+
spec.summary = 'A Ruby gem for creating modular, agent-ready service objects and command-pattern interactors, following Railway-oriented design principles with structured, explicit result handling.'
|
|
16
|
+
spec.description = 'hati-command offers a clear, minimal abstraction for implementing composable service objects and command-pattern interactors. By enforcing explicit Success and Failure result pathways, it aligns well with autonomous system pipelines, decision-chain architectures, and AI-driven orchestration flows.'
|
|
17
17
|
spec.homepage = "https://github.com/hackico-ai/#{spec.name}"
|
|
18
18
|
|
|
19
19
|
spec.required_ruby_version = '>= 3.0.0'
|
data/lib/hati/command.rb
ADDED
data/lib/hati_command/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hati-command
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mariya Giy
|
|
@@ -10,8 +10,10 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: hati-command
|
|
14
|
-
|
|
13
|
+
description: hati-command offers a clear, minimal abstraction for implementing composable
|
|
14
|
+
service objects and command-pattern interactors. By enforcing explicit Success and
|
|
15
|
+
Failure result pathways, it aligns well with autonomous system pipelines, decision-chain
|
|
16
|
+
architectures, and AI-driven orchestration flows.
|
|
15
17
|
email:
|
|
16
18
|
- yurigi.pro@gmail.com
|
|
17
19
|
- giy.mariya@gmail.com
|
|
@@ -22,6 +24,7 @@ files:
|
|
|
22
24
|
- LICENSE
|
|
23
25
|
- README.md
|
|
24
26
|
- hati-command.gemspec
|
|
27
|
+
- lib/hati/command.rb
|
|
25
28
|
- lib/hati_command.rb
|
|
26
29
|
- lib/hati_command/befehl.rb
|
|
27
30
|
- lib/hati_command/callee.rb
|
|
@@ -61,6 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
61
64
|
requirements: []
|
|
62
65
|
rubygems_version: 3.6.9
|
|
63
66
|
specification_version: 4
|
|
64
|
-
summary: A Ruby gem for creating
|
|
65
|
-
with
|
|
67
|
+
summary: A Ruby gem for creating modular, agent-ready service objects and command-pattern
|
|
68
|
+
interactors, following Railway-oriented design principles with structured, explicit
|
|
69
|
+
result handling.
|
|
66
70
|
test_files: []
|