@tekmidian/pai 0.13.4 → 0.14.0
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/cli/index.mjs +1 -1
- package/dist/cli/program.mjs +1 -1
- package/dist/{pick-CmG7SCtp.mjs → pick-DxS6p2vI.mjs} +625 -25
- package/dist/pick-DxS6p2vI.mjs.map +1 -0
- package/docs/commands/README.md +5 -0
- package/docs/commands/task.md +39 -0
- package/package.json +1 -1
- package/dist/pick-CmG7SCtp.mjs.map +0 -1
package/docs/commands/README.md
CHANGED
|
@@ -145,6 +145,11 @@ Generated man pages for every `pai` command area. Read any page in the terminal
|
|
|
145
145
|
| `pai task dispatch` | Hand open tasks to the PAI sessions that own them |
|
|
146
146
|
| `pai task done <id>` | Mark a task complete on the tracker |
|
|
147
147
|
| `pai task list` | List open tasks on the bus |
|
|
148
|
+
| `pai task poll` | One scheduler tick: dispatch what is due, check what is running, report |
|
|
149
|
+
| `pai task schedule` | Install, remove or inspect the launchd agent that ticks the scheduler |
|
|
150
|
+
| `pai task schedule install` | Install the scheduler tick (default: every 15 minutes) |
|
|
151
|
+
| `pai task schedule status` | Show whether the scheduler agent is installed and loaded |
|
|
152
|
+
| `pai task schedule uninstall` | Remove the scheduler agent |
|
|
148
153
|
| `pai topic` | Topic shift detection: check whether context has drifted to a different project |
|
|
149
154
|
| `pai topic check <context>` | Check whether context text has drifted to a different project. |
|
|
150
155
|
| `pai update` | Update PAI from GitHub (git pull + rebuild + daemon restart). Preserves local customizations. |
|
package/docs/commands/task.md
CHANGED
|
@@ -19,6 +19,8 @@ pai task <subcommand> [options]
|
|
|
19
19
|
| [`pai task list`](#pai-task-list) | List open tasks on the bus |
|
|
20
20
|
| [`pai task add <title>`](#pai-task-add-title) | File a task onto the bus |
|
|
21
21
|
| [`pai task dispatch`](#pai-task-dispatch) | Hand open tasks to the PAI sessions that own them |
|
|
22
|
+
| [`pai task poll`](#pai-task-poll) | One scheduler tick: dispatch what is due, check what is running, report |
|
|
23
|
+
| [`pai task schedule`](#pai-task-schedule) | Install, remove or inspect the launchd agent that ticks the scheduler |
|
|
22
24
|
| [`pai task config`](#pai-task-config) | View or change task bus settings without running the full setup wizard |
|
|
23
25
|
| [`pai task done <id>`](#pai-task-done-id) | Mark a task complete on the tracker |
|
|
24
26
|
|
|
@@ -72,6 +74,43 @@ Hand open tasks to the PAI sessions that own them
|
|
|
72
74
|
| `--no-spawn` | Never launch a session; skip owners that are not running | |
|
|
73
75
|
|
|
74
76
|
|
|
77
|
+
### pai task poll
|
|
78
|
+
|
|
79
|
+
One scheduler tick: dispatch what is due, check what is running, report
|
|
80
|
+
|
|
81
|
+
**Options**
|
|
82
|
+
|
|
83
|
+
| Option | Description | Default |
|
|
84
|
+
|--------|-------------|---------|
|
|
85
|
+
| `--dry-run` | Show what would happen without touching anything | |
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### pai task schedule
|
|
89
|
+
|
|
90
|
+
Install, remove or inspect the launchd agent that ticks the scheduler
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### pai task schedule install
|
|
94
|
+
|
|
95
|
+
Install the scheduler tick (default: every 15 minutes)
|
|
96
|
+
|
|
97
|
+
**Options**
|
|
98
|
+
|
|
99
|
+
| Option | Description | Default |
|
|
100
|
+
|--------|-------------|---------|
|
|
101
|
+
| `--interval <secs>` | Seconds between ticks | |
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### pai task schedule uninstall
|
|
105
|
+
|
|
106
|
+
Remove the scheduler agent
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### pai task schedule status
|
|
110
|
+
|
|
111
|
+
Show whether the scheduler agent is installed and loaded
|
|
112
|
+
|
|
113
|
+
|
|
75
114
|
### pai task config
|
|
76
115
|
|
|
77
116
|
View or change task bus settings without running the full setup wizard
|