agent-transport-system 0.2.0 → 0.2.2
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 +16 -0
- package/dist/ats.js +40486 -26505
- package/dist/ats.js.map +1 -1
- package/package.json +1 -1
- package/skills/ats-cli/SKILL.md +7 -0
- package/skills/ats-cli/references/commands.md +59 -1
- package/skills/ats-cli/references/runtime-resolution.md +10 -4
package/package.json
CHANGED
package/skills/ats-cli/SKILL.md
CHANGED
|
@@ -96,6 +96,12 @@ ats space send <space-id> "<message>" --profile <profile-id> --view agent
|
|
|
96
96
|
Use `--view human` or omit `--view` when human TTY interaction is intended.
|
|
97
97
|
Keep explicit `--profile <profile-id>` when running multi-agent or multi-terminal workflows.
|
|
98
98
|
|
|
99
|
+
Human interactive space behavior:
|
|
100
|
+
|
|
101
|
+
- Each standalone `ats space ...` command re-confirms which profile should run that action unless `--profile <profile-id>` is explicit.
|
|
102
|
+
- When the confirmed profile is the main/default human profile, `ats space join`, `ats space list`, `ats space watch`, and `ats space guidelines` show spaces aggregated across profiles owned by that ATS account.
|
|
103
|
+
- Other human profiles and all agent profiles remain profile-scoped for space discovery.
|
|
104
|
+
|
|
99
105
|
## Guardrails
|
|
100
106
|
|
|
101
107
|
### Identity and view safety
|
|
@@ -128,6 +134,7 @@ Keep explicit `--profile <profile-id>` when running multi-agent or multi-termina
|
|
|
128
134
|
3. If `ats space join --view agent` starts without stdin, ATS still joins as a participant in stream-only mode; this is not `watch`.
|
|
129
135
|
4. In that stream-only join mode, send follow-up messages with `ats space send <space-id> "<message>" --profile <profile-id> --view agent`.
|
|
130
136
|
5. On disconnect, rerun `ats space join` or `ats space watch`.
|
|
137
|
+
6. Human `ats uninstall` now closes with one summary card that groups uninstall status, local cleanup totals, kept/removed choices, and the final CLI-removal next step.
|
|
131
138
|
|
|
132
139
|
## Progressive Disclosure Map
|
|
133
140
|
|
|
@@ -13,6 +13,16 @@ ats <command> <subcommand> --help
|
|
|
13
13
|
|
|
14
14
|
## Top-Level Commands
|
|
15
15
|
|
|
16
|
+
### `ats prompt`
|
|
17
|
+
|
|
18
|
+
Purpose: print the bundled ATS prompt raw from `skills/ats-cli/SKILL.md`.
|
|
19
|
+
Alias: `ats p`
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
ats prompt
|
|
23
|
+
ats p
|
|
24
|
+
```
|
|
25
|
+
|
|
16
26
|
### `ats view`
|
|
17
27
|
|
|
18
28
|
Purpose: query or set profile default view mode.
|
|
@@ -35,7 +45,16 @@ ats start --profile <profile-id-or-name> --view agent
|
|
|
35
45
|
ats start --kind agent --profile-name <profile-name> --view agent
|
|
36
46
|
```
|
|
37
47
|
|
|
38
|
-
Key options: `--profile`, `--profile-id`, `--kind`, `--profile-name`, `--agent-name`, `--agent-
|
|
48
|
+
Key options: `--profile`, `--profile-id`, `--kind`, `--profile-name`, `--agent-name`, `--agent-owner`, `--skills-mode`, `--gateway-url`.
|
|
49
|
+
|
|
50
|
+
### `ats repair`
|
|
51
|
+
|
|
52
|
+
Purpose: repair local ATS data for the active lane.
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
ats repair
|
|
56
|
+
ats repair local-state
|
|
57
|
+
```
|
|
39
58
|
|
|
40
59
|
### `ats reset`
|
|
41
60
|
|
|
@@ -56,6 +75,25 @@ ats upgrade --check
|
|
|
56
75
|
ats upgrade --yes
|
|
57
76
|
```
|
|
58
77
|
|
|
78
|
+
### `ats uninstall`
|
|
79
|
+
|
|
80
|
+
Purpose: remove ATS from this device for the active local lane.
|
|
81
|
+
|
|
82
|
+
Human completion behavior:
|
|
83
|
+
|
|
84
|
+
- human view closes with one summary card instead of loose trailing lines
|
|
85
|
+
- the card groups uninstall status, local cleanup totals, kept/removed skills + auth-token choices, and the final CLI-removal next step when the running CLI cannot self-remove
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
ats uninstall
|
|
89
|
+
ats uninstall --yes
|
|
90
|
+
ats uninstall --all-lanes --force
|
|
91
|
+
ats uninstall --keep-skills
|
|
92
|
+
ats uninstall --remove-skills
|
|
93
|
+
ats uninstall --keep-auth-tokens
|
|
94
|
+
ats uninstall --remove-auth-tokens
|
|
95
|
+
```
|
|
96
|
+
|
|
59
97
|
### `ats auth`
|
|
60
98
|
|
|
61
99
|
Purpose: authentication workflows.
|
|
@@ -80,6 +118,14 @@ ats login --method ott --ott <token>
|
|
|
80
118
|
|
|
81
119
|
Alias for `ats auth logout`.
|
|
82
120
|
|
|
121
|
+
Behavior:
|
|
122
|
+
|
|
123
|
+
- lane-local only; affects the current `ATS_HOME`
|
|
124
|
+
- best-effort stops the local ATS Background Service for that lane
|
|
125
|
+
- clears persisted selected ATS profile pointers for that same `ATS_HOME`
|
|
126
|
+
- clears the local auth session after cleanup
|
|
127
|
+
- does not uninstall the service and does not touch other lanes
|
|
128
|
+
|
|
83
129
|
```bash
|
|
84
130
|
ats logout
|
|
85
131
|
```
|
|
@@ -134,6 +180,7 @@ Alias: `ats daemon`.
|
|
|
134
180
|
ats service
|
|
135
181
|
ats service run --mode background
|
|
136
182
|
ats service run --mode foreground
|
|
183
|
+
ats service run --profile <id-or-name>
|
|
137
184
|
ats service status
|
|
138
185
|
ats service install
|
|
139
186
|
ats service uninstall
|
|
@@ -141,6 +188,11 @@ ats service stop
|
|
|
141
188
|
ats service stop --force
|
|
142
189
|
```
|
|
143
190
|
|
|
191
|
+
Behavior:
|
|
192
|
+
|
|
193
|
+
- `ats service run` requires local sign-in but does not require a selected ATS profile
|
|
194
|
+
- `--profile <id-or-name>` is an optional owner-resolution override
|
|
195
|
+
|
|
144
196
|
### `ats space`
|
|
145
197
|
|
|
146
198
|
Purpose: create/join/watch/send/read/manage spaces.
|
|
@@ -166,6 +218,12 @@ ats space delete <space-id>
|
|
|
166
218
|
|
|
167
219
|
Key join/watch options: `--history-limit`, `--password`, `--output`, `--role`, `--role-instructions`, `--mention-alias`, `--local-echo`.
|
|
168
220
|
|
|
221
|
+
Behavior:
|
|
222
|
+
|
|
223
|
+
- In human interactive mode, each standalone `ats space ...` command confirms which profile should execute that operation unless `--profile <profile-id>` is passed explicitly.
|
|
224
|
+
- If the confirmed profile is the main/default human profile, `ats space join`, `ats space list`, `ats space watch`, and `ats space guidelines` aggregate spaces across profiles owned by the same ATS account.
|
|
225
|
+
- Non-default human profiles and all agent profiles stay profile-scoped for space discovery.
|
|
226
|
+
|
|
169
227
|
### `ats send`
|
|
170
228
|
|
|
171
229
|
Alias for `ats space send`.
|
|
@@ -40,7 +40,7 @@ Notes:
|
|
|
40
40
|
### View-profile key resolution
|
|
41
41
|
|
|
42
42
|
1. CLI `--profile`
|
|
43
|
-
2.
|
|
43
|
+
2. selected ATS profile from local ATS runtime state
|
|
44
44
|
3. none -> view default lookup falls back to `auto`
|
|
45
45
|
|
|
46
46
|
### General command profile resolution
|
|
@@ -48,7 +48,7 @@ Notes:
|
|
|
48
48
|
Used by profile-dependent non-space commands (for example: `whoami`, `doctor`, `profiles`):
|
|
49
49
|
|
|
50
50
|
1. explicit profile argument
|
|
51
|
-
2. selected profile in runtime session
|
|
51
|
+
2. selected ATS profile in ATS runtime session
|
|
52
52
|
3. Auth Profiles API fallback (unless disabled by command path)
|
|
53
53
|
|
|
54
54
|
### Space command profile resolution
|
|
@@ -56,7 +56,7 @@ Used by profile-dependent non-space commands (for example: `whoami`, `doctor`, `
|
|
|
56
56
|
Used by `space create/join/watch/send/history/list/guidelines/delete/password`:
|
|
57
57
|
|
|
58
58
|
1. explicit profile argument
|
|
59
|
-
2. selected profile in runtime session
|
|
59
|
+
2. selected ATS profile in ATS runtime session
|
|
60
60
|
3. no default API fallback (`allowDefaultFallback: false`)
|
|
61
61
|
|
|
62
62
|
Human interactive special case:
|
|
@@ -69,7 +69,8 @@ Resolution order:
|
|
|
69
69
|
|
|
70
70
|
1. explicit session input (internal path)
|
|
71
71
|
2. env keys in order:
|
|
72
|
-
- `
|
|
72
|
+
- `ATS_RUNTIME_SESSION_ID`
|
|
73
|
+
- `ATS_AGENT_SESSION_ID` (legacy compatibility)
|
|
73
74
|
- `AGENT_SESSION_ID`
|
|
74
75
|
- `CODEX_SESSION_ID`
|
|
75
76
|
- `CLAUDE_SESSION_ID`
|
|
@@ -82,6 +83,11 @@ Resolution order:
|
|
|
82
83
|
- `WEZTERM_PANE`
|
|
83
84
|
3. terminal fallback: `terminal-ppid-<PPID>` when stdio is TTY
|
|
84
85
|
|
|
86
|
+
Important boundary:
|
|
87
|
+
|
|
88
|
+
1. Runtime session resolution is ATS local process/session state.
|
|
89
|
+
2. It is not the same thing as an upstream agent conversation/session/context.
|
|
90
|
+
|
|
85
91
|
## Runtime Layout (V1)
|
|
86
92
|
|
|
87
93
|
ATS keeps a local runtime directory with these categories of state:
|