@agent-profile/cli 0.1.5 → 0.3.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/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4518 -272
- package/dist/index.js.map +1 -1
- package/package.json +10 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { type PresetVerificationKey } from "@agent-profile/core";
|
|
3
|
+
import { type CliPrompts } from "./wizard.js";
|
|
3
4
|
export type CliIo = {
|
|
4
5
|
stdout: (text: string) => void;
|
|
5
6
|
stderr: (text: string) => void;
|
|
@@ -10,12 +11,15 @@ export type CliOptions = {
|
|
|
10
11
|
launchUi?: UiLaunchFunction;
|
|
11
12
|
presetNow?: () => number;
|
|
12
13
|
presetVerificationKeys?: readonly PresetVerificationKey[];
|
|
14
|
+
prompts?: CliPrompts;
|
|
15
|
+
nonInteractive?: boolean;
|
|
13
16
|
};
|
|
14
17
|
export type UiLaunchRequest = {
|
|
15
18
|
rootDir: string;
|
|
16
19
|
host: LoopbackHost;
|
|
17
20
|
port: number;
|
|
18
21
|
open: boolean;
|
|
22
|
+
sessionToken: string;
|
|
19
23
|
};
|
|
20
24
|
export type UiLaunchFunction = (request: UiLaunchRequest) => Promise<number>;
|
|
21
25
|
type LoopbackHost = "127.0.0.1" | "localhost" | "::1";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AA4CA,OAAO,EAML,KAAK,qBAAqB,EAC3B,MAAM,qBAAqB,CAAC;AAc7B,OAAO,EAOL,KAAK,UAAU,EAKhB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,KAAK,GAAG;IAClB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,MAAM,CAAC;IACzB,sBAAsB,CAAC,EAAE,SAAS,qBAAqB,EAAE,CAAC;IAC1D,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAsD7E,KAAK,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,KAAK,CAAC;AA2DtD,wBAAsB,MAAM,CAC1B,IAAI,WAAwB,EAC5B,OAAO,GAAE,UAAe,GACvB,OAAO,CAAC,MAAM,CAAC,CAiCjB"}
|