@h-rig/task-cli-plugin 0.0.6-alpha.155 → 0.0.6-alpha.156

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.
@@ -1,5 +1,5 @@
1
- import { type RigPluginWithRuntime } from "@rig/core/config";
1
+ import { type RigPlugin } from "@rig/core/config";
2
2
  export declare const STANDARD_TASK_CLI_PLUGIN_NAME = "@rig/task-cli-plugin";
3
3
  export declare const STANDARD_TASK_CLI_ID = "@rig/task-cli-plugin:task";
4
- export declare function createStandardTaskCliPlugin(): RigPluginWithRuntime;
5
- export declare const standardTaskCliPlugin: RigPluginWithRuntime;
4
+ export declare function createStandardTaskCliPlugin(): RigPlugin;
5
+ export declare const standardTaskCliPlugin: RigPlugin;
@@ -71,7 +71,8 @@ function createStandardTaskCliCommand() {
71
71
  if (parsed.rest.length > 0) {
72
72
  throw new Error(`Unsupported arguments for rig task list: ${parsed.rest.join(" ")}`);
73
73
  }
74
- const { applyFilters, listTasks } = await import("@rig/client");
74
+ const { listTasks } = await import("@rig/core/task-io");
75
+ const { applyFilters } = await import("@rig/dependency-graph-plugin");
75
76
  const tasks = applyFilters(await listTasks(context.projectRoot), parsed.filters);
76
77
  if (context.outputMode === "text") {
77
78
  if (tasks.length === 0) {
@@ -90,18 +91,8 @@ function createStandardTaskCliPlugin() {
90
91
  name: STANDARD_TASK_CLI_PLUGIN_NAME,
91
92
  version: "0.1.0",
92
93
  contributes: {
93
- cliCommands: [
94
- {
95
- id: STANDARD_TASK_CLI_ID,
96
- family: "task",
97
- description: "List and inspect task-source tasks.",
98
- usage: "rig task list [--assignee <login|me|@me>] [--state open|closed] [--search <text>] [--limit <n>]",
99
- projectRequired: true
100
- }
101
- ]
94
+ cliCommands: [createStandardTaskCliCommand()]
102
95
  }
103
- }, {
104
- cliCommands: [createStandardTaskCliCommand()]
105
96
  });
106
97
  }
107
98
  var standardTaskCliPlugin = createStandardTaskCliPlugin();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h-rig/task-cli-plugin",
3
- "version": "0.0.6-alpha.155",
3
+ "version": "0.0.6-alpha.156",
4
4
  "type": "module",
5
5
  "description": "Standard Rig task CLI plugin boundary backed by the Rig client runtime.",
6
6
  "license": "UNLICENSED",
@@ -22,7 +22,7 @@
22
22
  "bun": ">=1.3.11"
23
23
  },
24
24
  "dependencies": {
25
- "@rig/client": "npm:@h-rig/client@0.0.6-alpha.155",
26
- "@rig/core": "npm:@h-rig/core@0.0.6-alpha.155"
25
+ "@rig/core": "npm:@h-rig/core@0.0.6-alpha.156",
26
+ "@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.6-alpha.156"
27
27
  }
28
28
  }