pendingyou 0.45.0 → 0.45.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/CHANGELOG.md +17 -1
- package/README.md +3 -2
- package/dist/apps/antigravity.js +8 -4
- package/dist/hold.js +4 -3
- package/dist/pickup.js +1 -1
- package/dist/setup.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.45.1 (2026-11-19)
|
|
4
|
+
|
|
5
|
+
Found by the first live run of Antigravity.
|
|
6
|
+
|
|
7
|
+
- **Antigravity's background wait starts.** After asking you something, an Antigravity conversation starts a wait in
|
|
8
|
+
the background that wakes it when you answer. It never started: Antigravity runs commands in a terminal, and there
|
|
9
|
+
npm stopped to ask whether to install pendingyou, a question nobody answers in the background. So your answer woke
|
|
10
|
+
nothing. The wait is now `npx -y pendingyou hold <requestId>`, which doesn't ask. Antigravity's permission rule for
|
|
11
|
+
it becomes `command(npx -y pendingyou hold)`: run `npx -y pendingyou@latest init --app antigravity` again at a
|
|
12
|
+
terminal and say yes to add it (`status` says it's missing until then). The old rule stays until `uninstall`, which
|
|
13
|
+
takes out both. Claude Code's wait is unchanged: npm doesn't ask there.
|
|
14
|
+
- **Antigravity finishes setup without a shell command.** When "Finish setting up Pending You" came in a conversation
|
|
15
|
+
continued with `agy -c`, the agent read the whole guide, which Antigravity saved to a file, and then ran a shell
|
|
16
|
+
command to read it, behind Antigravity's "Run this command?" prompt. The rules `init` writes now carry setup's three
|
|
17
|
+
calls, so no guide, file or command is needed.
|
|
18
|
+
|
|
3
19
|
## 0.45.0 (2026-11-19)
|
|
4
20
|
|
|
5
21
|
- **Antigravity, as a first version to try.** `npx -y pendingyou@latest init --app antigravity` sets up Google's
|
|
@@ -17,7 +33,7 @@
|
|
|
17
33
|
takes out exactly what `init` added. Restart agy afterwards: it loads plugins as it starts.
|
|
18
34
|
- **What doesn't work yet in Antigravity.** Its permission prompts don't come to your cards: you answer them in agy.
|
|
19
35
|
Nothing outside Antigravity can start a turn in it, so an idle conversation hears your answer only through a hold it
|
|
20
|
-
started itself in the background after asking (`npx pendingyou hold <requestId
|
|
36
|
+
started itself in the background after asking (`npx pendingyou hold <requestId>`; `npx -y` since 0.45.1); one that didn't start a hold hears
|
|
21
37
|
it with your next message. An answer the agent posts (`post_answer`) isn't known to the conversation until later. If
|
|
22
38
|
you send the same message twice in a row while a command the agent started is still running, the second is taken
|
|
23
39
|
for a hold waking it, and answers waiting for you aren't read with it.
|
package/README.md
CHANGED
|
@@ -211,7 +211,8 @@ back on). It loads plugins as it starts, so restart it afterwards (`/exit`, then
|
|
|
211
211
|
up again).
|
|
212
212
|
|
|
213
213
|
Nothing outside Antigravity can start a turn in it, so an idle conversation hears your answer only through a hold its
|
|
214
|
-
agent starts: after it posts a card it runs `npx pendingyou hold <requestId>` as a background command
|
|
214
|
+
agent starts: after it posts a card it runs `npx -y pendingyou hold <requestId>` as a background command (the `-y`
|
|
215
|
+
because agy runs commands in a terminal, where npx would otherwise stop to ask before installing), which ends when
|
|
215
216
|
you answer and so wakes it (inside agy, the hold listens with Antigravity's own sign-in). An answer that waits for your
|
|
216
217
|
next message comes with it.
|
|
217
218
|
|
|
@@ -226,7 +227,7 @@ Antigravity asks you before each Pending You tool call and each shell command. `
|
|
|
226
227
|
|
|
227
228
|
```json
|
|
228
229
|
"mcp(pendingyou_pendingyou/*)",
|
|
229
|
-
"command(npx pendingyou hold)"
|
|
230
|
+
"command(npx -y pendingyou hold)"
|
|
230
231
|
```
|
|
231
232
|
|
|
232
233
|
It asks first, at a terminal, apart from the rest, and adds nothing when there's nobody to ask or with `--yes`; run
|
package/dist/apps/antigravity.js
CHANGED
|
@@ -8,7 +8,7 @@ import { isOurHook, originArgs } from "../hooks.js";
|
|
|
8
8
|
import { editJson, isObject, readObject } from "../json.js";
|
|
9
9
|
import { removePresenceFiles } from "../presence.js";
|
|
10
10
|
import { foundBy, headlessReason } from "../remote.js";
|
|
11
|
-
import { connectionTitle, FINISH_SAY, setupOf, setupStatus } from "../setup.js";
|
|
11
|
+
import { connectionTitle, FINISH_SAY, setupCalls, setupOf, setupStatus } from "../setup.js";
|
|
12
12
|
import { VERSION } from "../version.js";
|
|
13
13
|
import { AGY_HOOK_EVENTS, AGY_POST_TOOL_MATCHER, agyHookFiles } from "./antigravity-hooks.js";
|
|
14
14
|
import { threadFiles } from "./codex-wake.js";
|
|
@@ -37,7 +37,7 @@ export const EAGER_TOOLS = [
|
|
|
37
37
|
];
|
|
38
38
|
export const PERMISSION_RULES = [
|
|
39
39
|
'mcp(pendingyou_pendingyou/*)',
|
|
40
|
-
'command(npx pendingyou hold)',
|
|
40
|
+
'command(npx -y pendingyou hold)',
|
|
41
41
|
];
|
|
42
42
|
const FILES = [
|
|
43
43
|
'plugin.json',
|
|
@@ -160,7 +160,11 @@ export function rulesFile(stub, origin) {
|
|
|
160
160
|
|
|
161
161
|
${body ? `${body}\n\n` : ''}## Answers in Antigravity
|
|
162
162
|
|
|
163
|
-
An idle Antigravity conversation hears your person’s answer only through a hold you start: right after you post a card (post_request) or an answer (post_answer), run \`${holdCommand('<requestId>', origin)}\` as a background command (run_command with a short WaitMsBeforeAsync), then keep working or end your turn. When it finishes it says what came: act on it as it says. Answers waiting at your person’s next message come with it.
|
|
163
|
+
An idle Antigravity conversation hears your person’s answer only through a hold you start: right after you post a card (post_request) or an answer (post_answer), run \`${holdCommand('<requestId>', origin, undefined, 'antigravity')}\` as a background command (run_command with a short WaitMsBeforeAsync), then keep working or end your turn. When it finishes it says what came: act on it as it says. Answers waiting at your person’s next message come with it.
|
|
164
|
+
|
|
165
|
+
## Finishing setup
|
|
166
|
+
|
|
167
|
+
When your person says “${FINISH_SAY}”, or asks you to finish setting up Pending You, this is all of it: don’t ask whoami for the guide, and run no command to read anything. ${setupCalls('antigravity', true)}
|
|
164
168
|
`;
|
|
165
169
|
}
|
|
166
170
|
export function hooksFile(line) {
|
|
@@ -683,7 +687,7 @@ export const antigravity = {
|
|
|
683
687
|
connected && hooksOk
|
|
684
688
|
? ' ok Presence: tells Pending You when a conversation is open (its keeper says so every 5 minutes while agy runs)'
|
|
685
689
|
: ` Presence: off: it needs ${connected ? 'the hooks' : 'Antigravity signed in through this computer’s own connection'}`,
|
|
686
|
-
` Wake: an idle conversation hears your answer through the hold it starts in the background (${holdCommand('<requestId>', origin)}); otherwise with your next message`,
|
|
690
|
+
` Wake: an idle conversation hears your answer through the hold it starts in the background (${holdCommand('<requestId>', origin, undefined, 'antigravity')}); otherwise with your next message`,
|
|
687
691
|
];
|
|
688
692
|
const setup = setupStatus(NAME, signIn.state === 'ok' ? setupOf(signIn.for) : null);
|
|
689
693
|
if (setup)
|
package/dist/hold.js
CHANGED
|
@@ -19,9 +19,10 @@ export function durationText(ms) {
|
|
|
19
19
|
return `${ms / 60_000}m`;
|
|
20
20
|
return `${Math.round(ms / 1000)}s`;
|
|
21
21
|
}
|
|
22
|
-
export
|
|
22
|
+
export const holdWords = (app = DEFAULT_APP) => app === 'antigravity' ? 'npx -y pendingyou hold' : 'npx pendingyou hold';
|
|
23
|
+
export function holdCommand(requestId, origin = DEFAULT_ORIGIN, timeoutMs = DEFAULT_TIMEOUT_MS, app = DEFAULT_APP) {
|
|
23
24
|
return [
|
|
24
|
-
|
|
25
|
+
`${holdWords(app)} ${requestId}`,
|
|
25
26
|
...(origin === DEFAULT_ORIGIN ? [] : [`--origin ${origin}`]),
|
|
26
27
|
...(timeoutMs === DEFAULT_TIMEOUT_MS ? [] : [`--timeout ${durationText(timeoutMs)}`]),
|
|
27
28
|
].join(' ');
|
|
@@ -58,7 +59,7 @@ export async function hold(io, options) {
|
|
|
58
59
|
return 0;
|
|
59
60
|
}
|
|
60
61
|
const app = await holdApp(io);
|
|
61
|
-
const again = holdCommand(requestId, origin, options.timeoutMs);
|
|
62
|
+
const again = holdCommand(requestId, origin, options.timeoutMs, app);
|
|
62
63
|
const started = io.now();
|
|
63
64
|
const deadline = started + options.timeoutMs;
|
|
64
65
|
const print = (lines) => io.out(`${lines.join('\n')}\n`);
|
package/dist/pickup.js
CHANGED
|
@@ -322,7 +322,7 @@ export async function pickup(io, options, hook = { fallback: '' }) {
|
|
|
322
322
|
return 0;
|
|
323
323
|
}
|
|
324
324
|
const again = (id) => app === DEFAULT_APP || app === 'antigravity'
|
|
325
|
-
? `run \`${holdCommand(id, origin)}\` in the background`
|
|
325
|
+
? `run \`${holdCommand(id, origin, undefined, app)}\` in the background`
|
|
326
326
|
: `carry on: Pending You wakes this ${app === 'codex' ? 'thread' : 'session'} when they write back`;
|
|
327
327
|
io.out(`${[
|
|
328
328
|
headerOf(starts, fresh.length, claimed.length),
|
package/dist/setup.js
CHANGED
|
@@ -40,7 +40,7 @@ export function setupOf(heard) {
|
|
|
40
40
|
}
|
|
41
41
|
export function setupCalls(app, stopFirst) {
|
|
42
42
|
const third = app === 'antigravity'
|
|
43
|
-
? '3. post_request a short test question in that testAreaId, start its hold in the background as your rules say (npx pendingyou hold with its requestId), tell your person it’s on its way, and end your turn: the hold wakes you when they answer, so don’t ask them to type anything.'
|
|
43
|
+
? '3. post_request a short test question in that testAreaId, start its hold in the background as your rules say (npx -y pendingyou hold with its requestId), tell your person it’s on its way, and end your turn: the hold wakes you when they answer, so don’t ask them to type anything.'
|
|
44
44
|
: '3. post_request a short test question in that testAreaId, tell your person it’s on its way, and end your turn: you’re woken when they answer, so don’t ask them to type anything.';
|
|
45
45
|
return `Three calls, nothing to install or approve: 1. whoami with your name.${stopFirst ? ' If it says app.setUp is true, another session did this: stop.' : ''} 2. report_setup with source ${app}, your name, skillSaved true, hears instant, and skillVersion set to whoami’s skill.latest. Its answer has a testAreaId. ${third}`;
|
|
46
46
|
}
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.45.
|
|
1
|
+
export const VERSION = '0.45.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pendingyou",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.1",
|
|
4
4
|
"description": "Pending You for your coding agents: one command sets up Claude Code, Codex, OpenCode, Pi and Antigravity to ask you through Pending You and hear your answers, even while they sit idle.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pendingyou",
|