Commit graph

684 commits

Author SHA1 Message Date
Ma
984b9757d7 test(cli): cover interact command integration 2026-04-13 03:17:35 +08:00
Ma
211b18ccfa feat(studio): open chat by default 2026-04-13 03:17:35 +08:00
Ma
530bc89f4f docs(cli): route external agents through interact command 2026-04-13 03:17:35 +08:00
Ma
810e76898d feat(cli): add shared interact command 2026-04-13 03:17:35 +08:00
Ma
2c4ee8018f feat(tui): add project book selection commands 2026-04-13 03:17:35 +08:00
Ma
55c4477f2f feat(interaction): add stage telemetry and edit transactions 2026-04-13 03:17:35 +08:00
Ma
f29aa4c656 feat(studio): hydrate chat from shared interaction session 2026-04-13 03:17:35 +08:00
Ma
12740d2d7d feat(interaction): support truth-file edit actions 2026-04-13 03:17:35 +08:00
Ma
1b1846c973 feat(interaction): add edit transaction planning 2026-04-13 03:17:35 +08:00
Ma
34e1c2c713 feat(interaction): track execution events and explain status 2026-04-13 03:17:35 +08:00
Ma
c750978781 feat(studio): show shared session context in chat header 2026-04-13 03:17:35 +08:00
Ma
d79c871a5e feat(interaction): support slash command routing 2026-04-13 03:17:35 +08:00
Ma
70ab9b9f24 feat(interaction): sync studio with shared project sessions 2026-04-13 03:17:35 +08:00
Ma
e621e19cb0 refactor(tui): route input through shared project control 2026-04-13 03:17:13 +08:00
Ma
01f9e62c0e feat(interaction): share project control with studio 2026-04-13 03:17:13 +08:00
Ma
7f41f26c5c feat(tui): persist chat history and mode feedback 2026-04-13 03:13:08 +08:00
Ma
49119c0e0d feat(tui): execute routed actions and report results 2026-04-13 03:13:08 +08:00
Ma
762494e233 feat(tui): persist project sessions and route control flow 2026-04-13 03:13:08 +08:00
Ma
561c6cd7ce feat(interaction): add deterministic language routing 2026-04-13 03:13:08 +08:00
Ma
3bf7cc704a feat(tui): scaffold project workspace shell 2026-04-13 03:13:08 +08:00
Ma
5137f4391a feat(cli): open project TUI by default 2026-04-13 03:13:08 +08:00
Ma
41129f46e2 feat(interaction): add shared control models and runtime bridge 2026-04-13 03:13:08 +08:00
Ma
f2165ec386 docs: add interaction control layer design and plan 2026-04-13 03:13:08 +08:00
Junxian Ma
e1271d1282
Merge pull request #174 from SttFang/fix/thinking-model-temperature-clamp
fix(llm): clamp temperature to 1 for thinking models (kimi-k2.5 etc.)
2026-04-13 00:46:52 +08:00
Junxian Ma
9323aa7b38
Merge pull request #176 from SttFang/chore/dead-code-cleanup
chore: remove dead code from studio and cli
2026-04-13 00:46:41 +08:00
Ma
04ede6b7e8 docs: update WeChat group QR to group 4 2026-04-13 00:31:23 +08:00
fanghanjun
74de85c129 chore(studio): remove unused fontsource-variable/geist
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 07:28:31 -07:00
fanghanjun
4eadc657df chore(studio): drop unused npm dependencies
Remove dotenv, shadcn, tw-animate-css, class-variance-authority — all
confirmed zero references in source after components/ui/ deletion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 07:20:21 -07:00
fanghanjun
60035af07e chore(studio): remove unused shadcn ui scaffolding 2026-04-11 07:16:56 -07:00
fanghanjun
5b09075a3f chore(cli): remove unused formatBookCreateResume helper
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 07:14:44 -07:00
fanghanjun
41ea5bb900 chore(studio): remove unused isMissingFileError
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 07:12:13 -07:00
fanghanjun
e9fb3c539b chore(studio): remove unused safety helpers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 07:10:44 -07:00
fanghanjun
01a5c720b3 feat(llm): clamp temperature to 1 for thinking models
Moonshot kimi-k2.5 (and any model whose name contains "thinking") only
accept temperature=1; any other value returns 400. inkos agents pass
deliberate per-call temperatures (0.1 state-validator → 0.8 architect
brainstorm), so simply changing the project-level default would not
help — the first architect call at 0.8 would still be rejected.

