@cutoptim/mcp 0.1.1 → 0.1.2

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.
package/dist/tools.gen.js CHANGED
@@ -2816,6 +2816,16 @@ export const TOOLS = [
2816
2816
  "meta": {
2817
2817
  "type": "object",
2818
2818
  "description": "Echoed on every sheet cut from this stock row."
2819
+ },
2820
+ "roll": {
2821
+ "type": "boolean",
2822
+ "description": "Marker mode: this row is a ROLL of width `w` and free length (fabric, leather, film, any roll good). Give `w` only — no `h`, `polygon` or `exclusions` — and make it the only stock row. The answer is ONE sheet `w` wide whose `h` is the shortest length found (also `metrics.length`), edge gap included at both ends. Both engines: `lbf` answers synchronously; `max` (async) starts from that marker and spends `options.timeBudgetMs` on a strip search that may shorten it, never lengthen it."
2823
+ },
2824
+ "maxLength": {
2825
+ "type": "number",
2826
+ "exclusiveMinimum": 0,
2827
+ "maximum": 200000,
2828
+ "description": "With `roll` only: the longest the marker may be (at most 200000). Parts that do not fit within it are returned in `unplaced` — a roll never becomes a second sheet. Omit it and the length is unbounded up to 200000."
2819
2829
  }
2820
2830
  }
2821
2831
  },
@@ -3099,6 +3109,9 @@ export const TOOLS = [
3099
3109
  },
3100
3110
  "pierces": {
3101
3111
  "type": "integer"
3112
+ },
3113
+ "length": {
3114
+ "type": "number"
3102
3115
  }
3103
3116
  }
3104
3117
  },
@@ -3156,6 +3169,32 @@ export const TOOLS = [
3156
3169
  },
3157
3170
  "qty": {
3158
3171
  "type": "integer"
3172
+ },
3173
+ "reason": {
3174
+ "type": "string",
3175
+ "enum": [
3176
+ "too_large",
3177
+ "no_room"
3178
+ ]
3179
+ },
3180
+ "minSheet": {
3181
+ "type": "object",
3182
+ "required": [
3183
+ "w",
3184
+ "h",
3185
+ "rotation"
3186
+ ],
3187
+ "properties": {
3188
+ "w": {
3189
+ "type": "number"
3190
+ },
3191
+ "h": {
3192
+ "type": "number"
3193
+ },
3194
+ "rotation": {
3195
+ "type": "number"
3196
+ }
3197
+ }
3159
3198
  }
3160
3199
  }
3161
3200
  }
@@ -3226,6 +3265,32 @@ export const TOOLS = [
3226
3265
  },
3227
3266
  "qty": {
3228
3267
  "type": "integer"
3268
+ },
3269
+ "reason": {
3270
+ "type": "string",
3271
+ "enum": [
3272
+ "too_large",
3273
+ "no_room"
3274
+ ]
3275
+ },
3276
+ "minSheet": {
3277
+ "type": "object",
3278
+ "required": [
3279
+ "w",
3280
+ "h",
3281
+ "rotation"
3282
+ ],
3283
+ "properties": {
3284
+ "w": {
3285
+ "type": "number"
3286
+ },
3287
+ "h": {
3288
+ "type": "number"
3289
+ },
3290
+ "rotation": {
3291
+ "type": "number"
3292
+ }
3293
+ }
3229
3294
  }
3230
3295
  }
3231
3296
  }
@@ -4707,6 +4772,14 @@ export const TOOLS = [
4707
4772
  },
4708
4773
  "meta": {
4709
4774
  "type": "object"
4775
+ },
4776
+ "roll": {
4777
+ "type": "boolean"
4778
+ },
4779
+ "maxLength": {
4780
+ "type": "number",
4781
+ "exclusiveMinimum": 0,
4782
+ "maximum": 200000
4710
4783
  }
4711
4784
  }
4712
4785
  },
@@ -5784,6 +5857,9 @@ export const TOOLS = [
5784
5857
  },
5785
5858
  "pierces": {
5786
5859
  "type": "integer"
5860
+ },
5861
+ "length": {
5862
+ "type": "number"
5787
5863
  }
5788
5864
  }
5789
5865
  },
@@ -5841,6 +5917,32 @@ export const TOOLS = [
5841
5917
  },
