@treeseed/sdk 0.13.0-rc.52 → 0.13.0-rc.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,7 +122,7 @@ const packageEndpointSchema = z.object({
122
122
  aliasOverride: z.boolean().default(true),
123
123
  tls: z.enum(["edge", "passthrough", "none"]),
124
124
  authentication: z.enum(["none", "application", "mtls"]),
125
- healthGate: z.object({ protocol: z.enum(["http", "https", "tcp"]), path: z.string().startsWith("/").optional(), timeoutSeconds: z.number().int().positive().max(600) }).strict().optional()
125
+ healthGate: z.object({ protocol: z.enum(["http", "https", "tcp"]), path: z.string().startsWith("/").optional(), timeoutSeconds: z.number().int().positive().max(1200) }).strict().optional()
126
126
  }).strict().superRefine((endpoint, context) => {
127
127
  if (endpoint.visibility === "host" && !endpoint.defaultAlias) context.addIssue({ code: z.ZodIssueCode.custom, path: ["defaultAlias"], message: "Host-visible endpoints require a .localhost alias." });
128
128
  if (endpoint.visibility === "host" && !endpoint.healthGate) context.addIssue({ code: z.ZodIssueCode.custom, path: ["healthGate"], message: "Host-visible endpoints require a health gate." });
@@ -92,8 +92,8 @@ const operationBindings = {
92
92
  "seeds verify": operation("seeds.verify", [field("path", "name", "argument", "seed", true)]),
93
93
  "plans list": operation("plans.list", [field("path", "decisionId", "option", "decision", true), ...page()]),
94
94
  "plans show": operation("plans.show", [field("path", "capacityPlanId", "argument", "plan", true)]),
95
- "workdays plan": operation("workdays.plan", [field("path", "teamId", "context", "team", true), field("body", "profile", "option"), field("body", "projects", "option", "projects", false, "csv"), field("body", "start", "option"), field("body", "end", "option"), field("body", "duration", "option", "duration", false, "integer"), field("body", "objective", "option")]),
96
- "workdays start": operation("workdays.start", [field("path", "teamId", "context", "team", true), field("body", "preflightId", "option", "preflight", true), field("body", "digest", "option", "digest", true)]),
95
+ "workdays plan": operation("workdays.plan", [field("path", "teamId", "context", "team", true), field("body", "profileId", "option", "profile"), field("body", "projects", "option", "projects", false, "csv"), field("body", "startsAt", "option", "start"), field("body", "endsAt", "option", "end"), field("body", "durationSeconds", "option", "duration", false, "integer"), field("body", "objectiveFilters", "option", "objective", false, "csv")]),
96
+ "workdays start": operation("workdays.start", [field("path", "teamId", "context", "team", true), field("body", "preflightId", "option", "preflight", true), field("body", "preflightDigest", "option", "digest", true)]),
97
97
  "workdays list": operation("workdays.list", [field("path", "teamId", "context", "team", true), ...page()]),
98
98
  "workdays show": operation("workdays.show", [field("path", "teamId", "context", "team", true), field("path", "runId", "argument", "workday", true)]),
99
99
  "workdays schedules list": operation("workdays.schedules.list", [field("path", "teamId", "context", "team", true)]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.13.0-rc.52",
3
+ "version": "0.13.0-rc.53",
4
4
  "description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {