@difflab/pi 0.7.1 → 0.8.0-rc.202610020810.d27e7fc
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 +22 -40
- package/agents/diffpi-copilot.md +2 -2
- package/agents/diffpi-orchestrator.md +9 -14
- package/agents/diffpi-plan-reviewer.md +4 -12
- package/agents/diffpi-planner.md +7 -13
- package/agents/diffpi-reviewer.md +7 -11
- package/agents/diffpi-tutor.md +2 -2
- package/agents/diffpi-worker.md +9 -12
- package/dist/commands/dispatch.d.ts +4 -0
- package/dist/commands/dispatch.d.ts.map +1 -0
- package/dist/commands/index.d.ts +1 -3
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/plan.d.ts +1 -1
- package/dist/commands/plan.d.ts.map +1 -1
- package/dist/commands/review.d.ts +1 -1
- package/dist/commands/review.d.ts.map +1 -1
- package/dist/doctor.d.ts +9 -0
- package/dist/doctor.d.ts.map +1 -0
- package/dist/environment.d.ts +0 -1
- package/dist/environment.d.ts.map +1 -1
- package/dist/extensions/index.js +1622 -3207
- package/dist/index.d.ts +5 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +146 -1128
- package/dist/log.d.ts +6 -11
- package/dist/log.d.ts.map +1 -1
- package/dist/plan/verify.d.ts.map +1 -1
- package/dist/review/index.d.ts +2 -3
- package/dist/review/index.d.ts.map +1 -1
- package/dist/review/review-backend.d.ts +2 -3
- package/dist/review/review-backend.d.ts.map +1 -1
- package/dist/setup.d.ts +0 -2
- package/dist/setup.d.ts.map +1 -1
- package/dist/tools/ci.d.ts +1 -1
- package/dist/tools/doctor.d.ts +3 -0
- package/dist/tools/doctor.d.ts.map +1 -0
- package/dist/tools/index.d.ts +2 -3
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +1821 -3006
- package/dist/tools/log.d.ts.map +1 -1
- package/dist/tools/review.d.ts +1 -7
- package/dist/tools/review.d.ts.map +1 -1
- package/dist/tools/setup.d.ts.map +1 -1
- package/package.json +2 -6
- package/skills/diffpi-doctor/SKILL.md +10 -0
- package/skills/diffpi-setup/SKILL.md +4 -4
- package/skills/plan/SKILL.md +13 -24
- package/skills/plan/references/design-quality.md +3 -3
- package/skills/plan/references/workflows/finalize.md +10 -6
- package/skills/plan/references/workflows/go.md +27 -7
- package/skills/plan/references/workflows/help.md +19 -3
- package/skills/plan/references/workflows/init.md +23 -6
- package/skills/plan/references/workflows/inline-fallback.md +9 -0
- package/skills/plan/references/workflows/new.md +22 -7
- package/skills/plan/references/workflows/update.md +24 -6
- package/skills/plan/references/workflows/validate.md +31 -0
- package/skills/review/SKILL.md +15 -7
- package/skills/review/references/review-standards.md +9 -1
- package/skills/review/references/workflows/address.md +13 -6
- package/skills/review/references/workflows/auto.md +13 -5
- package/skills/review/references/workflows/complete.md +17 -4
- package/skills/review/references/workflows/edit.md +10 -2
- package/skills/review/references/workflows/foreground-fallback.md +7 -0
- package/skills/review/references/workflows/help.md +11 -10
- package/skills/review/references/workflows/merge.md +17 -2
- package/skills/review/references/workflows/new.md +18 -5
- package/skills/review/references/workflows/publish.md +17 -4
- package/skills/review/references/workflows/status.md +7 -2
- package/skills/review/templates/REVIEW.md +39 -0
- package/templates/plan/PLAN.md +9 -1
- package/templates/review/draft-pr.md +3 -9
- package/dist/cli/plan.d.ts +0 -17
- package/dist/cli/plan.d.ts.map +0 -1
- package/dist/cli.d.ts +0 -4
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -2258
- package/dist/commands/mode.d.ts +0 -5
- package/dist/commands/mode.d.ts.map +0 -1
- package/dist/extensions/tuicrx.d.ts +0 -66
- package/dist/extensions/tuicrx.d.ts.map +0 -1
- package/dist/extensions/zedx.d.ts +0 -18
- package/dist/extensions/zedx.d.ts.map +0 -1
- package/dist/modes.d.ts +0 -75
- package/dist/modes.d.ts.map +0 -1
- package/dist/review/local-review-backend.d.ts +0 -3
- package/dist/review/local-review-backend.d.ts.map +0 -1
- package/dist/review/local-reviews.d.ts +0 -31
- package/dist/review/local-reviews.d.ts.map +0 -1
- package/dist/review/review-markdown.d.ts +0 -6
- package/dist/review/review-markdown.d.ts.map +0 -1
- package/dist/tools/modes.d.ts +0 -4
- package/dist/tools/modes.d.ts.map +0 -1
- package/skills/mode/SKILL.md +0 -38
- package/skills/plan/references/workflows/annotate.md +0 -7
- package/skills/review/references/workflows/open.md +0 -5
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
# complete
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Parse arguments
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
Accept `complete [target] [--approve|--reject|--close]`. Local complete is unsupported; reject stale `--local` or working-tree selectors. Fuzzy-match target/backend/action from the request and repository. Prefer explicit arguments/flags, then safe inference, then current-review target; do not invent a remote action. Call `ask_user_question` only for material ambiguity before launch; return a precise blocker if a new decision arises later.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. Call `review_context` first with the selected remote target/backend and `local:false`. For a short, explicitly approved completion with no substantive inspection, call `review_complete` directly using its resolved values. A remote review needs an explicit `approve`, `reject`, or `close` action. `approve` and `reject` publish their decisions; `close` closes the remote PR/MR without publishing first. Verify and report the actual result or exact failure. Do not merge or resolve threads.
|
|
10
|
+
2. If substantive inspection or judgment is required, when native subagents are available, delegate only that analysis to medium `diffpi-orchestrator` in the background with ambient capabilities. Fill every field in this self-contained prompt with actual values (or `none`), including the exact request; never send raw placeholders:
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
Inspect completion readiness without changing review state.
|
|
14
|
+
- Repository: {absolute repo cwd}; exact request: {exact request}.
|
|
15
|
+
- Resolved target: {target}; backend: {backend}; local: {local}; issue URL: {issue URL or none}; approved remote action: {action or none for local}.
|
|
16
|
+
- Call review_context first; reuse its target/backend/local/cwd. Inspect only the matching review/session and report outstanding findings, status and material decisions. Do not switch backend.
|
|
17
|
+
- Return actual completed evidence and a go/no-go recommendation or precise blocker. Do not complete, publish, merge or resolve threads.
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
3. If no native subagents are available for step 2, follow [foreground fallback](foreground-fallback.md) before inspection; only after explicit confirmation inspect inline and report actual evidence without claiming an Orchestrator result. Otherwise require the completed result, not a queued job or claim. Resolve material decisions with the user before calling `review_complete` in the initiating thread if approval still applies.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# edit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Parse arguments
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Accept `edit [target] [--local]`. Resolve the existing local review by explicit path or unique plan/ticket match; ask on ambiguity.
|
|
6
|
+
|
|
7
|
+
## Local steps
|
|
8
|
+
|
|
9
|
+
Print the selected `.diffpi/review/**/REVIEW-*.md` path. Read it before any edit, preserve all finding IDs, replies, evidence, and checkbox state, and use native `read`, `write`, `edit`, or shell operations only. Do not create a session, parser, backend, or browser launch.
|
|
10
|
+
|
|
11
|
+
## Remote steps
|
|
12
|
+
|
|
13
|
+
Call `review_context` and `review_edit`; report the PR/MR URL or selected local Markdown path. Never launch a browser.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Foreground fallback (review only)
|
|
2
|
+
|
|
3
|
+
Use this policy only when **no native subagents are available** for the required background `diffpi-worker`, `diffpi-reviewer`, or `diffpi-orchestrator` work. This is not a recovery path for a failed launch, child/tool error, unavailable result, authentication failure, failed checks, or a reviewer's BLOCKING findings. Do not substitute a shell process or claim a child launched or completed.
|
|
4
|
+
|
|
5
|
+
After `review_context` resolves the target/backend/local, but **before substantive creation, diff analysis, thread classification, source edits, or lifecycle-readiness inspection**, call `ask_user_question` in the initiating conversation. State that the named background agent is unavailable and that running the work here loses the intended model tier and agent isolation. Offer `Stop and report blocker` (no substantive work; report missing native agents) and `Run inline` (continue in this conversation without the intended model tier or isolation) as options; a custom response must clearly authorize inline work. Do not interpret a previous lifecycle approval or absence of a refusal as consent. If the user declines, the question tool is unavailable, or this is a background child unable to ask, stop and return a precise blocker to the initiating conversation. Never silently continue inline.
|
|
6
|
+
|
|
7
|
+
On explicit confirmation only, the calling agent performs the selected workflow's substantive steps inline, using the same resolved target/backend/local/cwd and the child prompt's constraints, tools, checks, and evidence requirements. For `address`, perform the needed source/test edits directly without inventing Worker results; keep `review_respond(resolve:false)` and user-owned thread resolution. For `publish`, `complete`, or `merge`, inline inspection is read-only; the lifecycle call remains in the initiating conversation only after its existing approval and readiness requirements are satisfied. Report actual inline actions and outcomes as **foreground fallback**, not as a completed child. The ordinary short, explicitly approved lifecycle calls, `status`, `open`, `edit`, and `help` do not need this fallback.
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
# help
|
|
2
2
|
|
|
3
|
+
Show:
|
|
4
|
+
|
|
3
5
|
```text
|
|
4
|
-
/review
|
|
5
|
-
/review
|
|
6
|
-
/review
|
|
7
|
-
/review
|
|
8
|
-
/review
|
|
9
|
-
/review
|
|
10
|
-
/review
|
|
11
|
-
/review
|
|
12
|
-
/review merge [target] [--bg]
|
|
6
|
+
/review new [title] [--intent text] [--base branch] [--local]
|
|
7
|
+
/review auto [target] [--local]
|
|
8
|
+
/review edit [target] [--local]
|
|
9
|
+
/review address [target] [--local]
|
|
10
|
+
/review publish [target] [--comment|--approve|--request-changes|--close]
|
|
11
|
+
/review complete [target] [--approve|--reject|--close]
|
|
12
|
+
/review merge [target]
|
|
13
|
+
/review help
|
|
13
14
|
```
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
Local `publish` and `complete` are unsupported. Local workflows use direct Markdown files; remote workflows use forge-backed tools. Aliases: `create`/`draft` → `new`, `launch` → `auto`, `ready` → `publish`, `close` → `complete`, `land` → `merge`.
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# merge
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Parse arguments
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Accept `merge [target]` and an optional conventional squash subject in the request. Fuzzy-match GitHub PR target from the request and repository. Prefer explicit target/subject, then safe inference, then current PR. Reject `--local`; do not infer it. Call `ask_user_question` only for material target or subject ambiguity before launch; return a precise blocker if a new decision arises later.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. Call `review_context` first with `local:false` and the selected target. Reject non-GitHub or local reviews without switching backend. For a short, explicitly approved merge requiring no substantive analysis, call `review_merge` directly with its resolved target and conventional squash subject if needed. The tool rechecks open, ready, clean PR status and settled CI; branch protection is authoritative, and current-user approval is not required unless protection requires it. Report the actual merge or exact readiness/CI/subject failure. Do not publish or complete in its place.
|
|
10
|
+
2. If merge-readiness requires substantive inspection or judgment beyond the tool's checks, when native subagents are available, delegate only that analysis to medium `diffpi-orchestrator` in the background with ambient capabilities. Fill every field in this self-contained prompt with actual values (or `none`), including the exact request; never send raw placeholders:
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
Inspect GitHub PR merge readiness without merging.
|
|
14
|
+
- Repository: {absolute repo cwd}; exact request: {exact request}.
|
|
15
|
+
- Resolved target: {target}; backend: remote GitHub; local: false; issue URL: {issue URL or none}; proposed conventional squash subject: {subject or none}.
|
|
16
|
+
- Call review_context first with local:false; reuse its target/backend/cwd. Inspect PR readiness, subject and settled CI using review_status and available checks. Treat branch protection as authoritative; do not demand current-user approval unless protection requires it.
|
|
17
|
+
- Return completed evidence and a go/no-go recommendation or precise blocker. Do not merge, publish, complete or resolve threads.
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
3. If no native subagents are available for step 2, follow [foreground fallback](foreground-fallback.md) before inspection; only after explicit confirmation inspect inline and report actual evidence without claiming an Orchestrator result. Otherwise require the completed result, not a queued job or claim. Resolve material decisions with the user, then call `review_merge` in the initiating thread only if approval still applies. Report the actual result.
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
# new
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Parse arguments
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
2. Call `review_new` with the same target/backend/local values. This creates a local tuicr review or remote draft PR/MR and opens it; use `review_launch_ui` only when needed.
|
|
7
|
-
3. Report the created target and draft state. Do not run findings, publish, complete, or merge.
|
|
5
|
+
Accept `new [title] [--intent text] [--base branch] [--local]`. Resolve explicit target, plan/ticket, title, and backend first. For local work, ask `ask_user_question` when multiple plans or tickets match; do not guess.
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
## Local steps
|
|
8
|
+
|
|
9
|
+
Use a background `diffpi-worker` when native subagents are available; otherwise follow the foreground fallback after confirmation. The worker performs only direct-file creation.
|
|
10
|
+
|
|
11
|
+
1. Inspect `.diffpi/review/` and the matching plan/ticket directory before choosing a number. Derive `YYMMDD-{slug}` from the unique matching plan after stripping its date prefix, otherwise the ticket ID, otherwise a descriptive slug.
|
|
12
|
+
2. Create `.diffpi/review/YYMMDD-{slug}/REVIEW-{n}.md` by reading `templates/REVIEW.md` and writing a copy. Numbering is best effort, not atomic; preserve existing files.
|
|
13
|
+
3. Fill every known title, intent, target, base, and status field. If review text was pasted in the request, record it directly in the file and assign stable `F-001`-style IDs. Preserve replies and checkbox state on later edits.
|
|
14
|
+
4. Report the exact path. Do not call `review_new`, create a backend, or claim atomic allocation.
|
|
15
|
+
|
|
16
|
+
## Remote steps
|
|
17
|
+
|
|
18
|
+
Call `review_context`, then launch a `diffpi-worker` only for draft creation. Give the worker the resolved repository, branch, base, issue URL (if any), and exact request. The worker must:
|
|
19
|
+
|
|
20
|
+
1. Read the packaged PR template at `../../templates/review/draft-pr.md` relative to the review skill directory. Inspect the actual branch changes against the selected base and any completed checks; do not invent validation results.
|
|
21
|
+
2. Fill **every** template section: distinct intent and concrete changes, checks actually run (or `Not run (draft)`), the issue URL (or `No linked issue`), and known further work (or `Not yet assessed`). Remove all `{{...}}` markers and HTML comments. Pass the fully rendered Markdown as `body` to the existing `review_new` tool, with the resolved title/base/issue URL. The tool rejects missing or incomplete bodies before calling the forge.
|
|
22
|
+
3. Report the actual PR/MR URL and draft state or the precise failure. Do not publish, complete, merge, or stage findings.
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
# publish
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Parse arguments
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
Accept `publish [target] [--comment|--approve|--request-changes|--close]`. Local publish is unsupported; reject stale `--local` or working-tree selectors. Fuzzy-match target/backend/status from the request and repository. Prefer explicit arguments/flags, then safe inference, then current-review target and comment status. Call `ask_user_question` only for material ambiguity before launch; return a precise blocker if a new decision arises later.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. Call `review_context` first with the selected remote target/backend and `local:false`. For a short, explicitly approved publication with no substantive inspection, call `review_publish` directly using its resolved values and selected status (`COMMENT` by default, `APPROVE`, `REQUEST_CHANGES`, or `CLOSE`). Remote findings and replies stay pending until this call. Reject stale local or working-tree selectors; never promote local drafts. Report unmatched promotion, GitLab request-changes rejection, and exact failures; verify the final status. Do not merge or resolve threads.
|
|
10
|
+
2. If the request instead needs substantive inspection or judgment before publication, when native subagents are available, delegate only that analysis to medium `diffpi-orchestrator` in the background with ambient capabilities. Fill every field in this self-contained prompt with actual values (or `none`), including the exact request; never send raw placeholders:
|
|
11
|
+
|
|
12
|
+
```text
|
|
13
|
+
Inspect publication readiness without publishing.
|
|
14
|
+
- Repository: {absolute repo cwd}; exact request: {exact request}.
|
|
15
|
+
- Resolved target: {target}; backend: {backend}; local: {local}; selected status: {status}; issue URL: {issue URL or none}; approved policy: {policy}.
|
|
16
|
+
- Call review_context first; reuse its target/backend/local/cwd. Inspect the matching session and pending findings/replies; identify unmatched drafts, failed checks and material decisions. Do not silently switch backends.
|
|
17
|
+
- Return actual completed evidence and a go/no-go recommendation or precise blocker. Do not publish, complete, merge or resolve threads.
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
3. If no native subagents are available for step 2, follow [foreground fallback](foreground-fallback.md) before inspection; only after explicit confirmation inspect inline and report actual evidence without claiming an Orchestrator result. Otherwise require the completed inspection result, not a queued job or claim. Resolve material decisions with the user, then call `review_publish` in the initiating thread only if approval still applies. Report the actual published or blocked outcome.
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# status
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Parse arguments
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Accept `status [target] [--local]`. Fuzzy-match the status target/backend from the request and repository. Prefer explicit arguments/flags, then safe inference, then the current-review target. Select local for an explicit working-tree request. Call `ask_user_question` only for material ambiguity.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. Call `review_context` first with the selected target/backend/local; reuse its target/backend/local/cwd. Reject unsupported selections without switching backend.
|
|
10
|
+
2. Call `review_status` with those same values. Report branch, worktree, local or remote review, URLs, pending/draft state and exact errors. Do not create a review or mutate source, comments or lifecycle state.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Local Review
|
|
2
|
+
|
|
3
|
+
- **Review:** <!-- descriptive title or plan/ticket slug -->
|
|
4
|
+
- **Status:** OPEN
|
|
5
|
+
- **Source:** <!-- pasted review text, local diff, or request -->
|
|
6
|
+
- **Created:** <!-- YYYY-MM-DD -->
|
|
7
|
+
- **Updated:** <!-- YYYY-MM-DD -->
|
|
8
|
+
|
|
9
|
+
## Intent
|
|
10
|
+
|
|
11
|
+
<!-- State what this review is checking. -->
|
|
12
|
+
|
|
13
|
+
## Findings
|
|
14
|
+
|
|
15
|
+
<!-- Keep findings in stable ID order. Preserve IDs, replies, and checkbox state when editing. -->
|
|
16
|
+
|
|
17
|
+
### F-001 [ ] <!-- short finding title -->
|
|
18
|
+
|
|
19
|
+
- **Severity:** BLOCKING | CONSIDER | NOTE
|
|
20
|
+
- **Location:** `path/to/file.ts:1`
|
|
21
|
+
- **Finding:** <!-- Explain the problem and its impact. -->
|
|
22
|
+
- **Evidence:** <!-- Quote the relevant source or review text. -->
|
|
23
|
+
- **Resolution:** <!-- Leave blank while open; record the verified fix here. -->
|
|
24
|
+
|
|
25
|
+
<!-- Copy the finding shape above for F-002, F-003, and so on. -->
|
|
26
|
+
|
|
27
|
+
## Replies
|
|
28
|
+
|
|
29
|
+
<!-- Preserve human replies verbatim. Add dated replies below without deleting prior context. -->
|
|
30
|
+
|
|
31
|
+
## Verification
|
|
32
|
+
|
|
33
|
+
- [ ] Focused check run for each addressed finding
|
|
34
|
+
- [ ] Remaining open findings reviewed
|
|
35
|
+
- [ ] Overall status updated only after verification
|
|
36
|
+
|
|
37
|
+
## Status Notes
|
|
38
|
+
|
|
39
|
+
<!-- Record blockers, partial work, and decisions. Do not close a finding without evidence. -->
|
package/templates/plan/PLAN.md
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
- **Plan ID:** {{id}}
|
|
4
4
|
- **Branch:** {{branch}}
|
|
5
5
|
- **Status:** draft
|
|
6
|
+
- **Execution state:** inactive
|
|
7
|
+
- **Execution worktree:** None
|
|
8
|
+
- **Execution reason:** None
|
|
6
9
|
- **Issue:** {{issue_id}}
|
|
7
10
|
- **Issue URL:** {{issue_url}}
|
|
11
|
+
- **Revision:** 0
|
|
8
12
|
|
|
9
13
|
## Intent
|
|
10
14
|
|
|
@@ -44,4 +48,8 @@
|
|
|
44
48
|
|
|
45
49
|
## References
|
|
46
50
|
|
|
47
|
-
<!-- Add repository or external references. -->
|
|
51
|
+
<!-- Add repository or external references before Feedback. -->
|
|
52
|
+
|
|
53
|
+
### Feedback
|
|
54
|
+
|
|
55
|
+
<!-- Capture pending user feedback before an update. Archive the complete plan and numbered briefs before substantive edits, then increment Revision exactly once and address or disposition the feedback. -->
|
|
@@ -4,22 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
## Changes
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
{{changes}}
|
|
8
8
|
|
|
9
9
|
## Validation
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- [ ] Existing tests pass
|
|
11
|
+
{{validation}}
|
|
14
12
|
|
|
15
13
|
## References
|
|
16
14
|
|
|
17
|
-
<!-- Link the issue that defines this task. Add related project, epic, and public documentation links when available. -->
|
|
18
|
-
|
|
19
15
|
- Issue: {{issue_url}}
|
|
20
16
|
|
|
21
17
|
## Further Work
|
|
22
18
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
19
|
+
{{further_work}}
|
package/dist/cli/plan.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Command } from 'commander';
|
|
2
|
-
export interface PlanCliIO {
|
|
3
|
-
stdout: Pick<NodeJS.WriteStream, 'write'>;
|
|
4
|
-
stderr: Pick<NodeJS.WriteStream, 'write'>;
|
|
5
|
-
}
|
|
6
|
-
interface PlanCliRuntime {
|
|
7
|
-
execute: (command: string, args: string[], cwd: string, interactive: boolean) => Promise<{
|
|
8
|
-
code: number;
|
|
9
|
-
stdout: string;
|
|
10
|
-
stderr: string;
|
|
11
|
-
}>;
|
|
12
|
-
}
|
|
13
|
-
export declare function createPlanCliCommand(io?: PlanCliIO, planRuntime?: PlanCliRuntime): Command;
|
|
14
|
-
export declare function runPlanCli(args: string[], io?: PlanCliIO): Promise<number>;
|
|
15
|
-
export declare function planCliHelp(): string;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=plan.d.ts.map
|
package/dist/cli/plan.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../../src/cli/plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,WAAW,CAAC;AAKpD,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAC1C,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;CAC3C;AAED,UAAU,cAAc;IACtB,OAAO,EAAE,CACP,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EAAE,EACd,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,OAAO,KACjB,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAChE;AAMD,wBAAgB,oBAAoB,CAAC,EAAE,GAAE,SAAmB,EAAE,WAAW,GAAE,cAAwB,GAAG,OAAO,CA0B5G;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAE,SAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CASzF;AAED,wBAAgB,WAAW,IAAI,MAAM,CAEpC"}
|
package/dist/cli.d.ts
DELETED
package/dist/cli.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAGA,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAElE,wBAAsB,IAAI,CAAC,IAAI,WAAwB,EAAE,EAAE,GAAE,SAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAkBjG"}
|