@takeshape/cli 11.85.2 → 11.87.0
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/index.js +55 -6
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -80988,6 +80988,16 @@ var require_isEmpty = __commonJS({
|
|
|
80988
80988
|
}
|
|
80989
80989
|
});
|
|
80990
80990
|
|
|
80991
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isNil.js
|
|
80992
|
+
var require_isNil = __commonJS({
|
|
80993
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isNil.js"(exports2, module2) {
|
|
80994
|
+
function isNil2(value2) {
|
|
80995
|
+
return value2 == null;
|
|
80996
|
+
}
|
|
80997
|
+
module2.exports = isNil2;
|
|
80998
|
+
}
|
|
80999
|
+
});
|
|
81000
|
+
|
|
80991
81001
|
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isString.js
|
|
80992
81002
|
var require_isString = __commonJS({
|
|
80993
81003
|
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isString.js"(exports2, module2) {
|
|
@@ -122294,7 +122304,7 @@ var require_lodash3 = __commonJS({
|
|
|
122294
122304
|
function isNull3(value2) {
|
|
122295
122305
|
return value2 === null;
|
|
122296
122306
|
}
|
|
122297
|
-
function
|
|
122307
|
+
function isNil2(value2) {
|
|
122298
122308
|
return value2 == null;
|
|
122299
122309
|
}
|
|
122300
122310
|
function isNumber(value2) {
|
|
@@ -123361,7 +123371,7 @@ var require_lodash3 = __commonJS({
|
|
|
123361
123371
|
lodash.isMatchWith = isMatchWith;
|
|
123362
123372
|
lodash.isNaN = isNaN2;
|
|
123363
123373
|
lodash.isNative = isNative;
|
|
123364
|
-
lodash.isNil =
|
|
123374
|
+
lodash.isNil = isNil2;
|
|
123365
123375
|
lodash.isNull = isNull3;
|
|
123366
123376
|
lodash.isNumber = isNumber;
|
|
123367
123377
|
lodash.isObject = isObject8;
|
|
@@ -205121,7 +205131,7 @@ var engines = {
|
|
|
205121
205131
|
};
|
|
205122
205132
|
var package_default = {
|
|
205123
205133
|
name: "@takeshape/cli",
|
|
205124
|
-
version: "11.
|
|
205134
|
+
version: "11.87.0",
|
|
205125
205135
|
description: "TakeShape CLI",
|
|
205126
205136
|
homepage: "https://www.takeshape.io",
|
|
205127
205137
|
repository: {
|
|
@@ -208839,6 +208849,7 @@ function shouldCompress(src) {
|
|
|
208839
208849
|
// ../util/dist/common/strings.js
|
|
208840
208850
|
var import_camelCase = __toESM(require_camelCase(), 1);
|
|
208841
208851
|
var import_isEmpty = __toESM(require_isEmpty(), 1);
|
|
208852
|
+
var import_isNil = __toESM(require_isNil(), 1);
|
|
208842
208853
|
var import_isString = __toESM(require_isString(), 1);
|
|
208843
208854
|
var import_upperFirst = __toESM(require_upperFirst(), 1);
|
|
208844
208855
|
var camelCase = import_camelCase.default;
|
|
@@ -220009,6 +220020,41 @@ var experimental_default = {
|
|
|
220009
220020
|
required: ["start", "states", "api"],
|
|
220010
220021
|
additionalProperties: false
|
|
220011
220022
|
},
|
|
220023
|
+
tool: {
|
|
220024
|
+
title: "Tool JSON",
|
|
220025
|
+
type: "object",
|
|
220026
|
+
properties: {
|
|
220027
|
+
ref: {
|
|
220028
|
+
type: "string"
|
|
220029
|
+
},
|
|
220030
|
+
description: {
|
|
220031
|
+
type: "string"
|
|
220032
|
+
},
|
|
220033
|
+
args: {
|
|
220034
|
+
type: "array",
|
|
220035
|
+
items: {
|
|
220036
|
+
$ref: "#/definitions/toolArg"
|
|
220037
|
+
}
|
|
220038
|
+
},
|
|
220039
|
+
selectionSet: {
|
|
220040
|
+
type: "string"
|
|
220041
|
+
}
|
|
220042
|
+
},
|
|
220043
|
+
required: ["ref"],
|
|
220044
|
+
additionalProperties: false
|
|
220045
|
+
},
|
|
220046
|
+
toolArg: {
|
|
220047
|
+
title: "Tool Arg",
|
|
220048
|
+
type: "object",
|
|
220049
|
+
discriminator: {
|
|
220050
|
+
propertyName: "type"
|
|
220051
|
+
},
|
|
220052
|
+
oneOf: [
|
|
220053
|
+
{
|
|
220054
|
+
$ref: "#/definitions/agentToolConfigArgAgent"
|
|
220055
|
+
}
|
|
220056
|
+
]
|
|
220057
|
+
},
|
|
220012
220058
|
agentApi: {
|
|
220013
220059
|
title: "Agent API",
|
|
220014
220060
|
discriminator: {
|
|
@@ -220501,13 +220547,14 @@ var experimental_default = {
|
|
|
220501
220547
|
]
|
|
220502
220548
|
},
|
|
220503
220549
|
agentToolConfigArgAgent: {
|
|
220504
|
-
title: "Agent
|
|
220550
|
+
title: "Agent-Controlled",
|
|
220505
220551
|
type: "object",
|
|
220506
220552
|
properties: {
|
|
220507
220553
|
type: {
|
|
220508
220554
|
enum: ["agent"]
|
|
220509
220555
|
},
|
|
220510
220556
|
argName: {
|
|
220557
|
+
title: "Tool Argument Name",
|
|
220511
220558
|
type: "string",
|
|
220512
220559
|
description: "The argument name that will be exposed by the tool for the LLM to use."
|
|
220513
220560
|
}
|
|
@@ -220516,17 +220563,19 @@ var experimental_default = {
|
|
|
220516
220563
|
additionalProperties: false
|
|
220517
220564
|
},
|
|
220518
220565
|
agentToolConfigArgVariable: {
|
|
220519
|
-
title: "
|
|
220566
|
+
title: "Variable Value",
|
|
220520
220567
|
type: "object",
|
|
220521
220568
|
properties: {
|
|
220522
220569
|
type: {
|
|
220523
220570
|
enum: ["variable"]
|
|
220524
220571
|
},
|
|
220525
220572
|
argName: {
|
|
220573
|
+
title: "Tool Argument Name",
|
|
220526
220574
|
type: "string",
|
|
220527
220575
|
description: "Name of argument to pass value to. This prevents the LLM from setting the argument."
|
|
220528
220576
|
},
|
|
220529
220577
|
variableName: {
|
|
220578
|
+
title: "State Variable Name",
|
|
220530
220579
|
type: "string",
|
|
220531
220580
|
description: "Name of variable to pull value from."
|
|
220532
220581
|
}
|
|
@@ -220697,7 +220746,7 @@ var experimental_default = {
|
|
|
220697
220746
|
type: "object",
|
|
220698
220747
|
patternProperties: {
|
|
220699
220748
|
"^[0-9A-Za-z_]+$": {
|
|
220700
|
-
$ref: "#/definitions/
|
|
220749
|
+
$ref: "#/definitions/tool"
|
|
220701
220750
|
}
|
|
220702
220751
|
},
|
|
220703
220752
|
additionalProperties: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/cli",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.87.0",
|
|
4
4
|
"description": "TakeShape CLI",
|
|
5
5
|
"homepage": "https://www.takeshape.io",
|
|
6
6
|
"repository": {
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"stream-to-promise": "^2.2.0",
|
|
71
71
|
"tmp": "^0.0.33",
|
|
72
72
|
"unzipper": "^0.10.11",
|
|
73
|
-
"@takeshape/
|
|
74
|
-
"@takeshape/
|
|
75
|
-
"@takeshape/
|
|
76
|
-
"@takeshape/
|
|
77
|
-
"@takeshape/
|
|
73
|
+
"@takeshape/branches": "11.87.0",
|
|
74
|
+
"@takeshape/schema": "11.87.0",
|
|
75
|
+
"@takeshape/ssg": "11.87.0",
|
|
76
|
+
"@takeshape/util": "11.87.0",
|
|
77
|
+
"@takeshape/streams": "11.87.0"
|
|
78
78
|
},
|
|
79
79
|
"engines": {
|
|
80
80
|
"node": ">=20"
|