files.com 1.1.705 → 1.1.706

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: d8ca126a64fdb94a9719ce7e4f6aadc193ef25c896478f27bbbe65550a4fc55f
4
- data.tar.gz: 2fa1cf2cbc7fa91d7710209d2a0311584e9bca2ff68047841d0a96da6b8fa918
3
+ metadata.gz: f657f552b5e245137f2573b816ee01f3a1496a1630f31b5d206b68e7beb34d45
4
+ data.tar.gz: 9c53f76c80f8b5d38b5925bee8653ce9d283d8cb6a40c003727b927ca05664f5
5
5
  SHA512:
6
- metadata.gz: 938b9fe2aa351a7e978f851e52eabf7092dce64fac950ecd6c6330e46a8e2efa4f82722746fda43b1277eeb81e29b5e6fda612a1d2b4e17a9ef29140517093bb
7
- data.tar.gz: c82855ff3a13b41459d754749e68f22fed27b8dde7b9c61f6aa47c22d5b75fdcf87366d44aa58493108d49fe86563370d9bc4f45af1e1e78217aa2dab4e3ce53
6
+ metadata.gz: '0846068a7783f8c36108da903316cb518e9e1123504b1765e3f8b7a1379f0a0bc1e16794b22ad82edafde98d60128f923c38cdc30f62168fd1bfbe13cecfb67a'
7
+ data.tar.gz: 9a347c77d728af71c269f07867439e44310efa5b642da1c49c8b7910b6524f3247d534fe8ce4b1d0699982a646decdbe18a5da2bb32c2f24f8aa774d15b49ea1
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.705
1
+ 1.1.706
data/docs/agent_node.md CHANGED
@@ -8,11 +8,27 @@
8
8
  "name": "example",
9
9
  "hostname": "example",
10
10
  "availability_role": "example",
11
- "connection_status": "example",
11
+ "status": "example",
12
12
  "is_default": true,
13
- "agent_version": "example",
14
13
  "direct_transfer_available": true,
15
- "last_seen_at": "2000-01-01T01:00:00Z"
14
+ "last_seen_at": "2000-01-01T01:00:00Z",
15
+ "instances": [
16
+ {
17
+ "instance_id": "example",
18
+ "process_state": "example",
19
+ "status": "example",
20
+ "is_default": true,
21
+ "agent_version": "example",
22
+ "last_seen_at": "2000-01-01T01:00:00Z",
23
+ "connections": [
24
+ {
25
+ "mode": "example",
26
+ "status": "example",
27
+ "last_seen_at": "2000-01-01T01:00:00Z"
28
+ }
29
+ ]
30
+ }
31
+ ]
16
32
  }
