@vincemakes/kiso-runtime 0.32.0 → 0.32.1

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.
Files changed (2) hide show
  1. package/dist/store.js +8 -1
  2. package/package.json +6 -6
package/dist/store.js CHANGED
@@ -108,7 +108,14 @@ export function sessionTitle(records) {
108
108
  if (asked.length === 0)
109
109
  return "(no prompt)";
110
110
  const substantive = asked.find((t) => !isOpener(t));
111
- return (substantive ?? asked[0]).slice(0, 60);
111
+ // HF-2 (0.32.1): a title is a LABEL and goes on one row — the resume
112
+ // picker's card row, `kiso sessions`, the session card. A pasted
113
+ // heredoc as the first turn kept its newlines here and reached the
114
+ // compositor's one-physical-row check through the picker (the HF-1
115
+ // family). Projected at the source, where the value is produced, so
116
+ // the three consumers cannot differ: a break or a tab is one space,
117
+ // runs collapse, and the cut applies to the projected line.
118
+ return (substantive ?? asked[0]).replace(/[\r\n\t ]+/g, " ").trim().slice(0, 60);
112
119
  }
113
120
  export class SessionStore {
114
121
  root;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-runtime",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
4
4
  "description": "kiso runtime — durable multi-turn agent sessions: AgentDefinition, AgentRuntime, AgentSession, Run, append-only JSONL store.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -25,12 +25,12 @@
25
25
  "test": "vitest run"
26
26
  },
27
27
  "dependencies": {
28
- "@vincemakes/kiso-core": "0.32.0"
28
+ "@vincemakes/kiso-core": "0.32.1"
29
29
  },
30
30
  "peerDependencies": {
31
- "@vincemakes/kiso-provider-anthropic": "0.32.0",
32
- "@vincemakes/kiso-provider-openai": "0.32.0",
33
- "@vincemakes/kiso-provider-openai-responses": "0.32.0"
31
+ "@vincemakes/kiso-provider-anthropic": "0.32.1",
32
+ "@vincemakes/kiso-provider-openai": "0.32.1",
33
+ "@vincemakes/kiso-provider-openai-responses": "0.32.1"
34
34
  },
35
35
  "peerDependenciesMeta": {
36
36
  "@vincemakes/kiso-provider-anthropic": {
@@ -44,7 +44,7 @@
44
44
  }
45
45
  },
46
46
  "devDependencies": {
47
- "@vincemakes/kiso-evals": "0.32.0",
47
+ "@vincemakes/kiso-evals": "0.32.1",
48
48
  "@types/node": "^26.1.2",
49
49
  "typescript": "^5.7.2",
50
50
  "vitest": "^3.0.0"