Skip to content

fix(parser): populate Kimi session cwd - #1427

Merged
wesm merged 3 commits into
kenn-io:mainfrom
rodboev:pr/1418-kimi-cwd
Aug 16, 2026
Merged

fix(parser): populate Kimi session cwd#1427
wesm merged 3 commits into
kenn-io:mainfrom
rodboev:pr/1418-kimi-cwd

Conversation

@rodboev

@rodboev rodboev commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Kimi Code records the working directory in top-level config.update records, but the parser drops it, so sync_include_cwd_prefixes rejects matching sessions. This records the provider cwd in ParsedSession.Cwd and advertises the existing capability, preserving Kimi Work and the global filter.

Refs #1418

@roborev-ci

roborev-ci Bot commented Aug 16, 2026

Copy link
Copy Markdown

roborev: Combined Review (c2f4b84)

Code review verdict: No Medium, High, or Critical findings.


Reviewers: 2 done | Synthesis: codex, 10s | Total: 2m18s

@wesm
wesm merged commit b2116a4 into kenn-io:main Aug 16, 2026
16 checks passed
wesm added a commit to salmonumbrella/agentsview that referenced this pull request Aug 16, 2026
…dy-core

* origin/main: (25 commits)
  ci: retry failed Docker image builds (kenn-io#1437)
  Speed up HTTP sync by processing only changed sessions (kenn-io#1414)
  chore: remove dead code and unused frontend exports (kenn-io#1434)
  fix(parser): populate Kimi session cwd (kenn-io#1427)
  feat(frontend): add raw and formatted tool output display (kenn-io#1424)
  feat(insights): support OpenAI-compatible endpoints (kenn-io#1430)
  fix(parser): support legacy Zed thread schemas (kenn-io#1429)
  perf(signals): index duplicate prompt comparisons (kenn-io#1425)
  fix(config): honor explicit empty agent directory arrays (kenn-io#1423)
  feat(parser): add DeepSeek Harness session support (kenn-io#1402)
  test(sync): wait for archive audit stall state (kenn-io#1422)
  chore(deps): update github actions dependencies (kenn-io#1421)
  Tombstone stored Claude sessions a complete full parse no longer emits (kenn-io#1392)
  fix(sync): report stalled syncs as unhealthy (kenn-io#1419)
  Reduce idle CPU and let users turn off unused providers (kenn-io#1374)
  fix(serve): survive dual-stack port collisions at startup (kenn-io#1406)
  fix(sync): bound startup reconciliation and expose daemon identity (kenn-io#1413)
  fix(deps): update module golang.org/x/mod to v0.40.0 [security] (kenn-io#1400)
  Persist Claude and Codex freshness digests across engine restarts (kenn-io#1393)
  fix(sync): add lifecycle logging (kenn-io#1399)
  ...
liaocaoxuezhe pushed a commit to liaocaoxuezhe/agentsview that referenced this pull request Aug 18, 2026
Merge kenn-io/agentsview main (v0.41.0, 138 commits ahead of our
0.38.1 fork point) and realign the fork onto the upstream superset.

What this fork gains from upstream:
- Nine new agent parsers, the Recall subsystem, the artifact machine,
  and the Money/microdollars pricing rework across SQLite, PostgreSQL,
  and DuckDB stores.
- Token usage view reworked as the in-page Cost|Tokens toggle with
  four-way token-type filtering, URL state, and an automatic redirect
  from the legacy /token-usage route (upstream kenn-io#1234, authored by this
  fork's maintainer).
- Kimi Work fixes beyond the fork copy: tool-step usage back-fill,
  k2d6-agent K2.6 pricing, cwd extraction, and date-ambiguous alias
  pricing behind the Kimi model-era cutoff (kenn-io#1338, kenn-io#1427).

Conflict resolution across 40 files:
- Token usage UI, Kimi Work parser/pricing, usage backends, docs, and
  golden fixtures: take upstream. The fork's older components predate
  the Money response protocol and cannot coexist with it.
- start-agentsview.command and start-agentsview-dev.command: keep the
  fork versions, which carry later local refinements (Makefile
  alignment, link to the local build doc) missing upstream.
- 本地构建说明.md is the only other fork-only file; it merged without
  conflict. Golden v2 fixtures follow upstream's v4/v5 contract rename.

First run after this merge reparses stored sessions (data version 70
to 88, non-destructive) and rebuilds any DuckDB mirror under the new
schema version by design.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants