@rfany/rf 0.20.5 → 0.20.6
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 +1 -1
- package/rf.mjs +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rfany/rf",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.6",
|
|
4
4
|
"description": "rollforward's command line for people: what its page does, from a shell or a desktop agent, as you",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": { "type": "git", "url": "git+https://github.com/spoj/rollforward.git", "directory": "cli" },
|
package/rf.mjs
CHANGED
|
@@ -188,7 +188,7 @@ What there is
|
|
|
188
188
|
files, and review the work in threads with the agent. One series owner is accountable for every instance: only that person
|
|
189
189
|
closes and abandons. Their acts and answers by whom the agent's ask named start runs under current consent. Runs use the
|
|
190
190
|
owner's selected credentials, across every instance. Without consent, nothing runs; selecting none permits work with no
|
|
191
|
-
credentials. Scheduled and autonomous runs need a separate opt-in. Other collaborators' comments
|
|
191
|
+
credentials. Scheduled and autonomous runs need a separate opt-in. Other collaborators' comments and uploads are notes that start nothing.
|
|
192
192
|
Transferring the whole series stops old runs and clears consent; old unread instructions become notes. Each act keeps
|
|
193
193
|
its author, and every run its executor.
|
|
194
194
|
- rf is quiet: a comment, upload, approval, rejection, new instance or request it starts begins no run unless --wake, and the agent
|
|
@@ -197,10 +197,10 @@ What there is
|
|
|
197
197
|
- A comment starts a thread, on the instance or on an item, at a cell such as Base!C25 or a line of a markdown file by its
|
|
198
198
|
opening words, and replies go under any comment in it, cN by its seq, a thread's id its first comment's. The agent asks
|
|
199
199
|
questions, which wait on someone, the one it names or else the series owner, until a person replies under it, and proposes what it
|
|
200
|
-
will do for its series owner, such as sending mail, which waits until
|
|
200
|
+
will do for its series owner, such as sending mail, which waits until the owner or named addressee approves or rejects it, or the agent withdraws it; a
|
|
201
201
|
proposal missing information should be rejected with feedback, so the agent can revise and propose again. Generic comments
|
|
202
202
|
are not proposal decisions. rf ls says how many asks wait in each instance. Reactions, thumbs up or down, are
|
|
203
|
-
quiet signals kept for later.
|
|
203
|
+
quiet signals kept for later. Only the series owner or the person a proposal names (--to) may approve or reject it; approval commits the instance's folder to its
|
|
204
204
|
history, .git in it, as it is then, as closing does. Whose approval counts, and for what, is the series' call.
|
|
205
205
|
|
|
206
206
|
What rf pull copies, the folders as the agent sees them
|
|
@@ -1224,7 +1224,7 @@ else if (cmd === 'kill' && args.length === 1 && /^\d+$/.test(args[0])) {
|
|
|
1224
1224
|
} else if (cmd === 'wakes' && args.length <= 1) {
|
|
1225
1225
|
const at = (args[0] ?? '').replace(/\/+$/, ''), rows = (await get('/api')).flatMap(w => w.series.filter(s => !s.archived).flatMap(s => [
|
|
1226
1226
|
...(s.single ? [] : [{ path: `${w.name}/${s.name}`, fired: s.fired, wakes: s.wakes, requests: s.requests }]),
|
|
1227
|
-
...s.instances.filter(i => i.wakes.length).map(i => ({ path: `${w.name}/${s.name}/${i.label}`, fired: i.fired, wakes: i.wakes, requests: [] })),
|
|
1227
|
+
...s.instances.filter(i => i.wakes.length || (s.single && s.requests.length)).map(i => ({ path: `${w.name}/${s.name}/${i.label}`, fired: i.fired, wakes: i.wakes, requests: s.single ? s.requests : [] })),
|
|
1228
1228
|
])).filter(r => !at || r.path === at || r.path.startsWith(at + '/'));
|
|
1229
1229
|
if (flags.json) console.log(JSON.stringify(rows, null, 1));
|
|
1230
1230
|
else for (const r of rows) {
|