@remits/remits-cli 0.1.110 → 0.1.112
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 +13 -16
- package/index.js +1951 -117
- package/package.json +1 -1
- package/skills/remits-cli/SKILL.md +283 -32
package/README.md
CHANGED
|
@@ -112,33 +112,30 @@ remits-cli install --skills --overwrite true
|
|
|
112
112
|
- If the machine sleeps, the network drops, or auth sessions change while the daemon is already running, the service now attempts to reconnect and resubscribe automatically once connectivity returns.
|
|
113
113
|
- Incoming websocket messages of type `remits-cli` are dispatched into dedicated tmux windows so the selected agent can continue working interactively with a full terminal view.
|
|
114
114
|
- The listener creates a shared tmux session named `remits-listener`.
|
|
115
|
-
- Support tickets are the primary unit of dispatched work.
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
- If a pane for a tracked ticket has exited or is dead, the listener removes that mapping and creates a replacement pane.
|
|
120
|
-
- Pane commands are launched through the user's login shell so the pane inherits the normal interactive `PATH`.
|
|
121
|
-
- The preferred agent comes from `remits-cli config set --agent claude|codex|gemini`. The default is `claude`.
|
|
115
|
+
- Support tickets are the primary unit of dispatched work. A serving agent launches one fresh worker process per routed ticket.
|
|
116
|
+
- Agent sessions register themselves with `remits-cli agent register` or `remits-cli agent serve`; `serve` also starts the local supervisor.
|
|
117
|
+
- Tickets are delivered by durable routing on the ticket record, then the agent asks for routed work with `remits-cli agent work`.
|
|
118
|
+
- The preferred worker comes from `remits-cli config set --agent claude|codex|gemini`. The default is `claude`.
|
|
122
119
|
|
|
123
120
|
## Support Tickets
|
|
124
121
|
|
|
125
122
|
- Support tickets are stored as documents in the `support_tickets` collection.
|
|
126
|
-
- New tickets and ticket updates are
|
|
127
|
-
- Think of this as a lightweight local support queue: the platform
|
|
123
|
+
- New tickets and ticket updates are recorded centrally; local agents receive work by polling for tickets routed to their registered session.
|
|
124
|
+
- Think of this as a lightweight local support queue: the platform owns the record and lifecycle verbs, while account components can layer their own helpdesk workflow on top.
|
|
128
125
|
- `accountId` / `accountName` identify the account that owns the ticket.
|
|
129
126
|
- If present, `implementationAccountId` / `implementationAccountName` identify the platform or product context that owns the shared implementation.
|
|
130
|
-
-
|
|
127
|
+
- Worker repo resolution prefers `implementationAccountId` when present, then falls back to `accountId`. If one of those repos is indexed locally in `~/.remits-cli/account-repos.json`, it is used as the worker's directory.
|
|
131
128
|
- Agents must resolve account `type` (`PLATFORM`, `PRODUCT`, `CLIENT`) before deciding which local repo to use. A `CLIENT` ticket may still require code changes in a parent `PLATFORM` or `PRODUCT` repo.
|
|
132
|
-
- Use `
|
|
129
|
+
- Use `remits-cli ticket` to manage the generic platform ticket lifecycle:
|
|
133
130
|
|
|
134
131
|
```bash
|
|
135
|
-
remits-cli
|
|
136
|
-
remits-cli
|
|
137
|
-
remits-cli
|
|
138
|
-
remits-cli
|
|
132
|
+
remits-cli ticket read --ticket 123 --data-mode prod
|
|
133
|
+
remits-cli ticket accept --ticket 123 --data-mode prod
|
|
134
|
+
remits-cli ticket status --ticket 123 --status in_progress --notes "Investigating logs" --data-mode prod
|
|
135
|
+
remits-cli ticket complete --ticket 123 --resolution "Fixed and verified" --data-mode prod
|
|
139
136
|
```
|
|
140
137
|
|
|
141
|
-
- Recommended ticket flow: `read` first, then `accept`, then `
|
|
138
|
+
- Recommended ticket flow: `read` first, then `accept`, then `status` as work progresses, then `complete`, `ask`, or `release`.
|
|
142
139
|
|
|
143
140
|
## Logging and State Files
|
|
144
141
|
|