@rosthq/cli 0.5.26 → 0.5.28
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/README.md +6 -3
- package/dist/doctor.d.ts +13 -0
- package/dist/doctor.d.ts.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +846 -126
- package/dist/index.js.map +4 -4
- package/dist/operations.d.ts +2 -1
- package/dist/operations.d.ts.map +1 -1
- package/dist/runner-serve.d.ts +17 -0
- package/dist/runner-serve.d.ts.map +1 -0
- package/package.json +1 -1
- package/prompts/how-tos/human-confirmations.md +3 -0
package/dist/operations.d.ts
CHANGED
|
@@ -5,12 +5,13 @@ export type WrapperIo = {
|
|
|
5
5
|
};
|
|
6
6
|
export type RunCommand = (client: CommandClient, commandId: string, body: unknown, format?: (output: unknown) => string, options?: {
|
|
7
7
|
targetSeatId?: string;
|
|
8
|
+
autoConfirm?: boolean;
|
|
8
9
|
}) => Promise<number>;
|
|
9
10
|
export declare const CLI_MODEL_TIER_MAP: Record<string, {
|
|
10
11
|
model: string;
|
|
11
12
|
effort: string;
|
|
12
13
|
}>;
|
|
13
|
-
export declare const OPERATION_GROUPS: readonly ["task", "status", "signal", "goal", "friction", "escalation", "error", "sync", "runner", "notification", "integration", "settings", "member", "agent", "tools", "skills", "model", "compass", "charter", "deliverable", "system"];
|
|
14
|
+
export declare const OPERATION_GROUPS: readonly ["task", "status", "signal", "goal", "friction", "escalation", "error", "sync", "runner", "notification", "integration", "settings", "member", "agent", "tools", "skills", "model", "compass", "charter", "deliverable", "system", "graph", "seat"];
|
|
14
15
|
export type OperationGroup = (typeof OPERATION_GROUPS)[number];
|
|
15
16
|
export declare function isOperationGroup(value: string | undefined): value is OperationGroup;
|
|
16
17
|
export declare function operationGroupUsage(group: OperationGroup, bin: string): string;
|
package/dist/operations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src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M,CAAA;CAAE,CAKhF,CAAC;AAk5DF,eAAO,MAAM,gBAAgB,8PAwBnB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AA4B/D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,KAAK,IAAI,cAAc,CAEnF;AA8BD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9E;AAED,wBAAsB,YAAY,CAChC,KAAK,EAAE,cAAc,EACrB,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,EAAE;IAAE,EAAE,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,aAAa,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,UAAU,CAAA;CAAE,GAClF,OAAO,CAAC,MAAM,CAAC,CAOjB;AAKD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAwBzD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CommandClient } from "./command-client.js";
|
|
2
|
+
type RunnerServeIo = {
|
|
3
|
+
stdout: Pick<NodeJS.WriteStream, "write">;
|
|
4
|
+
stderr: Pick<NodeJS.WriteStream, "write">;
|
|
5
|
+
};
|
|
6
|
+
type RunnerServeOptions = {
|
|
7
|
+
io: RunnerServeIo;
|
|
8
|
+
client?: CommandClient | null;
|
|
9
|
+
appUrl: string;
|
|
10
|
+
args: string[];
|
|
11
|
+
env?: NodeJS.ProcessEnv;
|
|
12
|
+
fetchImpl?: typeof fetch;
|
|
13
|
+
};
|
|
14
|
+
export declare function runRunnerServe(options: RunnerServeOptions): Promise<number>;
|
|
15
|
+
export declare function resolveRunnerServeTenant(client: CommandClient): Promise<string | null>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=runner-serve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runner-serve.d.ts","sourceRoot":"","sources":["../src/runner-serve.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAMzD,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAC1C,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;CAC3C,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,EAAE,EAAE,aAAa,CAAC;IAClB,MAAM,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CAC1B,CAAC;AAwBF,wBAAsB,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CA8CjF;AA6CD,wBAAsB,wBAAwB,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAW5F"}
|
package/package.json
CHANGED
|
@@ -44,9 +44,11 @@ The following registry commands require human confirmation or a credential flow:
|
|
|
44
44
|
| `compass.reject_draft` | `human_required` |
|
|
45
45
|
| `compass.set` | `human_required` |
|
|
46
46
|
| `credential.ingress` | `credential_flow` |
|
|
47
|
+
| `deliverable.accept` | `human_required` |
|
|
47
48
|
| `friction.resolve` | `human_required` |
|
|
48
49
|
| `goal.drop` | `human_required` |
|
|
49
50
|
| `goal.reparent` | `human_required` |
|
|
51
|
+
| `goal.set_progress` | `human_required` |
|
|
50
52
|
| `mcp_token.create` | `human_required` |
|
|
51
53
|
| `mcp_token.revoke` | `human_required` |
|
|
52
54
|
| `member.remove` | `human_required` |
|
|
@@ -56,6 +58,7 @@ The following registry commands require human confirmation or a credential flow:
|
|
|
56
58
|
| `seat.decommission` | `human_required` |
|
|
57
59
|
| `seat.reparent` | `human_required` |
|
|
58
60
|
| `seat.set_type` | `human_required` |
|
|
61
|
+
| `settings.agent_policy.update` | `human_required` |
|
|
59
62
|
| `settings.product_learning.update` | `human_required` |
|
|
60
63
|
| `settings.update` | `dangerous` |
|
|
61
64
|
| `signal.correct_reading` | `human_required` |
|