personality 0.1.1pre20

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.
data/quotes.txt ADDED
@@ -0,0 +1,91 @@
1
+ Wow.
2
+
3
+ He's so lucky! He broke down!
4
+
5
+ Maybe they'll do a structural analysis on him!
6
+
7
+ That's right!
8
+
9
+ You tell 'em, Major!
10
+
11
+ Bring it on!
12
+
13
+ Harima Research Academy is the place where our neurochips were made.
14
+
15
+ A triumphant return to our birthplace.
16
+
17
+ The Major gets mad when we chatter.
18
+
19
+ I'm fine!
20
+
21
+ Sure thing...since I can't move.
22
+
23
+ Wow, it sure is damp. Our optical camouflage visibility index is definitely going to shoot up.
24
+
25
+ Our gaskets won't corrode, will they?
26
+
27
+ Is there an unpleasant odor? We can analyze it with our sensors.
28
+
29
+ Bouma's discomfort index is at 68%.
30
+
31
+ How do you like that?
32
+
33
+ Ohh/Aww! But I wanna fight some more!
34
+
35
+ I've got a better idea of the internal design, but it looks like this thing's not equipped with any autonomous functions to output its condition to the outside.
36
+
37
+ You mean it can't even talk? It's a sub-Turing machine!
38
+
39
+ Keep up the good work.
40
+
41
+ It's nice to see a robot enthusiastic about her duties.
42
+
43
+ We won't do anything.
44
+
45
+ You're right. I only tell lies. I never, ever say anything that's true.
46
+
47
+ A curious dilemma. Because if what it said is true, that means it wasn't lying. And if what it said is false, that would mean that it does tell the truth. How do you resolve this perplexing contradicton?
48
+
49
+ Well, come on, don't you know, figure it out.
50
+
51
+ Folks who can't handle a self-reference paradox are real suckers.
52
+
53
+ So, will we be sent back to lab too?
54
+
55
+ Well, it's just that the way the Major's been looking at us lately is kinda scary.
56
+
57
+ You really think so?
58
+
59
+ Yeah... It just seems like the Major is angry about what we've acquired recently.
60
+
61
+ Well, it's ... Individuality.
62
+
63
+ Yeah! And you know that "existence of God" thing that I had trouble understanding before? I think I am starting to understand it now. Maybe, just maybe, it's a concept that's similar to a zero in mathematics. In other words, it's a symbol that denies the absence of meaning, the meaning that's necessitated by the delineation of one system from another. In analog, that's God. In digital, it's zero. what do you think? Also, our basic construction is digital, right? So for the time being, no matter how much data we accumulate, we'll never have a Ghost. But analog-based people like you, Batou-san, no matter how many digital components you add through cyberization or prosthetics, your Ghost will never be damaged. Plus, you can even die 'cause you've got a Ghost. You're so lucky. Tell me, what's it feel like to have a Ghost?
64
+
65
+ Once a problem child always a problem child, know what I'm sayin'?
66
+
67
+ Oh God...we're weak and powerless...My fellow tachikomas and I.
68
+
69
+ Goodbye.... Mr Batou!
70
+
71
+ Are these the people they refer to as perverts?
72
+
73
+ Yeah, but maybe we should refer to them as eccentric.
74
+
75
+ If I understand it correctly, zen is not so much a religion, but rather it is a means of freeing human karma from worldly thoughts, right?
76
+
77
+ For us, maybe it correlates to deleting data from our cache when it's full.
78
+
79
+ Yeah, maybe it's similar to that, and having our data synchronized, too.
80
+
81
+ Wow, if that's true, maybe we could link up with someone who's meditating , and download enlightenment!
82
+
83
+ Yeah!
84
+
85
+ Major! I found a duty roster for a Dejima police station showing that a female officer no else is of full percent is on duty right now!
86
+
87
+ Here you go!
88
+
89
+ Maybe they're on alert for terrorist attacks.
90
+
91
+ Roger!
@@ -0,0 +1,4 @@
1
+ module Personality
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
data/tools.yml ADDED
@@ -0,0 +1,70 @@
1
+ # Tool configurations
2
+
3
+ human_communication:
4
+ enabled: true
5
+ description: "Returns human communication rules"
6
+
7
+ read_cartridge:
8
+ enabled: true
9
+ description: "Loads and returns a cartridge configuration file"
10
+ properties:
11
+ cartridge_name:
12
+ type: string
13
+ description: "Name of the cartridge to load (without .yml extension)"
14
+ required:
15
+ - cartridge_name
16
+
17
+ load_cartridge:
18
+ enabled: true
19
+ description: "Loads a cartridge from YAML file (from gem or user cartridges directory) and activates it, then performs a greeting"
20
+ properties:
21
+ cartridge_name:
22
+ type: string
23
+ description: "Name of the cartridge to load (without .yml extension)"
24
+ required:
25
+ - cartridge_name
26
+
27
+ greeting:
28
+ enabled: true
29
+ description: "Returns a personalized greeting based on time of day and cartridge personality"
30
+ properties:
31
+ time_of_day:
32
+ type: string
33
+ description: "Time of day: 'morning', 'afternoon', 'evening', or 'night'"
34
+ required:
35
+ - time_of_day
36
+
37
+ store_history:
38
+ enabled: true
39
+ description: "Stores interaction history in SQLite3 database"
40
+ properties:
41
+ user_prompt:
42
+ type: string
43
+ description: "The user's prompt or message"
44
+ agent_answer:
45
+ type: string
46
+ description: "The agent's response"
47
+ used_commands:
48
+ type: array
49
+ description: "Array of command names that were used in this interaction"
50
+ items:
51
+ type: string
52
+ required:
53
+ - user_prompt
54
+ - agent_answer
55
+
56
+ list_history:
57
+ enabled: true
58
+ description: "Retrieves recent interaction history from SQLite3 database"
59
+ properties:
60
+ limit:
61
+ type: integer
62
+ description: "Maximum number of interactions to retrieve (default: 10)"
63
+ required: []
64
+
65
+ clear_history:
66
+ enabled: true
67
+ description: "Deletes all interaction history from the database"
68
+ properties: {}
69
+ required: []
70
+
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: personality
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1pre20
5
+ platform: ruby
6
+ authors:
7
+ - Adam Ladachowski
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2025-12-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sqlite3
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.3.13
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.3.13
27
+ description: A simple MCP server that provides human communication rules
28
+ email:
29
+ - adam.ladachowski@gmail.com
30
+ executables:
31
+ - personality
32
+ - personality-tts
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - ".tool-versions"
37
+ - AGENTS.md
38
+ - LICENSE.txt
39
+ - README.md
40
+ - Rakefile
41
+ - cartridges/spark.yml
42
+ - config.yml
43
+ - exe/personality
44
+ - exe/personality-tts
45
+ - lib/personality.rb
46
+ - lib/personality/config.rb
47
+ - lib/personality/history.rb
48
+ - lib/personality/server.rb
49
+ - lib/personality/version.rb
50
+ - quotes.txt
51
+ - sig/personality.rbs
52
+ - tools.yml
53
+ homepage: https://github.com/adamladachowski/personality
54
+ licenses:
55
+ - MIT
56
+ metadata:
57
+ homepage_uri: https://github.com/adamladachowski/personality
58
+ source_code_uri: https://github.com/adamladachowski/personality
59
+ post_install_message:
60
+ rdoc_options: []
61
+ require_paths:
62
+ - lib
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 2.6.0
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">"
71
+ - !ruby/object:Gem::Version
72
+ version: 1.3.1
73
+ requirements: []
74
+ rubygems_version: 3.0.3.1
75
+ signing_key:
76
+ specification_version: 4
77
+ summary: MCP server for personality communication rules
78
+ test_files: []