archsight 0.1.0 → 0.1.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: 637000840e445d9e4582fde99804c50b034adb6696235d957078a5ad40ecfdfb
4
- data.tar.gz: 69b13da005d885a1ee2424b37e6d8668bd775e9affff6960a221bd283a33693a
3
+ metadata.gz: '02159c7a5daad27f25979069c4b99ffaf571a21d39aff2cab0f5596a3214f897'
4
+ data.tar.gz: ab77c07451e71853aaca877b2642df46ffc32c81b5dfbcc0d7b86893a26ef955
5
5
  SHA512:
6
- metadata.gz: ca3fd8eb1b454d6db4c82904ebea6753c9404186f0e8fd26a3fd90c1b7d10e0037062c16f40057d403467ea1235e9d981c1ae10feb9182c33c2a74c72f0b6b15
7
- data.tar.gz: 85719b9c9f422871c3d96250d276341f7566f53cc24193efdfa8ce3a29ee92c45d674965340e99835eb3c940acecfb947c57f0560ddea28ec2135f020d52aa6d
6
+ metadata.gz: d753c04025bea2bb8ce93b55e0cb479eb3c44ad756d1e123b1cda844119fedfcce43d8f4b824d6cefd6c5c98401099eaa00c1416cc2302f2486514917f3df05e
7
+ data.tar.gz: 3992fc81f881e7de8c751c6af12354463eabfeb8ac30d8019106ec0676d792543cdf4b4658aef1075b5f8a85d1ef037d31cfe0b33df0b2867de7d0f3b1b97157
data/CONTRIBUTING.md CHANGED
@@ -6,7 +6,7 @@ Thank you for your interest in contributing to Archsight! This guide will help y
6
6
 
7
7
  ### Prerequisites
8
8
 
9
- - Ruby 3.2 or later
9
+ - Ruby 3.4 or later
10
10
  - Bundler
11
11
  - GraphViz (for visualization features)
12
12
 
data/Dockerfile CHANGED
@@ -11,8 +11,8 @@ RUN apk add --no-cache \
11
11
  # Set working directory
12
12
  WORKDIR /app
13
13
 
14
- # Copy gemspec and Gemfile for dependency installation
15
- COPY archsight.gemspec Gemfile Gemfile.lock* ./
14
+ # Copy gemspec, Gemfile, and .ruby-version for dependency installation
15
+ COPY archsight.gemspec Gemfile Gemfile.lock* .ruby-version ./
16
16
  COPY lib/archsight/version.rb lib/archsight/version.rb
17
17
 
18
18
  # Install Ruby dependencies
@@ -9,9 +9,9 @@ module Archsight
9
9
  @attrs = { rankdir: :LR }.merge(attrs)
10
10
  end
11
11
 
12
- def draw_and_render_file(&block)
12
+ def draw_and_render_file(&)
13
13
  File.open("#{@name}.dot", "w") do |f|
14
- render(f, &block)
14
+ render(f, &)
15
15
  end
16
16
  system "#{@renderer} -Tpng #{@name}.dot -o #{@name}.png"
17
17
  end
@@ -22,9 +22,9 @@ module Archsight
22
22
  f.string
23
23
  end
24
24
 
25
- def draw_svg(&block)
25
+ def draw_svg(&)
26
26
  IO.popen([@renderer, "-Tsvg"], "r+") do |pipe|
27
- render(pipe, &block)
27
+ render(pipe, &)
28
28
  pipe.close_write
29
29
  pipe.read
30
30
  end
@@ -1,5 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # This file is automatically generated by `rake version` from git tags.
4
+ # Do not edit manually.
5
+
3
6
  module Archsight
4
- VERSION = "0.1.0"
7
+ VERSION = "0.1.1"
5
8
  end
@@ -56,7 +56,9 @@ class Archsight::Web::Application < Sinatra::Base
56
56
  mcp_server.register_tool(Archsight::MCP::AnalyzeResourceTool)
57
57
  mcp_server.register_tool(Archsight::MCP::ResourceDocTool)
58
58
 
59
- use FastMcp::Transports::RackTransport, mcp_server, path_prefix: "/mcp"
59
+ use FastMcp::Transports::RackTransport, mcp_server,
60
+ path_prefix: "/mcp",
61
+ localhost_only: false
60
62
  end
61
63
 
62
64
  helpers Archsight::GraphvisHelper, Archsight::GraphvisRenderer, Archsight::Helpers
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: archsight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Landgraf
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2026-01-08 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: fast-mcp
@@ -160,7 +159,6 @@ executables:
160
159
  extensions: []
161
160
  extra_rdoc_files: []
162
161
  files:
163
- - CHANGELOG.md
164
162
  - CODE_OF_CONDUCT.md
165
163
  - CONTRIBUTING.md
166
164
  - Dockerfile
@@ -286,10 +284,9 @@ licenses:
286
284
  metadata:
287
285
  homepage_uri: https://github.com/ionos-cloud/archsight
288
286
  source_code_uri: https://github.com/ionos-cloud/archsight
289
- changelog_uri: https://github.com/ionos-cloud/archsight/blob/main/CHANGELOG.md
287
+ changelog_uri: https://github.com/ionos-cloud/archsight/releases
290
288
  bug_tracker_uri: https://github.com/ionos-cloud/archsight/issues
291
289
  rubygems_mfa_required: 'true'
292
- post_install_message:
293
290
  rdoc_options: []
294
291
  require_paths:
295
292
  - lib
@@ -297,15 +294,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
297
294
  requirements:
298
295
  - - ">="
299
296
  - !ruby/object:Gem::Version
300
- version: 3.2.0
297
+ version: '3.4'
301
298
  required_rubygems_version: !ruby/object:Gem::Requirement
302
299
  requirements:
303
300
  - - ">="
304
301
  - !ruby/object:Gem::Version
305
302
  version: '0'
306
303
  requirements: []
307
- rubygems_version: 3.4.1
308
- signing_key:
304
+ rubygems_version: 3.6.9
309
305
  specification_version: 4
310
306
  summary: Enterprise architecture visualization and modeling tool
311
307
  test_files: []
data/CHANGELOG.md DELETED
@@ -1,24 +0,0 @@
1
- ## [Unreleased]
2
-
3
- ## [0.1.0] - 2026-01-07
4
-
5
- Initial release. Extracted from internal architecture tooling.
6
-
7
- ### Features
8
-
9
- - **Resource Modeling**: 20+ ArchiMate-inspired resource types (TechnologyArtifact, ApplicationComponent, ApplicationInterface, BusinessRequirement, etc.)
10
- - **Query Language**: Full-featured query DSL with operators (==, !=, =~, >, <), relation queries (->/<-/~>/<~), logical operators (AND/OR/NOT), and sub-queries
11
- - **Web Interface**: Browse, search, and visualize architecture resources with interactive GraphViz diagrams
12
- - **MCP Server**: AI assistant integration via Model Context Protocol with query, analyze_resource, and resource_doc tools
13
- - **Computed Annotations**: Aggregate values across resource relations (sum, count, min, max, avg, concat)
14
- - **Validation (Lint)**: YAML syntax checking, resource kind validation, relation reference verification
15
- - **Template Generation**: Generate YAML templates for any resource type
16
- - **Docker Support**: Production-ready container with health checks
17
- - **Dark Mode**: Full dark mode support in web interface
18
-
19
- ### Documentation
20
-
21
- - Modeling guide with resource types and relations
22
- - Query language reference
23
- - Computed annotations guide
24
- - ArchiMate and TOGAF alignment documentation