legion-data 1.9.0 → 1.10.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92fba520187d3940bae5ac79e43f2155b16a0c7e3949e664233dd012871d56e7
4
- data.tar.gz: da5ff3d58c176ccb65fc03bdc6855318acba28b4974cf76e8b986eec2b70d5c3
3
+ metadata.gz: 739e9ec69b2eba4278f8f29356692ac681d6326ee610cb669fde4d09da3db811
4
+ data.tar.gz: 9d03eb784f291637651350362e7315f8124172e71f5c168f34b59c9d3e6484e2
5
5
  SHA512:
6
- metadata.gz: 748443ee5df5494f60e080a6ad6405df97ed4166ed71e58fc58159b540ab2c9748195447c2a05e697a5ecc00889b17d7ff84337d0b718644c27c1312a6c47ab5
7
- data.tar.gz: 9417467c46a3a4b1651c68760ff682b07648cc021d51601bc844fb1afdccf68ae0a807f897823a818450658e8503feea7e409ecaacd2b80c757dd0847a037b22
6
+ metadata.gz: 1af6dbc468fe9d6ea80a72b19b6a0135e4f21e5038b20d4f7966278275ad8c7ab5f84da35bb32ba64d844aaf5bd2241948a403cd1b30a5a8bf0cbaf94a49ab98
7
+ data.tar.gz: 5f5da115ddda7ad10a1afecd6b3336ec96fdee7c301dd9c91fa76e301f88c85e481238604c67dbd9f0d6fdfcc73fc4b37b574f478d3b468f85be24987663301b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Legion::Data Changelog
2
2
 
3
+ ## [1.10.0] - 2026-06-01
4
+
5
+ ### Added
6
+
7
+ - Migration 129: creates `llm_skill_events` table as a core LLM lifecycle table (moved from lex-llm-ledger extension). Columns: `uuid`, `conversation_id`, `request_ref`, `skill_name`, `skill_version`, `trigger`, `status`, `duration_ms`, `identity_canonical_name`, `identity_principal_id`, `identity_id`, `schema_version`, `recorded_at`, `inserted_at`. Indexes on `conversation_id`, `request_ref`, `skill_name`, `identity_canonical_name`, `recorded_at`, `inserted_at`.
8
+
3
9
  ## [1.9.0] - 2026-06-01
4
10
 
5
11
  ### Added
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ Sequel.migration do
4
+ up do
5
+ create_table(:llm_skill_events) do
6
+ primary_key :id
7
+
8
+ String :uuid, null: false, unique: true, size: 36
9
+ Integer :conversation_id, index: true
10
+ String :request_ref, index: true
11
+ String :skill_name, null: false, index: true
12
+ String :skill_version
13
+ String :trigger
14
+ String :status, null: false, default: 'completed'
15
+ Integer :duration_ms, default: 0
16
+ String :identity_canonical_name, index: true
17
+ Integer :identity_principal_id
18
+ Integer :identity_id
19
+ Integer :schema_version, null: false, default: 15
20
+ DateTime :recorded_at, null: false, index: true
21
+ DateTime :inserted_at, null: false, default: Sequel::CURRENT_TIMESTAMP, index: true
22
+ end
23
+ end
24
+
25
+ down do
26
+ drop_table :llm_skill_events
27
+ end
28
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Legion
4
4
  module Data
5
- VERSION = '1.9.0'
5
+ VERSION = '1.10.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
@@ -275,6 +275,7 @@ files:
275
275
  - lib/legion/data/migrations/126_add_llm_message_inference_responses_audit_columns.rb
276
276
  - lib/legion/data/migrations/127_add_llm_message_inference_requests_audit_columns.rb
277
277
  - lib/legion/data/migrations/128_add_identity_columns_to_shared_tables.rb
278
+ - lib/legion/data/migrations/129_create_llm_skill_events.rb
278
279
  - lib/legion/data/model.rb
279
280
  - lib/legion/data/models/apollo/access_log.rb
280
281
  - lib/legion/data/models/apollo/entries.rb