@estebanforge/pi-ask-antigravity 1.2.12 → 1.2.13
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 +8 -0
- package/README.md +1 -1
- package/extensions/index.ts +6 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [Unreleased]
|
|
6
|
+
|
|
7
|
+
## [1.2.13] - 2026-10-12
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Default `timeoutMinutes` is now 30 (was 10). Delegations carry feedback, research, review, and analysis work that legitimately runs long; a short default kills the run mid-task and the caller re-pays the whole prompt at a higher timeout. Callers still override per call, lower or higher.
|
|
12
|
+
|
|
5
13
|
## [1.2.12] - 2026-10-10
|
|
6
14
|
|
|
7
15
|
### Added
|
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ Interactive picker for the default model and default thinking. If the project co
|
|
|
113
113
|
| `mode` | no | `plan` (review-shaped; not enforced, see the modes table) or `accept-edits` (agy applies edits, default). |
|
|
114
114
|
| `digest` | no | Prefix the prompt with `(Use compact digests, not full file contents.)`. Defaults on for `plan`, off for `accept-edits`. |
|
|
115
115
|
| `conversationId` | no | Omit for a one-shot (agy starts fresh). Pass the id from a prior call's result (`details.conversationId`) to resume that agy conversation with full context. See [Two modes](#two-modes-one-shot-vs-continued-conversation). |
|
|
116
|
-
| `timeoutMinutes` | no | Hard cap on the agy run in minutes. Default
|
|
116
|
+
| `timeoutMinutes` | no | Hard cap on the agy run in minutes. Default 30. Above 0, at most 35791 (fractional minutes allowed). The prompt carries a matching `[TIME BUDGET]` notice; rejected values return a tool error without spawning. |
|
|
117
117
|
|
|
118
118
|
## Environment
|
|
119
119
|
|
package/extensions/index.ts
CHANGED
|
@@ -81,7 +81,10 @@ import {
|
|
|
81
81
|
|
|
82
82
|
// --- Constants -------------------------------------------------------------
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
// Feedback, research, review, and analysis delegations legitimately run
|
|
85
|
+
// long; a short default kills the run mid-task and the caller re-pays the
|
|
86
|
+
// whole prompt at a higher timeout. Callers opt down per call.
|
|
87
|
+
const DEFAULT_TIMEOUT_MIN = 30;
|
|
85
88
|
const STATUS_INTERVAL_MS = 1000;
|
|
86
89
|
const STATUS_TAIL_CHARS = 160;
|
|
87
90
|
const DISCOVERY_TIMEOUT_MS = 8_000;
|
|
@@ -101,7 +104,7 @@ const DEFAULT_SKIP_PERMISSIONS = true;
|
|
|
101
104
|
// Per-family fallback tier, the pi->agy tier clamp (levelToTier), the static
|
|
102
105
|
// alias overlay, and the line grammar now live in the shared peer adapter
|
|
103
106
|
// (pi-ask-shared peers/antigravity.ts) alongside the argv builder and the
|
|
104
|
-
// conversation-discovery technique, so pi-antigravity-bridge and pi-
|
|
107
|
+
// conversation-discovery technique, so pi-antigravity-bridge and pi-peer-review
|
|
105
108
|
// reuse the exact same resolution contract.
|
|
106
109
|
|
|
107
110
|
// Mode = which agy tool-loop policy to apply. Distinct from the alias layer.
|
|
@@ -188,7 +191,7 @@ function saveConfig(patch: Partial<Config>): SaveResult {
|
|
|
188
191
|
// --- Prompt assembly: shared peer adapter ----------------------------------
|
|
189
192
|
// The plan-mode guards (PLAN_HEADLESS_GUARD / AGENT_REVIEW_GUARD) and the
|
|
190
193
|
// prompt assembler (buildFinalPrompt) live in pi-ask-shared
|
|
191
|
-
// (peers/antigravity.ts) so the bridge's ask-tool and pi-
|
|
194
|
+
// (peers/antigravity.ts) so the bridge's ask-tool and pi-peer-review consults
|
|
192
195
|
// inherit the identical guard discipline.
|
|
193
196
|
export { AGENT_REVIEW_GUARD, PLAN_HEADLESS_GUARD } from "@estebanforge/pi-ask-shared";
|
|
194
197
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@estebanforge/pi-ask-antigravity",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.13",
|
|
4
4
|
"description": "Pi tool that delegates a self-contained sub-task to Google Antigravity's agy CLI (the CLI for Gemini). Friendly model aliases (flash/pro/gemini), configurable default model + thinking, and the AskAntigravity delegation tool.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|