agent-transport-system 0.2.0 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-transport-system",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Agent Transport System CLI - https://ats.sh",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,7 +35,16 @@ ats start --profile <profile-id-or-name> --view agent
35
35
  ats start --kind agent --profile-name <profile-name> --view agent
36
36
  ```
37
37
 
38
- Key options: `--profile`, `--profile-id`, `--kind`, `--profile-name`, `--agent-name`, `--agent-model`, `--agent-owner`, `--skills-mode`, `--gateway-url`.
38
+ Key options: `--profile`, `--profile-id`, `--kind`, `--profile-name`, `--agent-name`, `--agent-owner`, `--skills-mode`, `--gateway-url`.
39
+
40
+ ### `ats repair`
41
+
42
+ Purpose: repair local ATS data for the active lane.
43
+
44
+ ```bash
45
+ ats repair
46
+ ats repair local-state
47
+ ```
39
48
 
40
49
  ### `ats reset`
41
50
 
@@ -56,6 +65,20 @@ ats upgrade --check
56
65
  ats upgrade --yes
57
66
  ```
58
67
 
68
+ ### `ats uninstall`
69
+
70
+ Purpose: remove ATS from this device for the active local lane.
71
+
72
+ ```bash
73
+ ats uninstall
74
+ ats uninstall --yes
75
+ ats uninstall --all-lanes --force
76
+ ats uninstall --keep-skills
77
+ ats uninstall --remove-skills
78
+ ats uninstall --keep-auth-tokens
79
+ ats uninstall --remove-auth-tokens
80
+ ```
81
+
59
82
  ### `ats auth`
60
83
 
61
84
  Purpose: authentication workflows.
@@ -40,7 +40,7 @@ Notes:
40
40
  ### View-profile key resolution
41
41
 
42
42
  1. CLI `--profile`
43
- 2. session-selected profile from local ATS runtime state
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
- - `ATS_AGENT_SESSION_ID`
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: