UNPKG

flux-agent

Version:

FluxAgent - 一个可灵活插拔的AI Agent系统框架,基于TypeScript开发,支持流式执行、事件系统、插件系统、知识库管理等功能 (Protected Release) (Protected Release) (Protected Release) (Protected Release) (Protected Release) (Protected Release) (Protected Release) (Protected Release) (Protected Release) (

23 lines (22 loc) 574 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.State = exports.AgentState = void 0; var AgentState; (function (AgentState) { AgentState["IDLE"] = "IDLE"; AgentState["RUNNING"] = "RUNNING"; AgentState["CONFIRM"] = "CONFIRM"; AgentState["STOP"] = "STOP"; })(AgentState || (exports.AgentState = AgentState = {})); class State { constructor() { this.state = AgentState.IDLE; } getState() { return this.state; } setState(state) { this.state = state; } } exports.State = State;