mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 05:01:23 +00:00
Revert "Add mesh auto-planning with chat command UX and hardened auth/session behavior"
This reverts commit 16e59b26a6.
# Conflicts:
# src/auto-reply/reply/commands-mesh.ts
# src/gateway/server-methods/mesh.ts
# src/gateway/server-methods/server-methods.test.ts
This commit is contained in:
@@ -130,8 +130,6 @@ import {
|
||||
LogsTailResultSchema,
|
||||
type MeshPlanParams,
|
||||
MeshPlanParamsSchema,
|
||||
type MeshPlanAutoParams,
|
||||
MeshPlanAutoParamsSchema,
|
||||
type MeshRetryParams,
|
||||
MeshRetryParamsSchema,
|
||||
type MeshRunParams,
|
||||
@@ -371,7 +369,6 @@ export const validateExecApprovalsNodeSetParams = ajv.compile<ExecApprovalsNodeS
|
||||
);
|
||||
export const validateLogsTailParams = ajv.compile<LogsTailParams>(LogsTailParamsSchema);
|
||||
export const validateMeshPlanParams = ajv.compile<MeshPlanParams>(MeshPlanParamsSchema);
|
||||
export const validateMeshPlanAutoParams = ajv.compile<MeshPlanAutoParams>(MeshPlanAutoParamsSchema);
|
||||
export const validateMeshRunParams = ajv.compile<MeshRunParams>(MeshRunParamsSchema);
|
||||
export const validateMeshStatusParams = ajv.compile<MeshStatusParams>(MeshStatusParamsSchema);
|
||||
export const validateMeshRetryParams = ajv.compile<MeshRetryParams>(MeshRetryParamsSchema);
|
||||
@@ -435,7 +432,6 @@ export {
|
||||
AgentEventSchema,
|
||||
ChatEventSchema,
|
||||
MeshPlanParamsSchema,
|
||||
MeshPlanAutoParamsSchema,
|
||||
MeshWorkflowPlanSchema,
|
||||
MeshRunParamsSchema,
|
||||
MeshStatusParamsSchema,
|
||||
@@ -540,7 +536,6 @@ export type {
|
||||
AgentWaitParams,
|
||||
ChatEvent,
|
||||
MeshPlanParams,
|
||||
MeshPlanAutoParams,
|
||||
MeshWorkflowPlan,
|
||||
MeshRunParams,
|
||||
MeshStatusParams,
|
||||
|
||||
@@ -61,19 +61,6 @@ export const MeshRunParamsSchema = Type.Object(
|
||||
{ additionalProperties: false },
|
||||
);
|
||||
|
||||
export const MeshPlanAutoParamsSchema = Type.Object(
|
||||
{
|
||||
goal: NonEmptyString,
|
||||
maxSteps: Type.Optional(Type.Integer({ minimum: 1, maximum: 16 })),
|
||||
agentId: Type.Optional(NonEmptyString),
|
||||
sessionKey: Type.Optional(NonEmptyString),
|
||||
thinking: Type.Optional(Type.String()),
|
||||
timeoutMs: Type.Optional(Type.Integer({ minimum: 1_000, maximum: 3_600_000 })),
|
||||
lane: Type.Optional(Type.String()),
|
||||
},
|
||||
{ additionalProperties: false },
|
||||
);
|
||||
|
||||
export const MeshStatusParamsSchema = Type.Object(
|
||||
{
|
||||
runId: NonEmptyString,
|
||||
@@ -92,6 +79,5 @@ export const MeshRetryParamsSchema = Type.Object(
|
||||
export type MeshPlanParams = Static<typeof MeshPlanParamsSchema>;
|
||||
export type MeshWorkflowPlan = Static<typeof MeshWorkflowPlanSchema>;
|
||||
export type MeshRunParams = Static<typeof MeshRunParamsSchema>;
|
||||
export type MeshPlanAutoParams = Static<typeof MeshPlanAutoParamsSchema>;
|
||||
export type MeshStatusParams = Static<typeof MeshStatusParamsSchema>;
|
||||
export type MeshRetryParams = Static<typeof MeshRetryParamsSchema>;
|
||||
|
||||
@@ -104,7 +104,6 @@ import {
|
||||
LogsTailResultSchema,
|
||||
} from "./logs-chat.js";
|
||||
import {
|
||||
MeshPlanAutoParamsSchema,
|
||||
MeshPlanParamsSchema,
|
||||
MeshRetryParamsSchema,
|
||||
MeshRunParamsSchema,
|
||||
@@ -263,7 +262,6 @@ export const ProtocolSchemas: Record<string, TSchema> = {
|
||||
ChatInjectParams: ChatInjectParamsSchema,
|
||||
ChatEvent: ChatEventSchema,
|
||||
MeshPlanParams: MeshPlanParamsSchema,
|
||||
MeshPlanAutoParams: MeshPlanAutoParamsSchema,
|
||||
MeshWorkflowPlan: MeshWorkflowPlanSchema,
|
||||
MeshRunParams: MeshRunParamsSchema,
|
||||
MeshStatusParams: MeshStatusParamsSchema,
|
||||
|
||||
Reference in New Issue
Block a user