gsd-pi 2.80.0-dev.f55d16d13 → 2.80.0-dev.fbe7c8c6f
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/resources/.managed-resources-content-hash +1 -1
- package/dist/resources/extensions/gsd/commands/dispatcher.js +5 -0
- package/dist/resources/extensions/gsd/guided-flow.js +31 -7
- package/dist/tsconfig.extensions.tsbuildinfo +1 -1
- package/dist/web/standalone/.next/BUILD_ID +1 -1
- package/dist/web/standalone/.next/app-path-routes-manifest.json +17 -17
- package/dist/web/standalone/.next/build-manifest.json +2 -2
- package/dist/web/standalone/.next/prerender-manifest.json +3 -3
- package/dist/web/standalone/.next/server/app/_global-error.html +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.html +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.html +1 -1
- package/dist/web/standalone/.next/server/app/index.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app-paths-manifest.json +17 -17
- package/dist/web/standalone/.next/server/middleware-build-manifest.js +1 -1
- package/dist/web/standalone/.next/server/pages/404.html +1 -1
- package/dist/web/standalone/.next/server/pages/500.html +1 -1
- package/dist/web/standalone/.next/server/server-reference-manifest.json +1 -1
- package/package.json +1 -1
- package/src/resources/extensions/gsd/commands/dispatcher.ts +6 -0
- package/src/resources/extensions/gsd/guided-flow.ts +28 -7
- package/src/resources/extensions/gsd/tests/smart-entry-complete.test.ts +18 -0
- /package/dist/web/standalone/.next/static/{mPZbi5BH9dwokaPZlrYuQ → yTuahMMuJzVnsov5PreWl}/_buildManifest.js +0 -0
- /package/dist/web/standalone/.next/static/{mPZbi5BH9dwokaPZlrYuQ → yTuahMMuJzVnsov5PreWl}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4b5e4f1bfb55a0a1
|
|
@@ -33,5 +33,10 @@ export async function handleGSDCommand(args, ctx, pi) {
|
|
|
33
33
|
}
|
|
34
34
|
if (handled)
|
|
35
35
|
return;
|
|
36
|
+
if (trimmed.includes(" ")) {
|
|
37
|
+
const { handleDo } = await import("../commands-do.js");
|
|
38
|
+
await handleDo(trimmed, ctx, pi);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
36
41
|
ctx.ui.notify(`Unknown: /gsd ${trimmed}. Run /gsd help for available commands.`, "warning");
|
|
37
42
|
}
|
|
@@ -1780,16 +1780,24 @@ export async function showSmartEntry(ctx, pi, basePath, options) {
|
|
|
1780
1780
|
title: "GSD — Get Shit Done",
|
|
1781
1781
|
summary: ["No active milestone."],
|
|
1782
1782
|
actions: [
|
|
1783
|
+
{
|
|
1784
|
+
id: "quick_task",
|
|
1785
|
+
label: "Quick task",
|
|
1786
|
+
description: "For small bounded work, run /gsd quick <task> or /gsd do <task>.",
|
|
1787
|
+
recommended: true,
|
|
1788
|
+
},
|
|
1783
1789
|
{
|
|
1784
1790
|
id: "new_milestone",
|
|
1785
1791
|
label: "Create next milestone",
|
|
1786
|
-
description: "Define
|
|
1787
|
-
recommended: true,
|
|
1792
|
+
description: "Define a larger body of work with planning artifacts.",
|
|
1788
1793
|
},
|
|
1789
1794
|
],
|
|
1790
1795
|
notYetMessage: "Run /gsd when ready.",
|
|
1791
1796
|
});
|
|
1792
|
-
if (choice === "
|
|
1797
|
+
if (choice === "quick_task") {
|
|
1798
|
+
ctx.ui.notify("Run /gsd quick <task> for small bounded work, or /gsd do <task> for natural-language routing.", "info");
|
|
1799
|
+
}
|
|
1800
|
+
else if (choice === "new_milestone") {
|
|
1793
1801
|
setPendingAutoStart(basePath, { ctx, pi, basePath, milestoneId: nextId, step: stepMode });
|
|
1794
1802
|
await dispatchWorkflow(pi, await prepareAndBuildDiscussPrompt(ctx, pi, nextId, `New milestone ${nextId}.`, basePath), "gsd-run", ctx, "discuss-milestone");
|
|
1795
1803
|
}
|
|
@@ -1809,11 +1817,16 @@ export async function showSmartEntry(ctx, pi, basePath, options) {
|
|
|
1809
1817
|
title: `GSD — ${milestoneId}: ${milestoneTitle}`,
|
|
1810
1818
|
summary: ["All milestones complete."],
|
|
1811
1819
|
actions: [
|
|
1820
|
+
{
|
|
1821
|
+
id: "quick_task",
|
|
1822
|
+
label: "Quick task",
|
|
1823
|
+
description: "Do a small bounded task without opening a milestone.",
|
|
1824
|
+
recommended: true,
|
|
1825
|
+
},
|
|
1812
1826
|
{
|
|
1813
1827
|
id: "new_milestone",
|
|
1814
1828
|
label: "Start new milestone",
|
|
1815
1829
|
description: "Define and plan the next milestone.",
|
|
1816
|
-
recommended: true,
|
|
1817
1830
|
},
|
|
1818
1831
|
{
|
|
1819
1832
|
id: "status",
|
|
@@ -1823,7 +1836,10 @@ export async function showSmartEntry(ctx, pi, basePath, options) {
|
|
|
1823
1836
|
],
|
|
1824
1837
|
notYetMessage: "Run /gsd when ready.",
|
|
1825
1838
|
});
|
|
1826
|
-
if (choice === "
|
|
1839
|
+
if (choice === "quick_task") {
|
|
1840
|
+
ctx.ui.notify("Run /gsd quick <task> for small bounded work, or /gsd do <task> for natural-language routing.", "info");
|
|
1841
|
+
}
|
|
1842
|
+
else if (choice === "new_milestone") {
|
|
1827
1843
|
const milestoneIds = findMilestoneIds(basePath);
|
|
1828
1844
|
const uniqueMilestoneIds = !!loadEffectiveGSDPreferences()?.preferences?.unique_milestone_ids;
|
|
1829
1845
|
const nextId = nextMilestoneIdReserved(milestoneIds, uniqueMilestoneIds, basePath);
|
|
@@ -1916,13 +1932,18 @@ export async function showSmartEntry(ctx, pi, basePath, options) {
|
|
|
1916
1932
|
const contextFile = resolveMilestoneFile(basePath, milestoneId, "CONTEXT");
|
|
1917
1933
|
const hasContext = !!(contextFile && await loadFile(contextFile));
|
|
1918
1934
|
const actions = [
|
|
1935
|
+
{
|
|
1936
|
+
id: "quick_task",
|
|
1937
|
+
label: "Quick task instead",
|
|
1938
|
+
description: "Use this when the work is small and should not become a milestone.",
|
|
1939
|
+
recommended: true,
|
|
1940
|
+
},
|
|
1919
1941
|
{
|
|
1920
1942
|
id: "plan",
|
|
1921
1943
|
label: "Create roadmap",
|
|
1922
1944
|
description: hasContext
|
|
1923
1945
|
? "Context captured. Decompose into slices with a boundary map."
|
|
1924
1946
|
: "Decompose the milestone into slices with a boundary map.",
|
|
1925
|
-
recommended: true,
|
|
1926
1947
|
},
|
|
1927
1948
|
...(!hasContext ? [{
|
|
1928
1949
|
id: "discuss",
|
|
@@ -1946,7 +1967,10 @@ export async function showSmartEntry(ctx, pi, basePath, options) {
|
|
|
1946
1967
|
actions,
|
|
1947
1968
|
notYetMessage: "Run /gsd when ready.",
|
|
1948
1969
|
});
|
|
1949
|
-
if (choice === "
|
|
1970
|
+
if (choice === "quick_task") {
|
|
1971
|
+
ctx.ui.notify("Run /gsd quick <task> for small bounded work, or /gsd do <task> for natural-language routing.", "info");
|
|
1972
|
+
}
|
|
1973
|
+
else if (choice === "plan") {
|
|
1950
1974
|
setPendingAutoStart(basePath, { ctx, pi, basePath, milestoneId, step: stepMode });
|
|
1951
1975
|
await dispatchWorkflow(pi, await buildPlanMilestonePrompt(milestoneId, milestoneTitle, basePath), "gsd-run", ctx, "plan-milestone");
|
|
1952
1976
|
}
|