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:
Peter Steinberger
2026-02-18 02:09:54 +01:00
parent 6dcc052bb4
commit 01672a8f25
14 changed files with 33 additions and 1017 deletions

View File

@@ -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>;

View File

@@ -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,