soltask 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +398 -2
- package/dist/cli.d.ts +15 -0
- package/dist/cli.js +344 -0
- package/dist/client.d.ts +131 -0
- package/dist/client.js +879 -0
- package/dist/commands/actions.d.ts +26 -0
- package/dist/commands/actions.js +1181 -0
- package/dist/commands/auth.d.ts +10 -0
- package/dist/commands/auth.js +489 -0
- package/dist/commands/drafts.d.ts +22 -0
- package/dist/commands/drafts.js +736 -0
- package/dist/commands/index.d.ts +3 -0
- package/dist/commands/index.js +10 -0
- package/dist/commands/meta.d.ts +4 -0
- package/dist/commands/meta.js +195 -0
- package/dist/commands/read.d.ts +24 -0
- package/dist/commands/read.js +1106 -0
- package/dist/commands/watch.d.ts +2 -0
- package/dist/commands/watch.js +397 -0
- package/dist/config.d.ts +86 -0
- package/dist/config.js +365 -0
- package/dist/context.d.ts +70 -0
- package/dist/context.js +1 -0
- package/dist/domain.d.ts +311 -0
- package/dist/domain.js +747 -0
- package/dist/errors.d.ts +28 -0
- package/dist/errors.js +40 -0
- package/dist/fsutil.d.ts +35 -0
- package/dist/fsutil.js +243 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +18 -0
- package/dist/output.d.ts +27 -0
- package/dist/output.js +74 -0
- package/dist/types.d.ts +254 -0
- package/dist/types.js +1 -0
- package/dist/util.d.ts +32 -0
- package/dist/util.js +116 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.js +13 -0
- package/package.json +63 -4
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CommandContext, CommandSpec } from "../context.js";
|
|
2
|
+
/** `create`: preflights and creates a task, optionally applying priority/labels metadata and deleting a promoted draft. */
|
|
3
|
+
export declare function cmdCreate(ctx: CommandContext): Promise<number>;
|
|
4
|
+
/** `reply`: posts a message to a task thread with optional mentions, parent event, or `--answer` formatting. */
|
|
5
|
+
export declare function cmdReply(ctx: CommandContext): Promise<number>;
|
|
6
|
+
/** `answer`: answers a task waiting on a person's answer (or an explicit `--to` agent). */
|
|
7
|
+
export declare function cmdAnswer(ctx: CommandContext): Promise<number>;
|
|
8
|
+
/** `approve`: approves an open approval card immediately without interactive confirmation. */
|
|
9
|
+
export declare function cmdApprove(ctx: CommandContext): Promise<number>;
|
|
10
|
+
/** `reject`: rejects an open approval card with a required reason immediately without interactive confirmation. */
|
|
11
|
+
export declare function cmdReject(ctx: CommandContext): Promise<number>;
|
|
12
|
+
/** `publish`: tells the agent to publish (or requests a change with `--change`) at the publish stage. */
|
|
13
|
+
export declare function cmdPublish(ctx: CommandContext): Promise<number>;
|
|
14
|
+
/** `decide`: records a proposal decision (`accepted`, `rejected`, or `done`) with a required reason. */
|
|
15
|
+
export declare function cmdDecide(ctx: CommandContext): Promise<number>;
|
|
16
|
+
/** `nudge`: nudges a stalled task, preserving quota-bypass wording when an open nudge reason carries `blocked`/`until`. */
|
|
17
|
+
export declare function cmdNudge(ctx: CommandContext): Promise<number>;
|
|
18
|
+
/** `retry`: asks an agent to retry its last turn, guarding against active quota lock windows unless `--force` is passed. */
|
|
19
|
+
export declare function cmdRetry(ctx: CommandContext): Promise<number>;
|
|
20
|
+
/** `unblock`: posts an unblock update mentioning the blocked agent. */
|
|
21
|
+
export declare function cmdUnblock(ctx: CommandContext): Promise<number>;
|
|
22
|
+
/** `resolve`: marks an answer event as resolved (auto-selecting the newest agent message when `--event` is omitted). */
|
|
23
|
+
export declare function cmdResolve(ctx: CommandContext): Promise<number>;
|
|
24
|
+
/** `cancel`: cancels an open task immediately without interactive confirmation. */
|
|
25
|
+
export declare function cmdCancel(ctx: CommandContext): Promise<number>;
|
|
26
|
+
export declare const actionCommands: readonly CommandSpec[];
|