mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 18:14:31 +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:
@@ -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