Dispatch a clamp inside chatCompletion / chatWithTools: when the model
matches the thinking-model predicate, override the resolved temperature
to 1 and emit a one-time warning per model name. Regular models are
untouched.

Fixes: inkos book create --title ... crashing on 400 with kimi-k2.5.
2026-04-10 23:31:26 -07:00
Ma
2e1121c914 docs: update WeChat group QR to group 3 2026-04-11 00:21:42 +08:00
Ma
7a547cf4b9 chore: switch license to AGPL-3.0 2026-04-10 08:18:09 +08:00
Ma
6373972c8b docs: update WeChat group QR image 2026-04-09 18:59:32 +08:00
Ma
59ce6fff6f docs: rename wechat group image to bust GitHub cache 2026-04-09 18:34:57 +08:00
Ma
fd373bc6a7 docs: update WeChat group QR to inkos2 group 2026-04-09 18:30:59 +08:00
Ma
11f244a1a7 docs: refine README positioning 2026-04-08 20:18:30 +08:00
Ma
8f80a6425c docs: fix README community wording 2026-04-08 20:01:12 +08:00
Ma
b54feeb921 chore: touch up docs 2026-04-08 19:59:34 +08:00
Ma
f660a3597b feat(revision): add brief-aware revise/rewrite and chapter resync 2026-04-08 19:59:34 +08:00
Ma
87ce60189d fix(studio): align reject rollback and auto-open browser 2026-04-08 19:59:34 +08:00
Ma
056890dfd3 docs: add community section with WeChat group QR to Chinese README 2026-04-08 19:52:12 +08:00
Ma
d57157a735 docs: update READMEs to v1, add v1.1.0 changelog, add WeChat group QR
- Replace v0.6 update section with v1 update (Studio + pipeline overhaul) in all three READMEs
- Add WeChat group QR code to Chinese README (before Quick Start)
- Add v1.1.0 changelog entry (Foundation Reviewer, Hook Seed Excerpt, Review Reject rollback, etc.)
2026-04-08 19:46:19 +08:00
Tahshsa
cde847c038 ci: add windows-latest to the test matrix
Guards against Windows-specific regressions like the path-separator
and npm.cmd issues fixed in the preceding commit. Prior CI ran only
on ubuntu-latest, so the test failures reported in this PR went
undetected on main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 04:32:57 -07:00
Tahshsa
49a41d86da fix: cross-platform tests and restore workspace protocol in manifests
Fixes two classes of issues that prevented the test suite from passing
on Windows and caused a latent publish bug:

1. Windows path-separator bugs in unit tests. studio.test.ts,
   studio-runtime.test.ts, and daemon.test.ts hard-coded POSIX paths
   (e.g. "/project/inkos.pid") while the production code uses path.join,
   which produces backslashes on Windows. Tests now build expected
   paths with path.join so they match whichever separator the current
   OS uses. No production code changes.

2. execFileSync("npm", ...) in publish-package.test.ts failed with
   ENOENT on Windows because npm ships as npm.cmd. Switched to npm.cmd
   plus shell: true on win32.

3. packages/cli/package.json and packages/studio/package.json had been
   committed in their prepack-normalized form, pinning
   @actalk/inkos-core and @actalk/inkos-studio to "1.1.1" instead of
   "workspace:*". This was correctly flagged by the
   "keeps source CLI dependencies linked through the workspace
   protocol" test, which was failing on every platform. Restored the
   workspace protocol so future publishes (via prepack rewrite) cut
   clean releases instead of locking siblings to the previous version.

Before: 43 failed / 32 passed on Windows.
After: 79 passed / 0 failed on Windows, typecheck clean across all
three packages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 03:56:55 -07:00
Ma
0adfab82a8 chore(release): sync source manifests to v1.1.1 2026-04-06 23:44:53 +08:00
Ma
85dd250dd3 fix(state): allow repair-state to reapply latest chapter 2026-04-06 22:33:24 +08:00
Ma
b683ac6b3f fix(state): restore fail-closed validator parsing 2026-04-06 22:04:52 +08:00