@robbeverhelst/do 1.171.0 → 1.172.0
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/dist/do.js +20 -20
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -21334,7 +21334,7 @@ function parseCapture2(input, now) {
|
|
|
21334
21334
|
|
|
21335
21335
|
// src/meta.ts
|
|
21336
21336
|
var CLI_NAME = "do";
|
|
21337
|
-
var VERSION = "1.
|
|
21337
|
+
var VERSION = "1.172.0";
|
|
21338
21338
|
var API_PREFIX = "/api/v1";
|
|
21339
21339
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
21340
21340
|
|
|
@@ -21571,7 +21571,7 @@ var ENTITIES = [
|
|
|
21571
21571
|
DUE_BEFORE_FLAG,
|
|
21572
21572
|
{
|
|
21573
21573
|
name: "owner",
|
|
21574
|
-
description: "owner: me, member:<id|email>, agent:<id|name>[/<desk>], any or none (agent
|
|
21574
|
+
description: "owner: me, member:<id|email>, agent:<id|name>[/<desk>], any or none (agent:<name> = every desk)"
|
|
21575
21575
|
},
|
|
21576
21576
|
{
|
|
21577
21577
|
name: "waitingOn",
|
|
@@ -21581,7 +21581,7 @@ var ENTITIES = [
|
|
|
21581
21581
|
{ name: "completedBefore", description: "finished before this instant (ISO or date)" },
|
|
21582
21582
|
{
|
|
21583
21583
|
name: "proposed",
|
|
21584
|
-
description: "only tasks Proposed by
|
|
21584
|
+
description: "only tasks Proposed by the agent (made by an Agent for a member, not accepted yet); --proposed=false for only the plan",
|
|
21585
21585
|
boolean: true
|
|
21586
21586
|
},
|
|
21587
21587
|
{
|
|
@@ -22088,7 +22088,7 @@ var COMMAND_SPECS = [
|
|
|
22088
22088
|
},
|
|
22089
22089
|
{
|
|
22090
22090
|
path: ["tasks", "accept"],
|
|
22091
|
-
summary: "Accept a task Proposed by
|
|
22091
|
+
summary: "Accept a task Proposed by the agent: it joins the plan as suggested (day, Deadline, Area kept).",
|
|
22092
22092
|
args: [{ name: "id", required: true, description: "Task ULID." }],
|
|
22093
22093
|
flags: [],
|
|
22094
22094
|
scopes: ["tasks:write"],
|
|
@@ -22097,7 +22097,7 @@ var COMMAND_SPECS = [
|
|
|
22097
22097
|
},
|
|
22098
22098
|
{
|
|
22099
22099
|
path: ["tasks", "dismiss"],
|
|
22100
|
-
summary: "Not now on a task Proposed by
|
|
22100
|
+
summary: "Not now on a task Proposed by the agent: it leaves the Inbox for a week, still proposed.",
|
|
22101
22101
|
args: [{ name: "id", required: true, description: "Task ULID." }],
|
|
22102
22102
|
flags: [],
|
|
22103
22103
|
scopes: ["tasks:write"],
|
|
@@ -22185,7 +22185,7 @@ var COMMAND_SPECS = [
|
|
|
22185
22185
|
],
|
|
22186
22186
|
scopes: ["habits:write"],
|
|
22187
22187
|
returns: "HabitSummary",
|
|
22188
|
-
notes: `POST /api/v1/habits/check-in. Title or alias, case-insensitive; several matches \u2192 409 with error.details.candidates (id, title, aliases), none \u2192 404 naming close titles; a habit counted from Google Fit, Strava or GitHub \u2192 409. --set writes the difference to the day's total as its own check-in. An Agent's key records the check-in as that Agent's ("
|
|
22188
|
+
notes: `POST /api/v1/habits/check-in. Title or alias, case-insensitive; several matches \u2192 409 with error.details.candidates (id, title, aliases), none \u2192 404 naming close titles; a habit counted from Google Fit, Strava or GitHub \u2192 409. --set writes the difference to the day's total as its own check-in. An Agent's key records the check-in as that Agent's ("<agent>, 07:12"). --note puts a short note on it ("drill done, felt heavy" \u2192 --note "felt heavy"); the reply's lastCheckIn.id is the check-in, for \`do habit note\` later.`
|
|
22189
22189
|
},
|
|
22190
22190
|
{
|
|
22191
22191
|
path: ["habit", "alias", "add"],
|
|
@@ -22469,7 +22469,7 @@ var COMMAND_SPECS = [
|
|
|
22469
22469
|
],
|
|
22470
22470
|
scopes: ["orca:write"],
|
|
22471
22471
|
returns: "OrcaSendMessageResult",
|
|
22472
|
-
notes: "An Agent's key gets a 428 confirmation_required; it runs once the member confirms in
|
|
22472
|
+
notes: "An Agent's key gets a 428 confirmation_required; it runs once the member confirms in do's agent panel (#678)."
|
|
22473
22473
|
},
|
|
22474
22474
|
{
|
|
22475
22475
|
path: ["orca", "restart"],
|
|
@@ -22557,7 +22557,7 @@ var COMMAND_SPECS = [
|
|
|
22557
22557
|
},
|
|
22558
22558
|
{
|
|
22559
22559
|
path: ["agent", "connection", "get"],
|
|
22560
|
-
summary: "Show the agent runtime the
|
|
22560
|
+
summary: "Show the agent runtime the agent panel's chat goes to (never its key).",
|
|
22561
22561
|
args: [],
|
|
22562
22562
|
flags: [],
|
|
22563
22563
|
scopes: ["agents:read"],
|
|
@@ -22566,7 +22566,7 @@ var COMMAND_SPECS = [
|
|
|
22566
22566
|
},
|
|
22567
22567
|
{
|
|
22568
22568
|
path: ["agent", "connection", "set"],
|
|
22569
|
-
summary: "Point the
|
|
22569
|
+
summary: "Point the agent panel at an agent runtime (replaces the connection).",
|
|
22570
22570
|
args: [],
|
|
22571
22571
|
flags: [
|
|
22572
22572
|
{ name: "endpoint", type: "string", description: "The runtime's base URL (required)." },
|
|
@@ -22583,9 +22583,9 @@ var COMMAND_SPECS = [
|
|
|
22583
22583
|
{
|
|
22584
22584
|
name: "auto-file",
|
|
22585
22585
|
type: "boolean",
|
|
22586
|
-
description: "Let
|
|
22586
|
+
description: "Let the agent file new captures (needs --agent)."
|
|
22587
22587
|
},
|
|
22588
|
-
{ name: "no-auto-file", type: "boolean", description: "Stop
|
|
22588
|
+
{ name: "no-auto-file", type: "boolean", description: "Stop the agent filing new captures." },
|
|
22589
22589
|
{
|
|
22590
22590
|
name: "key-stdin",
|
|
22591
22591
|
type: "boolean",
|
|
@@ -22606,7 +22606,7 @@ var COMMAND_SPECS = [
|
|
|
22606
22606
|
],
|
|
22607
22607
|
scopes: ["agents:write"],
|
|
22608
22608
|
returns: "None",
|
|
22609
|
-
notes: "Owner/admin only. An Agent's key gets a 428 confirmation_required until the member confirms in
|
|
22609
|
+
notes: "Owner/admin only. An Agent's key gets a 428 confirmation_required until the member confirms in do's agent panel."
|
|
22610
22610
|
},
|
|
22611
22611
|
{
|
|
22612
22612
|
path: ["agent", "post"],
|
|
@@ -22699,7 +22699,7 @@ var COMMAND_SPECS = [
|
|
|
22699
22699
|
},
|
|
22700
22700
|
{
|
|
22701
22701
|
path: ["echo", "threads", "list"],
|
|
22702
|
-
summary: "List your recent
|
|
22702
|
+
summary: "List your recent agent threads, newest first.",
|
|
22703
22703
|
args: [],
|
|
22704
22704
|
flags: [{ name: "limit", type: "string", description: "How many, 1\u201350 (default 10)." }],
|
|
22705
22705
|
scopes: ["agents:read"],
|
|
@@ -22708,7 +22708,7 @@ var COMMAND_SPECS = [
|
|
|
22708
22708
|
},
|
|
22709
22709
|
{
|
|
22710
22710
|
path: ["echo", "threads", "current"],
|
|
22711
|
-
summary: "Show the
|
|
22711
|
+
summary: "Show the agent thread the panel opens on, with its turns.",
|
|
22712
22712
|
args: [],
|
|
22713
22713
|
flags: [],
|
|
22714
22714
|
scopes: ["agents:read"],
|
|
@@ -22717,7 +22717,7 @@ var COMMAND_SPECS = [
|
|
|
22717
22717
|
},
|
|
22718
22718
|
{
|
|
22719
22719
|
path: ["echo", "threads", "show"],
|
|
22720
|
-
summary: "Show one of your
|
|
22720
|
+
summary: "Show one of your agent threads, with its turns.",
|
|
22721
22721
|
args: [{ name: "id", required: true, description: "Thread ULID (see `echo threads list`)." }],
|
|
22722
22722
|
flags: [],
|
|
22723
22723
|
scopes: ["agents:read"],
|
|
@@ -22726,7 +22726,7 @@ var COMMAND_SPECS = [
|
|
|
22726
22726
|
},
|
|
22727
22727
|
{
|
|
22728
22728
|
path: ["echo", "threads", "new"],
|
|
22729
|
-
summary: "Start a new
|
|
22729
|
+
summary: "Start a new agent conversation (it becomes the current thread).",
|
|
22730
22730
|
args: [],
|
|
22731
22731
|
flags: [],
|
|
22732
22732
|
scopes: ["agents:write"],
|
|
@@ -22993,7 +22993,7 @@ var COMMAND_SPECS = [
|
|
|
22993
22993
|
flags: STANDARD_LINK_FLAGS,
|
|
22994
22994
|
scopes: ["areas:write"],
|
|
22995
22995
|
returns: "AreaDetail",
|
|
22996
|
-
notes: "POST /api/v1/areas/:id/standards.
|
|
22996
|
+
notes: "POST /api/v1/areas/:id/standards. The agent adds standards only after the member said yes; the change list keeps Undo."
|
|
22997
22997
|
},
|
|
22998
22998
|
{
|
|
22999
22999
|
path: ["areas", "standards", "link"],
|
|
@@ -23704,7 +23704,7 @@ function suggestionText(s) {
|
|
|
23704
23704
|
s.owner ? `owner ${ownerText(s.owner)}` : null,
|
|
23705
23705
|
s.scheduledAt ? shortDate(s.scheduledAt) : null
|
|
23706
23706
|
].filter(Boolean);
|
|
23707
|
-
return `${s.by?.name ?? "
|
|
23707
|
+
return `${s.by?.name ?? "The agent"} suggests ${parts.join(", ")}`;
|
|
23708
23708
|
}
|
|
23709
23709
|
function worktreeText(link) {
|
|
23710
23710
|
const where = link.branch ?? link.path ?? link.worktreeId ?? "";
|
|
@@ -24128,7 +24128,7 @@ function renderEchoThread(data, mode) {
|
|
|
24128
24128
|
const wrapped = data;
|
|
24129
24129
|
const thread = wrapped && typeof wrapped === "object" && "thread" in wrapped ? wrapped.thread : data;
|
|
24130
24130
|
if (!thread)
|
|
24131
|
-
return paint(mode, "dim", "No
|
|
24131
|
+
return paint(mode, "dim", "No thread yet.");
|
|
24132
24132
|
const head = `${thread.title ?? "New conversation"} ${paint(mode, "dim", thread.id ?? "")}`;
|
|
24133
24133
|
const turns = thread.turns ?? [];
|
|
24134
24134
|
const posts = thread.posts ?? [];
|
|
@@ -24144,7 +24144,7 @@ ${paint(mode, "dim", "(nothing asked yet)")}`;
|
|
|
24144
24144
|
order: i,
|
|
24145
24145
|
lines: [
|
|
24146
24146
|
` ${paint(mode, "bold", "You")} ${t.question ?? ""}`,
|
|
24147
|
-
` ${paint(mode, "bold", "
|
|
24147
|
+
` ${paint(mode, "bold", "Agent")} ${t.reply ?? ""}${paint(mode, "dim", note)}`
|
|
24148
24148
|
]
|
|
24149
24149
|
};
|
|
24150
24150
|
}),
|
package/package.json
CHANGED