Commit graph

24 commits

Author SHA1 Message Date
fanghanjun
bb51987f87 fix(deps): pin @mariozechner/pi-ai and pi-agent-core to 0.67.1
Users on slow npm mirrors (taobao/cnpm/etc.) hit
'No matching version found for @mariozechner/pi-ai@^0.67.4' when
running 'npm install -g @actalk/inkos@latest'. The caret range in
inkos-core ('^0.67.1') resolves to pi-agent-core@0.67.4, whose own
package.json tightens pi-ai to '^0.67.4'. If the mirror has not yet
synced pi-ai@0.67.4, the install breaks.

Add npm 'overrides' to packages/cli/package.json (the published root)
and pnpm.overrides to the workspace root so both end-user installs
and local dev pin to a known-good version. Bumping pi-mono now
becomes a deliberate edit rather than an automatic, mirror-dependent
upgrade.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-16 10:19:13 -07:00
Ma
974006ebb2 fix(core,cli,studio): unify real epub export implementation 2026-04-16 17:56:44 +08:00
Ma
4f5184d83e docs(repo): restore readmes lockfile and skill from #182 2026-04-15 11:27:45 +08:00
fanghanjun
c0b0460e03 chore: update pnpm-lock.yaml for marked-terminal dependencies
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 00:57:19 -07:00
Ma
21facd6350 chore(workspace): relink local packages for dev integration 2026-04-13 03:27:53 +08:00
Ma
a78b958e12 feat(tui): rebuild the interface around an Ink dashboard 2026-04-13 03:19:06 +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
Ma
128cd79d10 fix(cli): ship studio runtime with published package 2026-03-31 00:57:58 +08:00
Ma
dda66825fd fix(studio): make local source launches reliable 2026-03-30 12:02:02 +08:00
Ma
2aeb4d2fb7 fix(studio): restore testable server guardrails and missing i18n 2026-03-30 11:46:26 +08:00
Ma
80b48f9536 feat(studio): add shadcn components + CSS variable theme system
- shadcn/ui components: button, card, badge, table, dialog,
  select, input, label, separator, tabs
- CSS variable theme: oklch color system with light/dark variants
- useColors refactored to semantic tokens (bg-primary, text-foreground, etc.)
- No more light/dark branching in color hook — handled by .dark class
- App shell: sticky nav with backdrop-blur, semantic colors throughout
- Inter font, smooth transitions, blue accent color
- All breadcrumbs fully i18n'd (zh/en)
2026-03-18 12:29:07 +08:00
Ma
be75d544ab chore: update pnpm-lock.yaml 2026-03-18 12:16:44 +08:00
Ma
0a1ebae7a3 fix(pnpm): keep workspace deps in source manifests 2026-03-17 23:24:25 +08:00
Ma
7e90ec512c docs(skill): add multi-model routing section and set-model/show-models to command table
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 23:01:01 +08:00
Ma
3ee8a0a6e5 chore: bump version to 0.4.8 2026-03-17 22:53:12 +08:00
Ma
5e29461b82 Revert "revert: remove v0.5 features for selective re-landing"
This reverts commit d028ac7ba2.
2026-03-16 21:39:47 +08:00
Ma
d028ac7ba2 revert: remove v0.5 features for selective re-landing
Reverts: release pipeline, epub export, cost tracking.
2026-03-16 21:37:17 +08:00
Ma
d2cc90d2d0 chore(cli): add epub-gen-memory and marked dependencies 2026-03-16 20:51:06 +08:00
majx_mac
1f03c3eff4 feat: add Anthropic SDK native support alongside OpenAI
- provider.ts: LLMClient abstraction wrapping both OpenAI and Anthropic SDKs
- chatCompletion() dispatches based on config.provider
- chatWithTools() unified tool-calling for agent loop (both SDKs)
- Anthropic streaming: text + tool_use blocks, message format conversion
- Auto-strip /v1 from Anthropic baseUrl to prevent double-pathing
2026-03-13 15:23:36 +08:00
majx_mac
0746468dbf feat: add three-layer rule architecture with genre profiles
- GenreProfile and BookRules Zod schemas (genre-profile.ts, book-rules.ts)
- rules-reader.ts: readGenreProfile() with project→builtin fallback
- 5 built-in genre profiles (xuanhuan, xianxia, urban, horror, other)
- js-yaml dependency for YAML frontmatter parsing
- Version bump to 0.3.0
2026-03-13 15:04:33 +08:00
majx_mac
4208585c62 chore: cleanup dead code, remove unused deps, align versions to 0.2.0
- Remove chalk, ora, inquirer (unused, -53 packages)
- Remove dead --foreground flag from daemon command
- Remove dead --platforms flag from radar command
- Wire book create --context to pipeline externalContext
- Add --context/--json to write next command
- Fix dynamic readdir import in export.ts
- Fix CLI vitest to --passWithNoTests
- Align all package versions to 0.2.0
2026-03-13 00:53:37 +08:00
majx_mac
e2294b6551 chore: publish to npm as @actalk/inkos, update install instructions
- Rename @inkos/core to @actalk/inkos-core
- Rename inkos CLI to @actalk/inkos (npm rejected unscoped name)
- Update all imports from @inkos/core to @actalk/inkos-core
- Update README install: npm i -g @actalk/inkos
- Add .npmrc to .gitignore
- Published @actalk/inkos-core@0.1.0 and @actalk/inkos@0.1.0
2026-03-12 18:27:53 +08:00
majx_mac
f4a5a772a9 feat: initial InkOS multi-agent novel production system
TypeScript monorepo with pnpm workspaces:
- packages/core: LLM provider (streaming), 5 agents (architect, writer,
  continuity-auditor, reviser, radar), pipeline runner with auto-revise,
  daemon scheduler, state manager, notification dispatch (Telegram,
  Feishu, WeCom)
- packages/cli: Commander.js CLI with init, config, book, write, review,
  status, radar, daemon (up/down), doctor commands

Pipeline: radar → architect → writer → audit → [auto-revise] → review
State: current_state.md + particle_ledger.md + pending_hooks.md per book
2026-03-11 23:42:52 +08:00