@fugood/bricks-project 2.22.0-beta.7 → 2.22.0-beta.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.22.0-beta.7",
3
+ "version": "2.22.0-beta.8",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "build": "node scripts/build.js"
@@ -14,5 +14,5 @@
14
14
  "lodash": "^4.17.4",
15
15
  "uuid": "^8.3.1"
16
16
  },
17
- "gitHead": "b205bf371305e9d4929f05c0c310ff2362a43739"
17
+ "gitHead": "1745f85ae031ef75bbb0e235f22eff7a0b081cc5"
18
18
  }
@@ -4497,6 +4497,8 @@ Default property:
4497
4497
  isListening?: () => Data
4498
4498
  /* Last error of HTTP server */
4499
4499
  lastError?: () => Data
4500
+ /* MCP server endpoint URL */
4501
+ endpoint?: () => Data
4500
4502
  /* Connected remotes (Session ID) */
4501
4503
  connectedRemotes?: () => Data
4502
4504
  /* Last resource request ({ name: string, uri: string, params: object }) */
@@ -4525,6 +4527,7 @@ export type GeneratorMCPServer = Generator &
4525
4527
  outlet:
4526
4528
  | 'isListening'
4527
4529
  | 'lastError'
4530
+ | 'endpoint'
4528
4531
  | 'connectedRemotes'
4529
4532
  | 'lastResourceRequest'
4530
4533
  | 'lastToolCall'
@@ -6174,6 +6177,7 @@ Default property:
6174
6177
  "useMmap": true,
6175
6178
  "cacheKType": "f16",
6176
6179
  "cacheVType": "f16",
6180
+ "ctxShift": true,
6177
6181
  "transformScriptEnabled": false,
6178
6182
  "transformScriptCode": "\/\* Global variable: inputs = { prompt, messages, variables } \*\/\nreturn inputs.prompt",
6179
6183
  "transformScriptVariables": {},
@@ -6259,6 +6263,8 @@ Default property:
6259
6263
  cacheKType?: 'f16' | 'f32' | 'q8_0' | 'q4_0' | 'q4_1' | 'iq4_nl' | 'q5_0' | 'q5_1' | DataLink
6260
6264
  /* KV cache data type for the V (Default: f16) */
6261
6265
  cacheVType?: 'f16' | 'f32' | 'q8_0' | 'q4_0' | 'q4_1' | 'iq4_nl' | 'q5_0' | 'q5_1' | DataLink
6266
+ /* Enable context shift */
6267
+ ctxShift?: boolean | DataLink
6262
6268
  /* Enable Transform Script for processing the prompt */
6263
6269
  transformScriptEnabled?: boolean | DataLink
6264
6270
  /* Code of Transform Script */
@@ -6277,7 +6283,9 @@ Default property:
6277
6283
  sessionRemain?: number | DataLink
6278
6284
  /* TODO:loran_gqarms_norm_epsrope_freq_baserope_freq_scale */
6279
6285
  completionMode?: 'auto' | 'chat' | 'text' | DataLink
6280
- /* Tools for chat mode */
6286
+ /* Tools for chat mode using OpenAI-compatible function calling format
6287
+ Format: Array of objects with {type, function: {name, description, parameters}} structure
6288
+ See: https://platform.openai.com/docs/guides/function-calling */
6281
6289
  completionTools?: {} | DataLink
6282
6290
  /* Enable parallel tool calls */
6283
6291
  completionParallelToolCalls?: boolean | DataLink
@@ -6534,7 +6542,9 @@ Default property:
6534
6542
  stopWords?: Array<string | DataLink> | DataLink
6535
6543
  /* Tool call parser */
6536
6544
  toolCallParser?: 'llama3_json' | 'mistral' | DataLink
6537
- /* Tools for chat mode */
6545
+ /* Tools for chat mode using OpenAI-compatible function calling format
6546
+ Format: Array of objects with {type, function: {name, description, parameters}} structure
6547
+ See: https://platform.openai.com/docs/guides/function-calling */
6538
6548
  tools?: {} | DataLink
6539
6549
  /* Tool choice for chat mode */
6540
6550
  toolChoice?: 'none' | 'auto' | 'required' | DataLink
@@ -6714,7 +6724,9 @@ Default property:
6714
6724
  }
6715
6725
  >
6716
6726
  | DataLink
6717
- /* Tools for chat mode */
6727
+ /* Tools for chat mode following OpenAI function calling format
6728
+ Format: Array of objects with {type, function: {name, description, parameters}} structure
6729
+ See: https://platform.openai.com/docs/guides/function-calling */
6718
6730
  completionTools?: {} | DataLink
6719
6731
  /* Enable parallel tool calls */
6720
6732
  completionParallelToolCalls?: boolean | DataLink
@@ -770,6 +770,8 @@ export const templateEventPropsMap = {
770
770
  'GENERATOR_LLM_COMPLETION_RESULT', // type: string
771
771
  'GENERATOR_LLM_COMPLETION_TOOL_CALLS', // type: array
772
772
  'GENERATOR_LLM_COMPLETION_FULL_CONTEXT', // type: string
773
+ 'GENERATOR_LLM_COMPLETION_IS_CONTEXT_FULL', // type: bool
774
+ 'GENERATOR_LLM_COMPLETION_IS_TRUNCATED', // type: bool
773
775
  'GENERATOR_LLM_COMPLETION_RESULT_DETAILS', // type: object
774
776
  ],
775
777
  onCompletionFunctionCall: [