feat: add workflow lifecycle controls and monitoring
This commit is contained in:
1 parent
9f9f3abe22
commit
0cdd62161f
16 files changed
+778
-20
No files matched your search
@@ -4,6 +4,7 @@ import { CorpContext, resolveCorpConfig } from "../core/config/manager.js";
|
||||
import { CorpConfig } from "../core/config/types.js";
|
||||
import { createEkbClient } from "../core/auth/ekb.js";
|
||||
import { getEasoClient } from "../core/auth/easo.js";
|
||||
import { getPiperClient } from "../core/auth/piper.js";
|
||||
import { CliRuntime, OutputOptions } from "./types.js";
|
||||
|
||||
export function initCorpRuntime(
|
||||
@@ -64,6 +65,10 @@ export async function createClientsForCorp(corp: CorpConfig) {
|
||||
};
|
||||
}
|
||||
|
||||
export async function createPiperClientForCorp(corp: CorpConfig, platformId: string) {
|
||||
return getPiperClient(corp, platformId);
|
||||
}
|
||||
|
||||
export function prompt(question: string): Promise<string> {
|
||||
const rl = readline.createInterface({
|
||||
input: process.stdin,
|
||||
|
||||
Reference in new issue
Block a user