5842
5918
  "qty": {
5843
5919
  "type": "integer"
5920
+ },
5921
+ "reason": {
5922
+ "type": "string",
5923
+ "enum": [
5924
+ "too_large",
5925
+ "no_room"
5926
+ ]
5927
+ },
5928
+ "minSheet": {
5929
+ "type": "object",
5930
+ "required": [
5931
+ "w",
5932
+ "h",
5933
+ "rotation"
5934
+ ],
5935
+ "properties": {
5936
+ "w": {
5937
+ "type": "number"
5938
+ },
5939
+ "h": {
5940
+ "type": "number"
5941
+ },
5942
+ "rotation": {
5943
+ "type": "number"
5944
+ }
5945
+ }
5844
5946
  }
5845
5947
  }
5846
5948
  }
@@ -5911,6 +6013,32 @@ export const TOOLS = [
5911
6013
  },
5912
6014
  "qty": {
5913
6015
  "type": "integer"
6016
+ },
6017
+ "reason": {
6018
+ "type": "string",
6019
+ "enum": [
6020
+ "too_large",
6021
+ "no_room"
6022
+ ]
6023
+ },
6024
+ "minSheet": {
6025
+ "type": "object",
6026
+ "required": [
6027
+ "w",
6028
+ "h",
6029
+ "rotation"
6030
+ ],
6031
+ "properties": {
6032
+ "w": {
6033
+ "type": "number"
6034
+ },
6035
+ "h": {
6036
+ "type": "number"
6037
+ },
6038
+ "rotation": {
6039
+ "type": "number"
6040
+ }
6041
+ }
5914
6042
  }
5915
6043
  }
5916
6044
  }
@@ -6051,6 +6179,48 @@ export const TOOLS = [
6051
6179
  "enum": [
6052
6180
  "tenant"
6053
6181
  ]
6182
+ },
6183
+ "trial": {
6184
+ "type": "object",
6185
+ "required": [
6186
+ "endsAt",
6187
+ "callsLimit",
6188
+ "callsUsed",
6189
+ "callsRemaining",
6190
+ "maxJobsLimit",
6191
+ "maxJobsUsed",
6192
+ "maxJobsRemaining"
6193
+ ],
6194
+ "properties": {
6195
+ "endsAt": {
6196
+ "type": "string",
6197
+ "format": "date-time"
6198
+ },
6199
+ "callsLimit": {
6200
+ "type": "integer",
6201
+ "minimum": 0
6202
+ },
6203
+ "callsUsed": {
6204
+ "type": "integer",
6205
+ "minimum": 0
6206
+ },
6207
+ "callsRemaining": {
6208
+ "type": "integer",
6209
+ "minimum": 0
6210
+ },
6211
+ "maxJobsLimit": {
6212
+ "type": "integer",
6213
+ "minimum": 0
6214
+ },
6215
+ "maxJobsUsed": {
6216
+ "type": "integer",
6217
+ "minimum": 0
6218
+ },
6219
+ "maxJobsRemaining": {
6220
+ "type": "integer",
6221
+ "minimum": 0
6222
+ }
6223
+ }
6054
6224
  }
6055
6225
  }
6056
6226
  },
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The @cutoptim/mcp package version (kept equal to package.json and server.json by check:mcp-sync). */
2
- export declare const VERSION = "0.1.1";
2
+ export declare const VERSION = "0.1.2";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The @cutoptim/mcp package version (kept equal to package.json and server.json by check:mcp-sync). */
2
- export const VERSION = '0.1.1';
2
+ export const VERSION = '0.1.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cutoptim/mcp",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "CutOptim MCP server (stdio): cutting optimization tools for AI assistants — 2D panels, 1D bars, timber and true-shape nesting via the CutOptim Engine API.",
5
5
  "license": "MIT",
6
6
  "author": "CutOptim <support@cutoptim.com>",
package/server.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "url": "https://github.com/cutoptim/engine-mcp",
13
13
  "source": "github"
14
14
  },
15
- "version": "0.1.1",
15
+ "version": "0.1.2",
16
16
  "remotes": [
17
17
  {
18
18
  "type": "streamable-http",
@@ -32,7 +32,7 @@
32
32
  "registryType": "npm",
33
33
  "registryBaseUrl": "https://registry.npmjs.org",
34
34
  "identifier": "@cutoptim/mcp",
35
- "version": "0.1.1",
35
+ "version": "0.1.2",
36
36
  "transport": {
37
37
  "type": "stdio"
38
38
  },