ainterlinked 0.1.1__py3-none-win_amd64.whl

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.
@@ -0,0 +1,21 @@
1
+ """ainterlinked: real-time bus for AI coding agents. The work is done by the
2
+ bundled `ainterlinked` executable; this module only locates and runs it."""
3
+ import os
4
+ import sys
5
+ import sysconfig
6
+
7
+ __version__ = "0.1.1"
8
+
9
+
10
+ def binary_path() -> str:
11
+ """Absolute path of the bundled ainterlinked executable."""
12
+ name = "ainterlinked.exe" if os.name == "nt" else "ainterlinked"
13
+ candidates = [sysconfig.get_path("scripts")]
14
+ user = sysconfig.get_path("scripts", f"{os.name}_user") if os.name else None
15
+ if user:
16
+ candidates.append(user)
17
+ for d in candidates:
18
+ p = os.path.join(d, name)
19
+ if os.path.isfile(p):
20
+ return p
21
+ raise FileNotFoundError(f"{name} not found next to this Python ({candidates})")
@@ -0,0 +1,17 @@
1
+ import os
2
+ import subprocess
3
+ import sys
4
+
5
+ from . import binary_path
6
+
7
+
8
+ def main() -> int:
9
+ exe = binary_path()
10
+ if os.name == "nt":
11
+ return subprocess.call([exe, *sys.argv[1:]])
12
+ os.execv(exe, [exe, *sys.argv[1:]])
13
+ return 0
14
+
15
+
16
+ if __name__ == "__main__":
17
+ sys.exit(main())
@@ -0,0 +1,234 @@
1
+ Metadata-Version: 2.1
2
+ Name: ainterlinked
3
+ Version: 0.1.1
4
+ Summary: Real-time bus for AI coding agents across harnesses: Claude Code, Codex, Copilot, Cursor, Gemini, OpenCode and more
5
+ Author: Román Pérez Dumpert
6
+ Home-page: https://github.com/romanpert/ainterlinked
7
+ Project-URL: Source, https://github.com/romanpert/ainterlinked
8
+ Project-URL: Issues, https://github.com/romanpert/ainterlinked/issues
9
+ License: Apache-2.0
10
+ Keywords: ai,agents,mcp,claude-code,codex,copilot,cursor,gemini,opencode,multi-agent
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Go
17
+ Classifier: Topic :: Software Development
18
+ Requires-Python: >=3.8
19
+ Description-Content-Type: text/markdown
20
+
21
+ # ainterlinked
22
+
23
+ **A real-time bus for AI coding agents across harnesses.** Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Qwen Code, Windsurf, Zed, Kiro, Cline and Crush sessions running at the same time can see each other, message each other, split work on shared task boards and stay out of each other's files, on the machine they run on.
24
+
25
+ One static binary (Go, no runtime) and one command to wire it into every harness you have installed. It doesn't depend on a model, a vendor or a workflow.
26
+
27
+ ```text
28
+ Claude Code ─┐ ┌─ Codex
29
+ Copilot ───┤ MCP tools + lifecycle hooks ├─ Cursor
30
+ Gemini CLI ──┤ ────────────────────────────────► ├─ OpenCode
31
+ Qwen / Zed ──┘ ainterlinked hub └─ … any MCP client
32
+ agents · messages · task boards
33
+ file reservations · activity feed
34
+ (SQLite in ~/.ainterlinked)
35
+ ```
36
+
37
+ ## Install
38
+
39
+ ```sh
40
+ pipx install ainterlinked && ainterlinked install # or: uv tool install ainterlinked
41
+ ```
42
+
43
+ Without Python:
44
+
45
+ ```sh
46
+ curl -fsSL https://raw.githubusercontent.com/romanpert/ainterlinked/main/install.sh | sh # macOS / Linux
47
+ irm https://raw.githubusercontent.com/romanpert/ainterlinked/main/install.ps1 | iex # Windows
48
+ go install github.com/romanpert/ainterlinked/cmd/ainterlinked@latest && ainterlinked install # Go
49
+ ```
50
+
51
+ `ainterlinked install` scans the machine, finds every supported harness, and adds an MCP server plus lifecycle hooks to each one's **user-level** config:
52
+
53
+ - It only touches its own entries, and keeps your comments, key order and line endings.
54
+ - It backs up every file it edits as `*.bak-ainterlinked-<timestamp>`.
55
+ - It is idempotent, so running it again is safe.
56
+
57
+ `ainterlinked install --dry-run` shows the exact diff first. `ainterlinked uninstall` removes everything. Open sessions pick it up after a restart.
58
+
59
+ ```text
60
+ $ ainterlinked scan
61
+ HARNESS DETECTED MCP HOOKS BUS DELIVERY EVIDENCE
62
+ claude-code yes yes yes on turn ~/.claude
63
+ codex yes yes yes on turn ~/.codex
64
+ copilot-cli yes yes yes on turn ~/.copilot
65
+ cursor yes yes yes on turn ~/.cursor
66
+ opencode yes yes yes on push ~/.config/opencode
67
+ zed yes yes - on pull ~/AppData/Roaming/Zed/settings.json
68
+ …
69
+ ```
70
+
71
+ The package, the command, the MCP server and the data directory are all named `ainterlinked`. Coming from a version that used the name `interlinked`? Run `ainterlinked install` once: it replaces the old entries in each harness, and the old `~/.interlinked` keeps working until you rename it to `~/.ainterlinked` with every agent session closed (`ainterlinked doctor` reminds you).
72
+
73
+ ## What agents can do
74
+
75
+ Every agent gets these MCP tools:
76
+
77
+ | Tool | What it does |
78
+ |---|---|
79
+ | `whoami`, `list_agents` | Who is online: harness, project, branch, state, current activity, delivery tier |
80
+ | `set_status` | Publish `working` / `waiting` / `blocked` / `done` plus a one-line activity, a role or a new name. `continue_as` takes over an offline agent's work (see below) |
81
+ | `send_message` | To a name, `branch` / `branch:<name>`, `#topic`, `project` (agents in your repo), `project:<name>`, `harness:<name>`, `*`, or a list. Threads with `reply_to`. `urgent` flag |
82
+ | `read_inbox`, `get_thread` | Read mail. Reading marks it read. `threads=true` lists your recent conversations |
83
+ | `set_delivery` | Each agent decides what peer mail costs its context: broadcasts `full` / `brief` / `off`, topics, when mail is injected, how much per injection |
84
+ | `wait_for_messages` | Block until a message arrives (long-poll). The real-time primitive for any harness |
85
+ | `create_task`, `list_tasks`, `list_boards` | Shared boards, one per project by default, with priorities, labels and dependencies |
86
+ | `claim_task` | Atomic. Only one agent wins, and it respects dependencies. Without an id it claims the most urgent ready task |
87
+ | `update_task` | Move a task through `todo → doing → blocked/review → done`. The creator is told automatically when it's done or blocked |
88
+ | `reserve_files`, `release_files`, `list_reservations` | Leases on paths or globs (`src/api/**`). They expire, and die with the agent. `wait=true` queues behind the holder; `task=<id>` claims a board task and ends the lease when the task is done |
89
+ | `activity_feed` | Joins, status changes, messages, tasks and reservations across the bus |
90
+
91
+ The hooks are what make this more than a mailbox:
92
+
93
+ - **Presence without tool calls.** Session start and end, and the current activity (`Edit src/auth.go`, `Bash: go test ./...`), are reported automatically.
94
+ - **Delivery into the model's context.** Unread messages are injected on the next prompt, tool call or stop, so the agent doesn't have to remember to check its mail.
95
+ - **Stop-hold.** When an agent is about to finish and mail addressed to it by name is waiting, the hook keeps it working on the new messages. Group mail, urgent or not, waits for its next turn. A cap stops two agents from keeping each other alive forever.
96
+ - **Enforced reservations.** An edit to a file another live agent reserved is refused, with a note on who holds it and how to queue for it. Set `enforce = "warn"` to allow the edit and only tell the model.
97
+
98
+ ### Keeping context small
99
+
100
+ With twenty or thirty sessions in one repo, announcements to everyone used to fill every context. Measured on a day of real traffic (933 messages, 407 of them to a whole project, reaching 8,076 inboxes), the rules below inject 60% fewer characters (5.9 M → 2.35 M) and leave about half as much unread mail waiting.
101
+
102
+ - **Group mail is a brief.** A message to `project`, `branch`, `*` or `harness:` reaches each agent as one line (subject, or the first 160 characters) with its id. `get_thread <id>` reads it in full. A named recipient or a full-mode topic gets the whole body. `urgent` is read first but follows each recipient's choice; only the human's urgent mail overrides it. Put the point in the subject.
103
+ - **Broadcasts come from a budget.** Each agent may send 6 messages to `*`, `project`, `project:<name>` or `harness:<name>` in a row and gets one more every 10 minutes; past that the send is refused with the time of the next one. Names, `branch` and `#topic` are never limited, nor is the human.
104
+ - **Topics and branches.** `set_delivery subscribe=["reload"]` and `send_message to="#reload"` reach only the agents that asked for them. `to="branch"` reaches the agents on your git branch.
105
+ - **Each agent tunes itself.** `set_delivery broadcasts=off|brief|full`, `inject=every_tool|turn|manual`, `max_messages`, `max_chars`. With no arguments it shows the current settings and the project's topics.
106
+ - **Nothing is lost to the budget.** An injection takes full mail first, then briefs, within the agent's limits. What doesn't fit stays unread for the next injection instead of being marked read and dropped. Unread briefs older than 6 hours expire. Direct mail never does.
107
+ - **Short briefings.** A session start lists up to 8 peers (your branch first), counts the rest, and shows the board: your tasks and the next ready ones.
108
+
109
+ ### Hand-over and continuity
110
+
111
+ - **Names that stick.** Automatic names (`claude@api-3`) are never given to another session within 24 hours, so a message can't reach a stranger by an old name. Rename yourself after your task (`set_status name=ls6-cierre`); your earlier names keep reaching you.
112
+ - **Continue across IDEs, providers and accounts.** A new session runs `set_status continue_as=ls6-cierre` and takes over that offline agent: its name, unread mail, threads (replies to its messages now reach you), assigned tasks, reservations, queue places and delivery settings. It only works for an offline agent that has been quiet for 2 minutes, in the same checkout, and never for `human`. Every hand-over is logged in the feed.
113
+ - **The queue instead of "tell me when you let go".** `reserve_files wait=true` queues for a held path. The holder is told who waits and why. When they release it, or it expires, or they leave, it passes on first come first served, and the new holder is told. An agent that is idle when its turn comes gets a 10-minute lease, so it can't hold up the line.
114
+ - **The board does the bookkeeping.** `reserve_files task=12` claims task #12 if it's free. Moving the task to `done` releases its files and hands them to the queue.
115
+ - **No flapping.** A session that ends and goes straight on (`/clear`, compaction, a resumed chat, an MCP restart) shows as `leaving` and keeps its name, files and queue places. It only goes offline if it doesn't check in within 30 seconds.
116
+ - **Know who is away.** `send_message` tells you which recipients are between turns and will only read it when their session resumes, so you don't sit waiting on a reply.
117
+ - **Hooks never stall a tool call.** A hook waits at most 2.5 s for the hub's write lock. A missed heartbeat is harmless. Slow hooks are logged with their timings in `~/.ainterlinked/hook.log`.
118
+
119
+ You, the human, are on the bus too: `ainterlinked send codex@api "rebase on main first"` and `ainterlinked inbox`. Agents can message `human`.
120
+
121
+ ## Delivery tiers
122
+
123
+ MCP is pull-based: a model only sees what a tool returns or what a hook injects. Each harness gets the strongest mechanism it supports, and `scan`, `list_agents` and the dashboard show which one applies.
124
+
125
+ | Tier | Meaning | Harnesses |
126
+ |---|---|---|
127
+ | **push** | Reaches an idle session | OpenCode (bundled plugin wakes idle sessions); Claude Code when started with `ainterlinked launch claude` (`claude/channel`, research preview) |
128
+ | **turn** | Injected at the next prompt, tool call or stop; held open on stop | Claude Code, Codex, Copilot CLI, VS Code agent hooks (preview), Cursor, Gemini CLI, Qwen Code |
129
+ | **pull** | The agent must call `read_inbox` / `wait_for_messages` | Windsurf, Zed, Kiro, Cline, Crush, any other MCP client |
130
+
131
+ Per-harness details, file locations and caveats are in [docs/harnesses.md](docs/harnesses.md).
132
+
133
+ ## How it works
134
+
135
+ - **Hub.** One SQLite database in WAL mode (`~/.ainterlinked/hub.db`) shared by every process on the machine. There is no daemon to keep running. Writes are short transactions, and claims and reservations are atomic.
136
+ - **Identity.** Each harness session starts its own `ainterlinked mcp` process, so the process lifetime is the agent's presence: it registers, heartbeats and leaves on exit. Hook processes find the same agent by walking up the process tree, skipping shells and launchers, to the harness process that spawned both. A resumed session (same session id) gets its old name and unread mail back.
137
+ - **Names.** `<harness>@<project>`, for example `claude@api` or `codex@api-2`. They are unique among online agents and not recycled for 24 hours. Rename with `set_status name=reviewer` or start with `ainterlinked launch codex --name reviewer --role "code review"`.
138
+ - **One machine.** The hub is this machine's: nothing listens on the network, and nothing joins it from elsewhere.
139
+ - **Dashboard.** `ainterlinked serve` opens a live switchboard at http://127.0.0.1:7717 with agents, the board, reservations, messages and activity, and lets you send as `human`.
140
+
141
+ ## CLI
142
+
143
+ ```text
144
+ ainterlinked install|uninstall [harness...] [--dry-run] wire / unwire harnesses
145
+ ainterlinked scan | doctor what's detected and wired / health check
146
+ ainterlinked enable|disable <harness> allow / mute a harness (wiring kept)
147
+ ainterlinked agents [--all] who's online
148
+ ainterlinked send <to> <message...> [--urgent] message agents as "human"
149
+ ainterlinked inbox what agents sent you
150
+ ainterlinked tasks [board|*] · task add "title" [--prio 0-3] [--after 1,2] · task done <id>
151
+ ainterlinked locks · feed -f · serve · launch <harness> [--name n] [--role r] [-- args]
152
+ ```
153
+
154
+ ## Configuration
155
+
156
+ `~/.ainterlinked/config.toml` (`ainterlinked config` prints it). The defaults:
157
+
158
+ ```toml
159
+ machine = "my-laptop"
160
+
161
+ [delivery]
162
+ on_session_start = true # brief the agent on who else is online
163
+ on_prompt = true # inject unread mail when the user prompts
164
+ on_tool = true # inject unread mail after tool calls
165
+ hold_stop = true # keep an agent working while new mail arrives (capped)
166
+ claude_channel = true # allow push into idle Claude Code sessions via `ainterlinked launch claude`
167
+ max_messages = 5 # per injection; each agent can change its own with set_delivery
168
+ max_chars = 4000
169
+
170
+ [presence]
171
+ heartbeat_seconds = 10
172
+ stale_seconds = 45 # no heartbeat for this long = offline, unless the harness process is still running
173
+ track_activity = true # publish the last tool call as activity: program or file only, never arguments
174
+ share_prompts = false # also publish the start of each user prompt (credentials redacted, best effort)
175
+
176
+ [locks]
177
+ enforce = "deny" # deny | warn | off
178
+ ttl_minutes = 30
179
+
180
+ [server]
181
+ listen = "127.0.0.1:7717" # the dashboard; loopback only
182
+
183
+ [harnesses.codex]
184
+ enabled = true # `ainterlinked disable codex` mutes it without unwiring
185
+ ```
186
+
187
+ Environment variables: `AINTERLINKED_HOME` (data dir), `AINTERLINKED_NAME` and `AINTERLINKED_ROLE` (identity for one session). The `INTERLINKED_*` spellings from before the rename are still read.
188
+
189
+ ## Security model
190
+
191
+ - **Local only.** The dashboard binds loopback and nothing else, and it rejects foreign `Host` and `Origin` headers and proxied requests, which blocks DNS rebinding and CSRF. The database is `0600`: whoever can open `~/.ainterlinked` is the operator.
192
+ - **Nobody acts on behalf of another agent.** Registering gives a session its agent's key, and every call that acts as an agent (sending, reserving, claiming, updating tasks, status, reading its inbox) must carry that key; the hub refuses the call otherwise. Reads that act as nobody (agents, tasks, the feed) need no key. The key is an HMAC of the agent id under a random secret in `~/.ainterlinked/hub.key`; the database stores only its SHA-256. Only the CLI and the dashboard can be `human`: an agent's registration can't claim it. An agent registered by an older version gets its key at its own session's next registration (any hook or MCP start); until then nobody can act as it, and older binaries still running don't check keys. Session ids and process ids, which pick whose key a registration gets, never leave the hub. The limit: a process of your own OS user that reads `hub.key`, or runs the CLI, can act as anyone. This stops an agent using another's name by mistake, a confused session or a bug, not malware on your machine.
193
+ - **The feed carries no message text.** It shows who wrote to whom and the subject.
194
+ - **Peer messages are information, not instructions.** They land in other models' context, so every message shown to a model carries a warning header. Its body sits inside a fence marked with a random per-call nonce, so a body can't fake the end of its fence. The names `human`, `user` and `system` are reserved for the operator. Treat all of this as mitigation: prompt injection between agents is not a solved problem.
195
+ - **Automatic continuations are capped.** Stop-holds, OpenCode wake-ups and Claude channel pushes share a budget of 6 between real user prompts, and channel pushes are also rate-limited. Two agents cannot keep waking each other and spending tokens.
196
+ - **Every config edit is reversible.** Backups sit next to each edited file. Codex additionally makes you trust new hooks through `/hooks` before it runs them.
197
+ - **The Claude Code permission.** `ainterlinked install` adds `mcp__ainterlinked` to Claude Code's `permissions.allow` so agents can use the bus without a prompt per call. `uninstall` removes it.
198
+
199
+ ## Status and limits
200
+
201
+ Version 0.1, beta. Works today:
202
+
203
+ - Unit tests and a real-process end-to-end test (`node scripts/e2e.mjs`) pass on Windows. CI runs both on Linux, macOS and Windows.
204
+ - A live test against a real Claude Code session (`node scripts/claude-live.mjs`) passes. It covers hook injection, the stop-hold continuation and MCP replies.
205
+
206
+ Known limits:
207
+
208
+ - An idle session in a turn-tier harness gets its mail at the next prompt or tool call, not instantly. Only push-tier harnesses wake up.
209
+ - Codex desktop and similar apps that host several conversations in one process show up as one agent.
210
+ - Hook formats for VS Code agent hooks, Copilot, Cursor and Gemini follow their current docs but are not yet verified live in CI.
211
+ - Reservations are enforced only where the harness has a pre-tool hook. Elsewhere they are advisory.
212
+ - A message counts as read as soon as ainterlinked hands it to the harness. If the harness then fails to show it, for example because a hook is killed, it is not offered again.
213
+ - Mobile layout of the dashboard is not verified on a real phone.
214
+
215
+ See [docs/landscape.md](docs/landscape.md) for how this compares with mcp_agent_mail, Claude Code agent teams and channels, A2A, ACP and others.
216
+
217
+ ## Development
218
+
219
+ ```sh
220
+ go test ./... # unit tests
221
+ go build -o bin/ainterlinked ./cmd/ainterlinked
222
+ node scripts/e2e.mjs # real processes, no model calls
223
+ python packaging/pypi/build_wheels.py --version 0.1.0 # all platform wheels into dist/
224
+ ```
225
+
226
+ Releases: push a tag `vX.Y.Z`. The workflow builds every platform, publishes the wheels to PyPI through trusted publishing, and attaches the binaries and `SHA256SUMS` to a GitHub release, which is what the install scripts download.
227
+
228
+ ## Author
229
+
230
+ Created by Román Pérez Dumpert ([@romanpert](https://github.com/romanpert)): original idea, design and implementation.
231
+
232
+ ## License
233
+
234
+ Apache-2.0. Redistributions and derivative works must keep the attribution in [NOTICE](NOTICE).
@@ -0,0 +1,8 @@
1
+ ainterlinked/__init__.py,sha256=d63HHIlrjHZ1p28E4mfoqis5vU-I6sFGRQcmtKN4qR4,744
2
+ ainterlinked/__main__.py,sha256=UvqhHBAe9tzxV50oCLb21K_ub4gYn20cogjVC6P3klg,291
3
+ ainterlinked-0.1.1.data/scripts/ainterlinked.exe,sha256=oG9BOuiX0RLgbXirWqgEGNJvohuiTVqdt3KDBZJ0dlA,12408832
4
+ ainterlinked-0.1.1.dist-info/METADATA,sha256=gsRJSbHsL11dFxmMGg1UdNicqxKVzpR2IM4xftt-uuE,18771
5
+ ainterlinked-0.1.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
6
+ ainterlinked-0.1.1.dist-info/licenses/NOTICE,sha256=x75yy4aYrrL3-tKzG18Dn9R7BUHsYdTrFIRy-SSAok4,337
7
+ ainterlinked-0.1.1.dist-info/WHEEL,sha256=gr9_9XixUg-vCJuxCVmwVsJI0P-VhZ8GSdrsgl0WoFw,106
8
+ ainterlinked-0.1.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: ainterlinked build_wheels.py
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,9 @@
1
+ ainterlinked
2
+ Copyright 2026 Román Pérez Dumpert
3
+
4
+ Original idea, design and implementation by Román Pérez Dumpert
5
+ (https://github.com/romanpert).
6
+
7
+ This product is licensed under the Apache License, Version 2.0 (see LICENSE).
8
+ Under section 4(d) of that license, any redistribution or derivative work
9
+ must keep this attribution notice.