@townco/tui-template 0.1.47 → 0.1.49
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.d.ts +7 -20
- package/package.json +4 -4
- package/dist/init-logging.d.ts +0 -1
- package/dist/init-logging.js +0 -8
package/dist/cli.d.ts
CHANGED
|
@@ -2,24 +2,11 @@ import type { InferValue } from "@optique/core/parser";
|
|
|
2
2
|
/**
|
|
3
3
|
* CLI configuration using Optique
|
|
4
4
|
*/
|
|
5
|
-
export declare const cliParser: import("@optique/core/parser").Parser<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
| import("@optique/core/valueparser").ValueParserResult<string>
|
|
13
|
-
| undefined;
|
|
14
|
-
readonly workingDir:
|
|
15
|
-
| [
|
|
16
|
-
| [
|
|
17
|
-
| import("@optique/core/valueparser").ValueParserResult<string>
|
|
18
|
-
| undefined,
|
|
19
|
-
]
|
|
20
|
-
| undefined,
|
|
21
|
-
]
|
|
22
|
-
| undefined;
|
|
23
|
-
}
|
|
24
|
-
>;
|
|
5
|
+
export declare const cliParser: import("@optique/core/parser").Parser<{
|
|
6
|
+
readonly agentPath: string;
|
|
7
|
+
readonly workingDir: string | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
readonly agentPath: import("@optique/core/valueparser").ValueParserResult<string> | undefined;
|
|
10
|
+
readonly workingDir: [[import("@optique/core/valueparser").ValueParserResult<string> | undefined] | undefined] | undefined;
|
|
11
|
+
}>;
|
|
25
12
|
export type CliConfig = InferValue<typeof cliParser>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@townco/tui-template",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.49",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agent-tui": "./dist/index.js"
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@optique/core": "^0.6.2",
|
|
23
23
|
"@optique/run": "^0.6.2",
|
|
24
|
-
"@townco/core": "0.0.
|
|
25
|
-
"@townco/ui": "0.1.
|
|
24
|
+
"@townco/core": "0.0.30",
|
|
25
|
+
"@townco/ui": "0.1.52",
|
|
26
26
|
"ink": "^6.4.0",
|
|
27
27
|
"ink-text-input": "^6.0.0",
|
|
28
28
|
"react": "^19.2.0",
|
|
29
29
|
"zod": "^4.1.12"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@townco/tsconfig": "0.1.
|
|
32
|
+
"@townco/tsconfig": "0.1.49",
|
|
33
33
|
"@types/node": "^24.10.0",
|
|
34
34
|
"@types/react": "^19.2.2",
|
|
35
35
|
"tsx": "^4.20.6",
|
package/dist/init-logging.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/init-logging.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Initialize logging configuration for TUI
|
|
3
|
-
* This MUST be imported before any other modules that use the logger
|
|
4
|
-
*/
|
|
5
|
-
import { setSuppressConsoleOutput } from "@townco/ui";
|
|
6
|
-
// Suppress console output from logger in TUI mode
|
|
7
|
-
// Logs are still captured and visible in the Logs tab
|
|
8
|
-
setSuppressConsoleOutput(true);
|