@glows777/vela-lark 0.7.0 → 0.7.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/CHANGELOG.md +12 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ All notable changes to `@glows777/vela` are listed here. While Vela is on 0.x, a
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.7.1] - 2026-11-18
8
+
9
+ ### Fixed
10
+
11
+ - **A channel's system prompt no longer changes with the kind of wake.** The group and topic sections appended a clause per input — untagged discussion, a hand-off note, or nothing — so a session that switched between a person's message, untagged discussion and a hand-off note rewrote its system prompt, and every prefix-caching provider reread the whole conversation at full price. Each session kind now has one fixed section, chosen from the saved chat record, and an untagged input carries a short marker in the text the model receives instead ([#445](https://github.com/glows777/Vela/issues/445)).
12
+
13
+ ### Changed
14
+
15
+ - **The date and the timezone left the system prompt.** After the git branch left `<env>`, that section still rendered the local calendar date and the IANA timezone on every request. A session that continued past midnight received a new system prompt on the next request. The cached prefix was rewritten. `<env>` now names only the operating system and the shell. The date, the time of day and the timezone are not injected into the system prompt or into a message. The model reads the clock with `date` when it needs it. Pi's system prompt has no `<env>` section. Vela keeps `<env>` for those two session-stable facts. A faux scenario checks that one session's assembled system prompt is the same bytes across a local date rollover. The scenario does not prove a cache hit from a real provider ([#444](https://github.com/glows777/Vela/pull/444)).
16
+
17
+ - **The git branch left the system prompt.** `<env>` carried `git branch: <name>` read from the working tree on every request, so anything that checked out a branch in that tree during a session — another session sharing the checkout, or a git command the agent itself ran — rewrote the request's cached prefix. Every provider that caches by prefix then re-read the whole conversation at full price: on one Lark group that was 20 of 694 requests in a day and 55% of its cost, with 242k–355k tokens re-sent each time. The branch is no longer injected at all, like pi. `<env>` was left with the date, time zone, OS and shell, and the model reads the branch with `git branch --show-current` when it needs it, so a stale branch cannot mislead it either. Sharing one working tree between parallel tasks is still the underlying hazard; separate worktrees for parallel work are the intended fix and are not part of this change ([#442](https://github.com/glows777/Vela/issues/442)).
18
+
7
19
  ## [0.7.0] - 2026-11-16
8
20
 
9
21
  ### Breaking Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glows777/vela-lark",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Vela lark package",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -24,8 +24,8 @@
24
24
  "build": "tsc -p tsconfig.build.json"
25
25
  },
26
26
  "dependencies": {
27
- "@glows777/vela-channels": "0.7.0",
28
- "@glows777/vela-core": "0.7.0",
27
+ "@glows777/vela-channels": "0.7.1",
28
+ "@glows777/vela-core": "0.7.1",
29
29
  "@larksuiteoapi/node-sdk": "^1.73.3",
30
30
  "zod": "^4.4.3"
31
31
  },
@@ -37,5 +37,5 @@
37
37
  "examples",
38
38
  "CHANGELOG.md"
39
39
  ],
40
- "gitHead": "f3b6ab93ba6cf5ffa84a16d656b97506a114720b"
40
+ "gitHead": "b1006c31daf193dd789f1b346bdf6f401e1b0326"
41
41
  }