@treeseed/cli 0.6.32 → 0.6.33
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.
|
@@ -81,7 +81,8 @@ function statusFacts(state, live) {
|
|
|
81
81
|
const handleStatus = async (invocation, context) => {
|
|
82
82
|
try {
|
|
83
83
|
const live = invocation.args.live === true;
|
|
84
|
-
const
|
|
84
|
+
const history = invocation.args.history === "all" ? "all" : "recent";
|
|
85
|
+
const result = await createWorkflowSdk(context).status({ live, history });
|
|
85
86
|
const state = result.payload;
|
|
86
87
|
const nextSteps = renderWorkflowNextSteps(result);
|
|
87
88
|
const report = {
|
|
@@ -152,9 +152,10 @@ const CLI_COMMAND_OVERLAYS = /* @__PURE__ */ new Map([
|
|
|
152
152
|
["status", command({
|
|
153
153
|
options: [
|
|
154
154
|
{ name: "json", flags: "--json", description: "Emit machine-readable JSON instead of human-readable text.", kind: "boolean" },
|
|
155
|
-
{ name: "live", flags: "--live", description: "Run read-only provider connectivity checks and include the results in status.", kind: "boolean" }
|
|
155
|
+
{ name: "live", flags: "--live", description: "Run read-only provider connectivity checks and include the results in status.", kind: "boolean" },
|
|
156
|
+
{ name: "history", flags: "--history <mode>", description: "Control obsolete workflow history detail in status output.", kind: "enum", values: ["recent", "all"] }
|
|
156
157
|
],
|
|
157
|
-
examples: ["treeseed status", "treeseed status --json", "treeseed status --live"],
|
|
158
|
+
examples: ["treeseed status", "treeseed status --json", "treeseed status --live", "treeseed status --history all --json"],
|
|
158
159
|
help: {
|
|
159
160
|
workflowPosition: "inspect",
|
|
160
161
|
longSummary: [
|
|
@@ -178,6 +179,7 @@ const CLI_COMMAND_OVERLAYS = /* @__PURE__ */ new Map([
|
|
|
178
179
|
example("treeseed status", "Check the current task state", "Show the current branch role and project health in human-readable form."),
|
|
179
180
|
example("treeseed status --json", "Feed an agent or script", "Emit structured status data for automation and external tooling."),
|
|
180
181
|
example("treeseed status --live", "Check provider connectivity", "Include read-only GitHub, Cloudflare, and Railway identity checks in the status report."),
|
|
182
|
+
example("treeseed status --history all --json", "Inspect full workflow history", "Include every obsolete workflow run instead of the default recent cap."),
|
|
181
183
|
example("trsd status", "Use the short alias", "Run the same status inspection path through the shorter CLI entrypoint.")
|
|
182
184
|
],
|
|
183
185
|
automationNotes: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@treeseed/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.33",
|
|
4
4
|
"description": "Operator-facing Treeseed CLI package.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"release:publish": "node ./scripts/run-ts.mjs ./scripts/publish-package.ts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@treeseed/sdk": "0.6.
|
|
48
|
+
"@treeseed/sdk": "0.6.37",
|
|
49
49
|
"ink": "^7.0.0",
|
|
50
50
|
"react": "^19.2.5"
|
|
51
51
|
},
|