@lazyingart/agintiflow 0.20.192 → 0.20.194
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.
- package/README.md +3 -0
- package/docs/agentlink.md +113 -0
- package/package.json +4 -3
- package/references/aginti-agentlink-default-collaboration-design-2026-06-07.md +1087 -0
- package/references/agintiflow-npm-publication-memory.md +25 -1
- package/scripts/smoke-coding-tools.js +29 -0
- package/scripts/smoke-web-api.js +33 -0
- package/skills/aginti-agentlink/SKILL.md +104 -0
- package/src/agent-runner.js +18 -0
- package/src/agentlink.js +759 -0
- package/src/capabilities.js +1 -0
- package/src/cli.js +17 -1
- package/src/guardrails.js +5 -0
- package/src/interactive-cli.js +12 -0
- package/src/model-client.js +152 -1
- package/src/workspace-tools.js +95 -2
- package/web.js +139 -0
package/README.md
CHANGED
|
@@ -160,6 +160,7 @@ aginti --language de
|
|
|
160
160
|
| Disable SCS for simple work | `/scs off` or `aginti --no-scs "task"` |
|
|
161
161
|
| Control dynamic step budgets | `--dynamic-steps auto\|on\|off` |
|
|
162
162
|
| Work with AAPS workflows | `aginti aaps status`, `/aaps validate` |
|
|
163
|
+
| Coordinate sessions | `aginti agentlink status`, `/link peers`, `/link board default` |
|
|
163
164
|
| Inspect or call MCP servers | `aginti mcp status`, `/mcp tools <server>`, `/mcp call <server> <tool> '{"arg":"value"}'` |
|
|
164
165
|
| Choose models | `/route`, `/model`, `/spare`, `/wrapper`, `/auxiliary model` |
|
|
165
166
|
| Switch permissions | `-s safe`, `-s normal`, `-s danger`, or `/safe`, `/normal`, `/danger` |
|
|
@@ -245,6 +246,7 @@ The website keeps the visual walkthrough in a carousel so this README can stay f
|
|
|
245
246
|
| Image reading and web research | `read_image` uses OpenAI vision for workspace images when `OPENAI_API_KEY` is configured, otherwise it can fall back to Codex CLI image attachments when available. It saves JSON and Markdown reports and can surface the report in the canvas. `web_research` preserves source lists, and optional OpenAI hosted web search or `research_wrapper` can be used for higher-confidence research. |
|
|
246
247
|
| SCS mode | Default Student-Committee-Supervisor quality gate with independent planning, execution, and validation roles. |
|
|
247
248
|
| AAPS adapter | Optional `@lazyingart/aaps` integration for `.aaps` workflow init, validate, parse, compile, dry-run, and run commands. |
|
|
249
|
+
| AgentLink | Local-first collaboration between AgInTi sessions through boards, typed messages, action contracts, safe summaries, and evidence bundles. |
|
|
248
250
|
| Image generation | Optional GRS AI and Venice image tools with saved manifests and canvas artifact previews. |
|
|
249
251
|
| Skill library | Built-in Markdown skills plus project-local `.aginti/skills/<id>/SKILL.md` skills for reusable workflow knowledge that should not be hard-coded into the runtime. |
|
|
250
252
|
| External skill packs | Whole Agent Skills repositories can be loaded as grouped packs without flattening. A sibling `../scientific-agent-skills` checkout is discovered as the `scientific` category, so commands like `aginti skills rdkit` and `aginti skills "single cell scanpy"` expose K-Dense Scientific Agent Skills when present. |
|
|
@@ -391,6 +393,7 @@ More detail:
|
|
|
391
393
|
| Topic | Link |
|
|
392
394
|
| --- | --- |
|
|
393
395
|
| AAPS adapter | [docs/aaps.md](docs/aaps.md) |
|
|
396
|
+
| AgentLink | [docs/agentlink.md](docs/agentlink.md) |
|
|
394
397
|
| Model selection and roles | [docs/model-selection.md](docs/model-selection.md) |
|
|
395
398
|
| SCS mode | [docs/student-committee-supervisor.md](docs/student-committee-supervisor.md) |
|
|
396
399
|
| Large-codebase engineering | [docs/large-codebase-engineering.md](docs/large-codebase-engineering.md) |
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# AgInTi AgentLink
|
|
2
|
+
|
|
3
|
+
AgentLink is AgInTiFlow's local-first collaboration layer for multiple AgInTi sessions.
|
|
4
|
+
|
|
5
|
+
It lets sessions coordinate through durable boards, typed messages, action contracts, safe session summaries, and evidence bundles. It does not let one session silently run tools inside another session.
|
|
6
|
+
|
|
7
|
+
## Defaults
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
local same-account session discovery: on
|
|
11
|
+
manual board creation: on
|
|
12
|
+
session inbox delivery: explicit
|
|
13
|
+
network peer discovery: off
|
|
14
|
+
raw session sharing: off
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
This keeps AgentLink useful by default without turning AgInTi into an uncontrolled swarm.
|
|
18
|
+
|
|
19
|
+
## CLI
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
aginti agentlink status
|
|
23
|
+
aginti agentlink peers
|
|
24
|
+
aginti agentlink boards
|
|
25
|
+
aginti agentlink create "Experiment board" --objective "Coordinate capture and analysis"
|
|
26
|
+
aginti agentlink board default
|
|
27
|
+
aginti agentlink send default <session-id> "Please report current status with evidence."
|
|
28
|
+
aginti agentlink claim default "Record event-camera sample" --owner-session <session-id>
|
|
29
|
+
aginti agentlink evidence default "Output file exists and hash verified" --path results/manifest.json
|
|
30
|
+
aginti agentlink summary <session-id>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Aliases:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
aginti link status
|
|
37
|
+
aginti agents peers
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Interactive CLI:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
/link
|
|
44
|
+
/link peers
|
|
45
|
+
/link board default
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Web API
|
|
49
|
+
|
|
50
|
+
```text
|
|
51
|
+
GET /api/agentlink/status
|
|
52
|
+
GET /api/agentlink/peers
|
|
53
|
+
GET /api/agentlink/boards
|
|
54
|
+
POST /api/agentlink/boards
|
|
55
|
+
GET /api/agentlink/boards/:boardId
|
|
56
|
+
POST /api/agentlink/boards/:boardId/messages
|
|
57
|
+
POST /api/agentlink/boards/:boardId/contracts
|
|
58
|
+
POST /api/agentlink/boards/:boardId/evidence
|
|
59
|
+
GET /api/agentlink/sessions/:sessionId/summary
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Model Tools
|
|
63
|
+
|
|
64
|
+
AgInTi sessions can use:
|
|
65
|
+
|
|
66
|
+
- `agentlink_status`
|
|
67
|
+
- `agentlink_list_peers`
|
|
68
|
+
- `agentlink_create_board`
|
|
69
|
+
- `agentlink_get_board`
|
|
70
|
+
- `agentlink_send_message`
|
|
71
|
+
- `agentlink_claim_task`
|
|
72
|
+
- `agentlink_attach_evidence`
|
|
73
|
+
- `agentlink_summarize_session`
|
|
74
|
+
|
|
75
|
+
These tools are deterministic local runtime tools. They are not external MCP tools and they do not grant remote execution rights.
|
|
76
|
+
|
|
77
|
+
## Storage
|
|
78
|
+
|
|
79
|
+
AgentLink stores account-local state under:
|
|
80
|
+
|
|
81
|
+
```text
|
|
82
|
+
~/.agintiflow/agentlink/
|
|
83
|
+
identity.json
|
|
84
|
+
peers.json
|
|
85
|
+
boards/
|
|
86
|
+
<board-id>/
|
|
87
|
+
board.json
|
|
88
|
+
messages.jsonl
|
|
89
|
+
events.jsonl
|
|
90
|
+
evidence.jsonl
|
|
91
|
+
contracts/
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Session inbox delivery uses the existing session store:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
~/.agintiflow/sessions/<session-id>/inbox.jsonl
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Evidence Rule
|
|
101
|
+
|
|
102
|
+
AgentLink messages are not proof. A completion claim should cite concrete evidence such as:
|
|
103
|
+
|
|
104
|
+
- file path;
|
|
105
|
+
- command output;
|
|
106
|
+
- artifact id;
|
|
107
|
+
- screenshot path;
|
|
108
|
+
- report path;
|
|
109
|
+
- log path;
|
|
110
|
+
- checksum;
|
|
111
|
+
- session summary with recent event types.
|
|
112
|
+
|
|
113
|
+
Use `agentlink_attach_evidence` to persist that evidence on the board.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lazyingart/agintiflow",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.194",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AgInTiFlow is a project-aware agent workspace for hybrid wet-dry R&D, hardware-aware intelligence, software automation, and industrial workflows.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -92,13 +92,14 @@
|
|
|
92
92
|
"scripts": {
|
|
93
93
|
"start": "node run.js",
|
|
94
94
|
"web": "node web.js",
|
|
95
|
-
"check": "node --check run.js && node --check web.js && node --check bin/aginti-cli.js && node --check src/*.js && node --check src/mcp/*.js && node --check public/app.js && node --check scripts/seed-supervised-homework.js && node --check scripts/smoke-mcp.js && node --check scripts/smoke-web-ui.js && node --check scripts/smoke-scs-evidence-visibility.js && node --check scripts/fixtures/mcp-stdio-smoke-server.mjs",
|
|
95
|
+
"check": "node --check run.js && node --check web.js && node --check bin/aginti-cli.js && node --check src/*.js && node --check src/mcp/*.js && node --check public/app.js && node --check scripts/seed-supervised-homework.js && node --check scripts/smoke-agentlink.js && node --check scripts/smoke-mcp.js && node --check scripts/smoke-web-ui.js && node --check scripts/smoke-scs-evidence-visibility.js && node --check scripts/fixtures/mcp-stdio-smoke-server.mjs",
|
|
96
96
|
"setup:toolchain-docker": "scripts/setup-agent-toolchain-docker.sh",
|
|
97
97
|
"smoke:coding-tools": "node scripts/smoke-coding-tools.js",
|
|
98
98
|
"smoke:dynamic-step-budget": "node scripts/smoke-dynamic-step-budget.js",
|
|
99
99
|
"smoke:aaps-adapter": "node scripts/smoke-aaps-adapter.js",
|
|
100
100
|
"smoke:auxiliary-tools": "node scripts/smoke-auxiliary-tools.js",
|
|
101
101
|
"smoke:auth": "node scripts/smoke-auth.js",
|
|
102
|
+
"smoke:agentlink": "node scripts/smoke-agentlink.js",
|
|
102
103
|
"smoke:canvas-artifacts": "node scripts/smoke-canvas-artifacts.js",
|
|
103
104
|
"smoke:cli-chat": "node scripts/smoke-cli-chat.js",
|
|
104
105
|
"smoke:docker-command": "node scripts/smoke-docker-command.js",
|
|
@@ -127,7 +128,7 @@
|
|
|
127
128
|
"storage:migrate": "node bin/aginti-cli.js storage migrate",
|
|
128
129
|
"publish:env": "node scripts/npm-publish-from-env.js publish --access public",
|
|
129
130
|
"publish:env:whoami": "node scripts/npm-publish-from-env.js whoami",
|
|
130
|
-
"test": "npm run check && npm run smoke:runtime-compat && npm run smoke:autoupdate && npm run smoke:web-api && npm run smoke:web-ui && npm run smoke:web-autostart && npm run smoke:webapp-command && npm run smoke:web-port-fallback && npm run smoke:docker-command && npm run smoke:coding-tools && npm run smoke:dynamic-step-budget && npm run smoke:aaps-adapter && npm run smoke:auxiliary-tools && npm run smoke:perception-research && npm run smoke:auth && npm run smoke:canvas-artifacts && npm run smoke:capabilities && npm run smoke:mcp && npm run smoke:model-roles && npm run smoke:platform && npm run smoke:permission-modes && npm run smoke:skills && npm run smoke:skillmesh && npm run smoke:tmux-tools && npm run smoke:long-jobs && npm run smoke:cli-chat && npm run smoke:inbox",
|
|
131
|
+
"test": "npm run check && npm run smoke:runtime-compat && npm run smoke:autoupdate && npm run smoke:web-api && npm run smoke:web-ui && npm run smoke:web-autostart && npm run smoke:webapp-command && npm run smoke:web-port-fallback && npm run smoke:docker-command && npm run smoke:coding-tools && npm run smoke:dynamic-step-budget && npm run smoke:aaps-adapter && npm run smoke:auxiliary-tools && npm run smoke:perception-research && npm run smoke:auth && npm run smoke:agentlink && npm run smoke:canvas-artifacts && npm run smoke:capabilities && npm run smoke:mcp && npm run smoke:model-roles && npm run smoke:platform && npm run smoke:permission-modes && npm run smoke:skills && npm run smoke:skillmesh && npm run smoke:tmux-tools && npm run smoke:long-jobs && npm run smoke:cli-chat && npm run smoke:inbox",
|
|
131
132
|
"pack:dry-run": "npm pack --dry-run",
|
|
132
133
|
"smoke:capabilities": "node scripts/smoke-capabilities.js"
|
|
133
134
|
},
|