@oyasmi/pipiclaw 0.7.4 → 0.7.5

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.
@@ -35,6 +35,8 @@ export async function dispatch(input, deps) {
35
35
  return { kind: "reply", text: deps.renderUsage(command.args) };
36
36
  case "events":
37
37
  return { kind: "reply", text: await deps.runEvents(command.args) };
38
+ case "tasks":
39
+ return { kind: "reply", text: await deps.runTasks(command.args) };
38
40
  case "stop":
39
41
  return { kind: "stop" };
40
42
  case "steer":
@@ -56,6 +58,7 @@ export const TUI_SLASH_COMMANDS = [
56
58
  { name: "status", description: "Show model, context and run state" },
57
59
  { name: "usage", description: "Show LLM cost for this channel", argumentHint: "[7d|month]" },
58
60
  { name: "events", description: "Manage scheduled events", argumentHint: "<list|show|delete|history>" },
61
+ { name: "tasks", description: "View the task ledger (read-only)", argumentHint: "[show <id>|archive]" },
59
62
  { name: "model", description: "Show or switch the model", argumentHint: "[provider/model]" },
60
63
  { name: "new", description: "Start a new session" },
61
64
  { name: "compact", description: "Compact the session context", argumentHint: "[instructions]" },
@@ -22,6 +22,7 @@ export interface TurnControllerDeps {
22
22
  renderHelp: () => string;
23
23
  renderUsage: (args: string) => string;
24
24
  runEvents: (args: string) => Promise<string>;
25
+ runTasks: (args: string) => Promise<string>;
25
26
  /** Static bits the status renderer needs alongside the live run state. */
26
27
  statusInfo: {
27
28
  version: string;
@@ -35,6 +35,7 @@ export class TurnController {
35
35
  renderHelp: deps.renderHelp,
36
36
  renderUsage: deps.renderUsage,
37
37
  runEvents: deps.runEvents,
38
+ runTasks: deps.runTasks,
38
39
  renderStatus: () => renderStatus({
39
40
  state: { running: this.running, currentTaskText: this.currentTaskText, runner: this.deps.runner },
40
41
  version: deps.statusInfo.version,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oyasmi/pipiclaw",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "An AI assistant runtime for coding and team workflows, with DingTalk AI Cards, sub-agents, memory, and scheduled events.",
5
5
  "type": "module",
6
6
  "bin": {