@gencode/agents 0.14.0 → 0.15.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.
@@ -1115,6 +1115,17 @@ type AgentRunParamsBase = {
1115
1115
  */
1116
1116
  env?: Record<string, string>; /** Optional IM-style topic segmentation prefilter. Enabled by default unless enabled=false. */
1117
1117
  topicSegmentation?: TopicSegmentationConfig;
1118
+ /**
1119
+ * Session title generation. Enabled by default.
1120
+ * - `enabled: true` (default): generate an LLM title via the flash model for new sessions;
1121
+ * falls back to a truncated first-message title when `flashModel` is unset.
1122
+ * - `enabled: false`: skip LLM title generation entirely; the title becomes a truncated
1123
+ * first message (no token cost, no network call). Useful for batch/one-shot/embedded runs.
1124
+ * Does not affect topic segmentation.
1125
+ */
1126
+ titleGeneration?: {
1127
+ enabled: boolean;
1128
+ };
1118
1129
  /**
1119
1130
  * Goal to create when this run establishes a new session (CLI `run --goal` without --session-id).
1120
1131
  * Applied in runner after sessionId is assigned; not passed to the model as a tool.
@@ -1,4 +1,4 @@
1
- import { C as TranscriptEntry, Hn as PluginHookRegistry, i as preloadExtensions, ln as RunEventDispatcher, mn as PluginHookAgentContext, n as discoverPiExtensions, o as PluginToolRegistry, r as getExtensions, t as DiscoveredPiExtension } from "../loader-DSY3mHib.js";
1
+ import { C as TranscriptEntry, Hn as PluginHookRegistry, i as preloadExtensions, ln as RunEventDispatcher, mn as PluginHookAgentContext, n as discoverPiExtensions, o as PluginToolRegistry, r as getExtensions, t as DiscoveredPiExtension } from "../loader-CVsd42rJ.js";
2
2
  import { Agent, AgentTool } from "@earendil-works/pi-agent-core";
3
3
 
4
4
  //#region src/pi-extensions/tool-adapter.d.ts
@@ -1,4 +1,4 @@
1
- import { $t as PluginManifestRegistry, Bn as PluginHookName, Hn as PluginHookRegistry, Pn as PluginHookHandlerMap, Yt as PluginsConfig, c as PluginUiToolOptions, cn as PluginOrigin, ir as MemoryProviderFactory, it as LlmApiFormat, mn as PluginHookAgentContext, o as PluginToolRegistry, qt as NormalizedPluginsConfig, rn as PluginDiagnostic, s as PluginUiToolDescriptor, t as DiscoveredPiExtension } from "./loader-DSY3mHib.js";
1
+ import { $t as PluginManifestRegistry, Bn as PluginHookName, Hn as PluginHookRegistry, Pn as PluginHookHandlerMap, Yt as PluginsConfig, c as PluginUiToolOptions, cn as PluginOrigin, ir as MemoryProviderFactory, it as LlmApiFormat, mn as PluginHookAgentContext, o as PluginToolRegistry, qt as NormalizedPluginsConfig, rn as PluginDiagnostic, s as PluginUiToolDescriptor, t as DiscoveredPiExtension } from "./loader-CVsd42rJ.js";
2
2
  import { AgentProgressEvent } from "@gencode/shared";
3
3
 
4
4
  //#region src/plugins/runtime.d.ts
@@ -1,2 +1,2 @@
1
- import { n as SystemWarmState, r as prepareSystemRuntime, t as PrepareSystemRuntimeOptions } from "./system-runtime-DBPs25Bs.js";
1
+ import { n as SystemWarmState, r as prepareSystemRuntime, t as PrepareSystemRuntimeOptions } from "./system-runtime-De6fo44S.js";
2
2
  export { PrepareSystemRuntimeOptions, SystemWarmState, prepareSystemRuntime };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gencode/agents",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",