@engyalo/workflow-types 1.17.0 → 1.17.1-main-b6ecd03

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.
@@ -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;AAy/BF,IAAY,UAQX;AARD,WAAY,UAAU;IACrB,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,iDAAW,CAAA;IACX,qDAAa,CAAA;IACb,mDAAY,CAAA;IACZ,+CAAU,CAAA;IACV,mDAAY,CAAA;AACb,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,qCAAqB,CAAA;IACrB,6CAA6B,CAAA;IAC7B,2CAA2B,CAAA;AAC5B,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
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;AAk/BF,IAAY,UAQX;AARD,WAAY,UAAU;IACrB,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,iDAAW,CAAA;IACX,qDAAa,CAAA;IACb,mDAAY,CAAA;IACZ,+CAAU,CAAA;IACV,mDAAY,CAAA;AACb,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,qCAAqB,CAAA;IACrB,6CAA6B,CAAA;IAC7B,2CAA2B,CAAA;AAC5B,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
@@ -18,9 +18,10 @@ exports.DEFAULT_MODEL_PROVIDER = exports.ModelProvider.openai;
18
18
  // Capability marker for models without thinking support: never send thinkingEffort.
19
19
  // Not to be confused with OpenAI's `'none'` level value.
20
20
  exports.THINKING_NOT_SUPPORTED = 'none';
21
- // custom-agent calls every provider through agentgateway's OpenAI-compatible chat completions with
22
- // tools bound, so these describe what that path accepts, not each vendor's full native API: only
23
- // `level` (sent as reasoning_effort) and `disabled` reach the model; token budgets are dropped there.
21
+ // custom-agent calls models through agentgateway with tools bound (chat completions, except the
22
+ // gpt-5.6 family, which uses the gateway's Responses API), so these describe what that path accepts,
23
+ // not each vendor's full native API: only `level` (sent as reasoning_effort) and `disabled` reach the
24
+ // model; token budgets are dropped there.
24
25
  const GATEWAY_REASONING_LEVELS = ['low', 'medium', 'high'];
25
26
  // Gemini 2.5 thinks by default and the gateway's reasoning_effort "none" does not stop it.
26
27
  const GOOGLE_GEMINI_2_5_LEVEL_CAPABILITY = {
@@ -32,15 +33,27 @@ const ANTHROPIC_LEVEL_CAPABILITY = {
32
33
  disabled: true,
33
34
  default: { type: exports.ThinkingEffortType.level, value: 'medium' },
34
35
  };
36
+ // Through the Responses API these accept every level below with tools bound (and no effort at all);
37
+ // on chat completions they reject tools unless the effort is "none". "minimal" is rejected even
38
+ // though the AI Gateway catalog lists it.
39
+ const OPENAI_GPT_5_6_RESPONSES_CAPABILITY = {
40
+ levels: ['none', 'low', 'medium', 'high', 'xhigh', 'max'],
41
+ disabled: true,
42
+ default: { type: exports.ThinkingEffortType.level, value: 'medium' },
43
+ };
35
44
  // Source of truth that manager, interpreter, custom-agent, builder-cli and the frontend sync from.
36
45
  // Grow it only after confirming a model works end-to-end. Aliases ("default", "classification")
37
46
  // and "gateway:" models are valid model names but intentionally out of scope here.
38
47
  // The gpt-5.4 family rejects function tools with any reasoning_effort but "none" on chat completions.
48
+ // Key order matters: consumers such as Studio take the first openai model as the default.
39
49
  exports.SUPPORTED_MODELS_BY_PROVIDER = {
40
50
  [exports.ModelProvider.openai]: {
41
51
  'gpt-5.4': exports.THINKING_NOT_SUPPORTED,
42
52
  'gpt-5.4-mini': exports.THINKING_NOT_SUPPORTED,
43
53
  'gpt-5.4-nano': exports.THINKING_NOT_SUPPORTED,
54
+ 'gpt-5.6-sol': OPENAI_GPT_5_6_RESPONSES_CAPABILITY,
55
+ 'gpt-5.6-terra': OPENAI_GPT_5_6_RESPONSES_CAPABILITY,
56
+ 'gpt-5.6-luna': OPENAI_GPT_5_6_RESPONSES_CAPABILITY,
44
57
  },
45
58
  [exports.ModelProvider.google]: {
46
59
  '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,mGAAmG;AACnG,iGAAiG;AACjG,sGAAsG;AAEtG,MAAM,wBAAwB,GAAG,CAAC,KAAK,EAAE,QAAQ,EA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,CAAC,0BAAkB,CAAC,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,KAAK,IAAI;CAC3E,CAAC;AAEK,MAAM,yBAAyB,GAAG,CAAC,UAAmC,EAAE,MAAsB,EAAW,EAAE;IACjH,IAAI,UAAU,KAAK,8BAAsB;QAAE,OAAO,KAAK,CAAC;IACxD,8EAA8E;IAC9E,MAAM,QAAQ,GAAG,0BAA0B,CAAC,MAAM,CAAC,IAAI,CAAuF,CAAC;IAC/I,OAAO,QAAQ,KAAK,SAAS,IAAI,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAC/D,CAAC,CAAC;AALW,QAAA,yBAAyB,6BAKpC;AAEK,MAAM,4BAA4B,GAAG,CAAC,UAAmC,EAAkD,EAAE,CAAC,CAAC,UAAU,KAAK,8BAAsB,CAAC,CAAC,CAAC,8BAAsB,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAA9M,QAAA,4BAA4B,gCAAkL;AAE3N,qGAAqG;AAC9F,MAAM,wBAAwB,GAAG,CAAC,SAAiB,EAA8D,EAAE;IACzH,MAAM,UAAU,GAAG,IAAA,kCAA0B,EAAC,SAAS,CAAC,CAAC;IACzD,OAAO,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,oCAA4B,EAAC,UAAU,CAAC,CAAC;AACxF,CAAC,CAAC;AAHW,QAAA,wBAAwB,4BAGnC"}
package/package.json CHANGED
@@ -1,106 +1,106 @@
1
1
  {
2
- "name": "@engyalo/workflow-types",
3
- "version": "1.17.0",
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
- }
2
+ "name": "@engyalo/workflow-types",
3
+ "version": "1.17.1-main-b6ecd03",
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
+ }