17
33
  ```
18
34
 
@@ -20,8 +36,8 @@
20
36
  * `name` (string): Customer-configured Agent node name
21
37
  * `hostname` (string): Hostname reported by the Agent
22
38
  * `availability_role` (string): Configured traffic preference
23
- * `connection_status` (string): Whether this node is currently available for traffic
39
+ * `status` (string): Whether this node currently has an available Agent instance
24
40
  * `is_default` (boolean): Whether this node is the current default route for new unscoped work
25
- * `agent_version` (string): Agent version reported by this node
26
41
  * `direct_transfer_available` (boolean): Whether the proxy recently validated a direct connection to this Agent node. False means direct transfers are enabled but not currently available; null means disabled or unsupported.
27
42
  * `last_seen_at` (date-time): Most recent successful node observation
43
+ * `instances` (array(object)): Current Agent processes for this node
@@ -0,0 +1,15 @@
1
+ # AgentNodeConnection
2
+
3
+ ## Example AgentNodeConnection Object
4
+
5
+ ```
6
+ {
7
+ "mode": "example",
8
+ "status": "example",
9
+ "last_seen_at": "2000-01-01T01:00:00Z"
10
+ }
11
+ ```
12
+
13
+ * `mode` (string): How the Agent process uses this proxy connection
14
+ * `status` (string): Whether this connection was observed recently and has not disconnected
15
+ * `last_seen_at` (date-time): Most recent successful observation for this connection
@@ -0,0 +1,29 @@
1
+ # AgentNodeInstance
2
+
3
+ ## Example AgentNodeInstance Object
4
+
5
+ ```
6
+ {
7
+ "instance_id": "example",
8
+ "process_state": "example",
9
+ "status": "example",
10
+ "is_default": true,
11
+ "agent_version": "example",
12
+ "last_seen_at": "2000-01-01T01:00:00Z",
13
+ "connections": [
14
+ {
15
+ "mode": "example",
16
+ "status": "example",
17
+ "last_seen_at": "2000-01-01T01:00:00Z"
18
+ }
19
+ ]
20
+ }
21
+ ```
22
+
23
+ * `instance_id` (string): Ephemeral ID for this running Agent process
24
+ * `process_state` (string): Role of this process during an Agent update
25
+ * `status` (string): Whether this process has an available proxy connection
26
+ * `is_default` (boolean): Whether this process receives new unscoped work for its node
27
+ * `agent_version` (string): Agent version reported by this process
28
+ * `last_seen_at` (date-time): Most recent successful observation for this process
29
+ * `connections` (array(object)): Proxy connections observed for this process
@@ -29,9 +29,9 @@ module Files
29
29
  @attributes[:availability_role]
30
30
  end
31
31
 
32
- # string - Whether this node is currently available for traffic
33
- def connection_status
34
- @attributes[:connection_status]
32
+ # string - Whether this node currently has an available Agent instance
33
+ def status
34
+ @attributes[:status]
35
35
  end
36
36
 
37
37
  # boolean - Whether this node is the current default route for new unscoped work
@@ -39,11 +39,6 @@ module Files
39
39
  @attributes[:is_default]
40
40
  end
41
41
 
42
- # string - Agent version reported by this node
43
- def agent_version
44
- @attributes[:agent_version]
45
- end
46
-
47
42
  # boolean - Whether the proxy recently validated a direct connection to this Agent node. False means direct transfers are enabled but not currently available; null means disabled or unsupported.
48
43
  def direct_transfer_available
49
44
  @attributes[:direct_transfer_available]
@@ -53,5 +48,10 @@ module Files
53
48
  def last_seen_at
54
49
  @attributes[:last_seen_at]
55
50
  end
51
+
52
+ # array(object) - Current Agent processes for this node
53
+ def instances
54
+ @attributes[:instances]
55
+ end
56
56
  end
57
57
  end
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ class AgentNodeConnection
5
+ attr_reader :options, :attributes
6
+
7
+ def initialize(attributes = {}, options = {})
8
+ @attributes = attributes || {}
9
+ @options = options || {}
10
+ end
11
+
12
+ # string - How the Agent process uses this proxy connection
13
+ def mode
14
+ @attributes[:mode]
15
+ end
16
+
17
+ # string - Whether this connection was observed recently and has not disconnected
18
+ def status
19
+ @attributes[:status]
20
+ end
21
+
22
+ # date-time - Most recent successful observation for this connection
23
+ def last_seen_at
24
+ @attributes[:last_seen_at]
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ class AgentNodeInstance
5
+ attr_reader :options, :attributes
6
+
7
+ def initialize(attributes = {}, options = {})
8
+ @attributes = attributes || {}
9
+ @options = options || {}
10
+ end
11
+
12
+ # string - Ephemeral ID for this running Agent process
13
+ def instance_id
14
+ @attributes[:instance_id]
15
+ end
16
+
17
+ # string - Role of this process during an Agent update
18
+ def process_state
19
+ @attributes[:process_state]
20
+ end
21
+
22
+ # string - Whether this process has an available proxy connection
23
+ def status
24
+ @attributes[:status]
25
+ end
26
+
27
+ # boolean - Whether this process receives new unscoped work for its node
28
+ def is_default
29
+ @attributes[:is_default]
30
+ end
31
+
32
+ # string - Agent version reported by this process
33
+ def agent_version
34
+ @attributes[:agent_version]
35
+ end
36
+
37
+ # date-time - Most recent successful observation for this process
38
+ def last_seen_at
39
+ @attributes[:last_seen_at]
40
+ end
41
+
42
+ # array(object) - Proxy connections observed for this process
43
+ def connections
44
+ @attributes[:connections]
45
+ end
46
+ end
47
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.705"
4
+ VERSION = "1.1.706"
5
5
  end
data/lib/files.com.rb CHANGED
@@ -38,6 +38,8 @@ require "files.com/models/action_log"
38
38
  require "files.com/models/action_notification_export"
39
39
  require "files.com/models/action_notification_export_result"
40
40
  require "files.com/models/agent_node"
41
+ require "files.com/models/agent_node_connection"
42
+ require "files.com/models/agent_node_instance"
41
43
  require "files.com/models/agent_push_update"
42
44
  require "files.com/models/ai_assistant_personality"
43
45
  require "files.com/models/ai_task"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.705
4
+ version: 1.1.706
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-06 00:00:00.000000000 Z
11
+ date: 2026-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -176,6 +176,8 @@ files:
176
176
  - docs/action_notification_export.md
177
177
  - docs/action_notification_export_result.md
178
178
  - docs/agent_node.md
179
+ - docs/agent_node_connection.md
180
+ - docs/agent_node_instance.md
179
181
  - docs/agent_push_update.md
180
182
  - docs/ai_assistant_personality.md
181
183
  - docs/ai_task.md
@@ -330,6 +332,8 @@ files:
330
332
  - lib/files.com/models/action_notification_export.rb
331
333
  - lib/files.com/models/action_notification_export_result.rb
332
334
  - lib/files.com/models/agent_node.rb
335
+ - lib/files.com/models/agent_node_connection.rb
336
+ - lib/files.com/models/agent_node_instance.rb
333
337
  - lib/files.com/models/agent_push_update.rb
334
338
  - lib/files.com/models/ai_assistant_personality.rb
335
339
  - lib/files.com/models/ai_task.rb