@engyalo/workflow-types 1.18.0 → 1.19.0-main-31a51a3
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/lib/models/components.js.map +1 -1
- package/lib/models/model-thinking.js +20 -10
- package/lib/models/model-thinking.js.map +1 -1
- package/package.json +105 -105
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/models/components.ts"],"names":[],"mappings":";;;AAMA,oDAAoD;AACpD,IAAY,cAwBX;AAxBD,WAAY,cAAc;IACzB,uCAAqB,CAAA;IACrB,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,2DAAyC,CAAA;IACzC,yCAAuB,CAAA;IACvB,+BAAa,CAAA;IACb,+CAA6B,CAAA;IAC7B,mDAAiC,CAAA;IACjC,+CAA6B,CAAA;IAC7B,yCAAuB,CAAA;IACvB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,+BAAa,CAAA;IACb,qCAAmB,CAAA;IACnB,6CAA2B,CAAA;IAC3B,iDAA+B,CAAA;IAC/B,uDAAqC,CAAA;IACrC,yCAAuB,CAAA;IACvB,uDAAqC,CAAA;IACrC,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;AACtB,CAAC,EAxBW,cAAc,8BAAd,cAAc,QAwBzB;AAEY,QAAA,iBAAiB,GAAG;IAChC,OAAO;IACP,MAAM;IACN,OAAO;IACP,UAAU;IACV,SAAS;IACT,QAAQ;IACR,WAAW;IACX,cAAc;IACd,WAAW;IACX,MAAM;IACN,gBAAgB;IAChB,OAAO;IACP,oBAAoB;IACpB,UAAU;IACV,cAAc;IACd,aAAa;IACb,eAAe;IACf,kBAAkB;IAClB,WAAW;IACX,kBAAkB;IAClB,SAAS;IACT,UAAU;CACV,CAAC;
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/models/components.ts"],"names":[],"m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+19,9 @@ exports.DEFAULT_MODEL_PROVIDER = exports.ModelProvider.openai;
|
|
|
19
19
|
// Not to be confused with OpenAI's `'none'` level value.
|
|
20
20
|
exports.THINKING_NOT_SUPPORTED = 'none';
|
|
21
21
|
// custom-agent calls models through agentgateway with tools bound (chat completions, except the
|
|
22
|
-
// gpt-5.6
|
|
23
|
-
// not each vendor's full native API: only `level` (sent as reasoning_effort) and `disabled`
|
|
24
|
-
// model; token budgets are dropped there.
|
|
22
|
+
// gpt-5.6 and gpt-6 families, which use the gateway's Responses API), so these describe what that path
|
|
23
|
+
// accepts, not each vendor's full native API: only `level` (sent as reasoning_effort) and `disabled`
|
|
24
|
+
// reach the model; token budgets are dropped there.
|
|
25
25
|
const GATEWAY_REASONING_LEVELS = ['low', 'medium', 'high'];
|
|
26
26
|
// Gemini 2.5 thinks by default and the gateway's reasoning_effort "none" does not stop it.
|
|
27
27
|
const GOOGLE_GEMINI_2_5_LEVEL_CAPABILITY = {
|
|
@@ -33,14 +33,20 @@ const ANTHROPIC_LEVEL_CAPABILITY = {
|
|
|
33
33
|
disabled: true,
|
|
34
34
|
default: { type: exports.ThinkingEffortType.level, value: 'medium' },
|
|
35
35
|
};
|
|
36
|
-
//
|
|
37
|
-
// on chat completions they reject tools unless the effort is "none".
|
|
38
|
-
// though the AI Gateway catalog lists it.
|
|
39
|
-
const
|
|
36
|
+
// gpt-5.6 and gpt-6 sol/luna: through the Responses API these accept every level below with tools
|
|
37
|
+
// bound (and no effort at all); on chat completions they reject tools unless the effort is "none".
|
|
38
|
+
// "minimal" is rejected by all of them, though the AI Gateway catalog lists it for gpt-5.6.
|
|
39
|
+
const OPENAI_RESPONSES_LEVEL_CAPABILITY = {
|
|
40
40
|
levels: ['none', 'low', 'medium', 'high', 'xhigh', 'max'],
|
|
41
41
|
disabled: true,
|
|
42
42
|
default: { type: exports.ThinkingEffortType.level, value: 'medium' },
|
|
43
43
|
};
|
|
44
|
+
// gpt-6-astra and gpt-6.1-sol always reason: they reject "none" (so `disabled` too) and "minimal",
|
|
45
|
+
// and never accept temperature.
|
|
46
|
+
const OPENAI_ALWAYS_REASONING_CAPABILITY = {
|
|
47
|
+
levels: ['low', 'medium', 'high', 'xhigh', 'max'],
|
|
48
|
+
default: { type: exports.ThinkingEffortType.level, value: 'medium' },
|
|
49
|
+
};
|
|
44
50
|
// Source of truth that manager, interpreter, custom-agent, builder-cli and the frontend sync from.
|
|
45
51
|
// Grow it only after confirming a model works end-to-end. Aliases ("default", "classification")
|
|
46
52
|
// and "gateway:" models are valid model names but intentionally out of scope here.
|
|
@@ -51,9 +57,13 @@ exports.SUPPORTED_MODELS_BY_PROVIDER = {
|
|
|
51
57
|
'gpt-5.4': exports.THINKING_NOT_SUPPORTED,
|
|
52
58
|
'gpt-5.4-mini': exports.THINKING_NOT_SUPPORTED,
|
|
53
59
|
'gpt-5.4-nano': exports.THINKING_NOT_SUPPORTED,
|
|
54
|
-
'gpt-5.6-sol':
|
|
55
|
-
'gpt-5.6-terra':
|
|
56
|
-
'gpt-5.6-luna':
|
|
60
|
+
'gpt-5.6-sol': OPENAI_RESPONSES_LEVEL_CAPABILITY,
|
|
61
|
+
'gpt-5.6-terra': OPENAI_RESPONSES_LEVEL_CAPABILITY,
|
|
62
|
+
'gpt-5.6-luna': OPENAI_RESPONSES_LEVEL_CAPABILITY,
|
|
63
|
+
'gpt-6-sol': OPENAI_RESPONSES_LEVEL_CAPABILITY,
|
|
64
|
+
'gpt-6-luna': OPENAI_RESPONSES_LEVEL_CAPABILITY,
|
|
65
|
+
'gpt-6-astra': OPENAI_ALWAYS_REASONING_CAPABILITY,
|
|
66
|
+
'gpt-6.1-sol': OPENAI_ALWAYS_REASONING_CAPABILITY,
|
|
57
67
|
},
|
|
58
68
|
[exports.ModelProvider.google]: {
|
|
59
69
|
'gemini-2.5-flash': GOOGLE_GEMINI_2_5_LEVEL_CAPABILITY,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-thinking.js","sourceRoot":"","sources":["../../src/models/model-thinking.ts"],"names":[],"mappings":";;;AAAA,0EAA0E;AAC1E,yEAAyE;AAC5D,QAAA,kBAAkB,GAAG;IACjC,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACX,CAAC;AAGE,QAAA,aAAa,GAAG;IAC5B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;CACb,CAAC;AAGX,4FAA4F;AAC/E,QAAA,sBAAsB,GAAkB,qBAAa,CAAC,MAAM,CAAC;AAQ1E,oFAAoF;AACpF,yDAAyD;AAC5C,QAAA,sBAAsB,GAAG,MAAe,CAAC;AAYtD,gGAAgG;AAChG,qGAAqG;AACrG,
|
|
1
|
+
{"version":3,"file":"model-thinking.js","sourceRoot":"","sources":["../../src/models/model-thinking.ts"],"names":[],"mappings":";;;AAAA,0EAA0E;AAC1E,yEAAyE;AAC5D,QAAA,kBAAkB,GAAG;IACjC,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACX,CAAC;AAGE,QAAA,aAAa,GAAG;IAC5B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;CACb,CAAC;AAGX,4FAA4F;AAC/E,QAAA,sBAAsB,GAAkB,qBAAa,CAAC,MAAM,CAAC;AAQ1E,oFAAoF;AACpF,yDAAyD;AAC5C,QAAA,sBAAsB,GAAG,MAAe,CAAC;AAYtD,gGAAgG;AAChG,uGAAuG;AACvG,qGAAqG;AACrG,oDAAoD;AAEpD,MAAM,wBAAwB,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AAEpE,2FAA2F;AAC3F,MAAM,kCAAkC,GAAwB;IAC/D,MAAM,EAAE,wBAAwB;IAChC,OAAO,EAAE,EAAE,IAAI,EAAE,0BAAkB,CAAC,KAAK,EAAE,KAAK,EAAE,QA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|
|
105
|
-
|
|
106
|
-
}
|
|
2
|
+
"name": "@engyalo/workflow-types",
|
|
3
|
+
"version": "1.19.0-main-31a51a3",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "./lib/index.js",
|
|
6
|
+
"types": "./lib/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"lint": "eslint . --ext ts --fix",
|
|
9
|
+
"tsc": "tsc --build",
|
|
10
|
+
"clearjs": "npx rimraf ./lib",
|
|
11
|
+
"pretest": "typescript-json-schema src/models/workflows.ts \"*\" --strictNullChecks --noExtraProps --required --id workflowsSchema -o tests/schemas/workflows.schema.json",
|
|
12
|
+
"test": "jest",
|
|
13
|
+
"prebuild": "npm run clearjs",
|
|
14
|
+
"build": "npm run tsc"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git@github.com:yalochat/workflows-types.git"
|
|
19
|
+
},
|
|
20
|
+
"directories": {
|
|
21
|
+
"lib": "lib"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"lib"
|
|
25
|
+
],
|
|
26
|
+
"keywords": [
|
|
27
|
+
"workflow",
|
|
28
|
+
"types"
|
|
29
|
+
],
|
|
30
|
+
"author": "Engineering @ Yalo",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"eslintConfig": {
|
|
33
|
+
"extends": [
|
|
34
|
+
"plugin:@typescript-eslint/recommended",
|
|
35
|
+
"plugin:prettier/recommended"
|
|
36
|
+
],
|
|
37
|
+
"parser": "@typescript-eslint/parser",
|
|
38
|
+
"rules": {
|
|
39
|
+
"quotes": [
|
|
40
|
+
2,
|
|
41
|
+
"single",
|
|
42
|
+
"avoid-escape"
|
|
43
|
+
],
|
|
44
|
+
"no-debugger": "error",
|
|
45
|
+
"no-process-env": "off",
|
|
46
|
+
"import/prefer-default-export": "off",
|
|
47
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
48
|
+
"@typescript-eslint/no-unused-vars": [
|
|
49
|
+
"error",
|
|
50
|
+
{
|
|
51
|
+
"vars": "all",
|
|
52
|
+
"args": "after-used",
|
|
53
|
+
"ignoreRestSiblings": true
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"new-cap": [
|
|
57
|
+
"error",
|
|
58
|
+
{
|
|
59
|
+
"capIsNewExceptions": [
|
|
60
|
+
"Injectable",
|
|
61
|
+
"Inject"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"prefer-destructuring": [
|
|
66
|
+
"error",
|
|
67
|
+
{
|
|
68
|
+
"VariableDeclarator": {
|
|
69
|
+
"array": false,
|
|
70
|
+
"object": true
|
|
71
|
+
},
|
|
72
|
+
"AssignmentExpression": {
|
|
73
|
+
"array": true,
|
|
74
|
+
"object": false
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"enforceForRenamedProperties": false
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@types/jest": "29.5.14",
|
|
85
|
+
"@types/jest-json-schema": "6.1.5",
|
|
86
|
+
"@types/node": "16.18.126",
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "6.10.0",
|
|
88
|
+
"@typescript-eslint/parser": "6.10.0",
|
|
89
|
+
"eslint": "8.57.1",
|
|
90
|
+
"eslint-config-prettier": "10.1.8",
|
|
91
|
+
"eslint-plugin-import": "2.32.0",
|
|
92
|
+
"eslint-plugin-prettier": "5.5.5",
|
|
93
|
+
"jest": "29.7.0",
|
|
94
|
+
"jest-json-schema": "6.1.0",
|
|
95
|
+
"prettier": "3.8.3",
|
|
96
|
+
"ts-jest": "29.4.11",
|
|
97
|
+
"typescript": "5.2.2",
|
|
98
|
+
"typescript-json-schema": "0.62.0"
|
|
99
|
+
},
|
|
100
|
+
"dependencies": {
|
|
101
|
+
"zod": "3.22.4"
|
|
102
|
+
},
|
|
103
|
+
"overrides": {
|
|
104
|
+
"cross-spawn": "7.0.6"
|
|
105
|
+
}
|
|
106
|
+
}
|