Commit Graph
155 Commits
Author SHA1 Message Date
gitea 8e4535a812 chore(release): bump version to v0.8.6 2026-09-13 13:42:56 +08:00
gitea 33db72f863 fix: install skill only in canonical global directory 2026-09-12 23:02:25 +08:00
gitea f26eae7b08 fix: make dry-run next steps executable 2026-09-11 17:41:58 +08:00
gitea 1571c524c1 feat: protect all CLI state mutations 2026-09-11 17:40:47 +08:00
gitea 3e072b490e feat: install development build globally 2026-09-11 17:35:29 +08:00
gitea 7cfb68e434 feat: migrate legacy hose configuration paths 2026-09-11 17:24:08 +08:00
gitea 34983e1c07 feat: add layered CLI help registry 2026-09-11 17:18:39 +08:00
gitea a5c0146c8d feat: add semantic CLI exit codes 2026-09-11 17:11:51 +08:00
gitea 45eb83a609 feat: unify CLI dry-run and write confirmation 2026-09-11 16:53:14 +08:00
gitea 639aaa9271 feat: embed keys and store skill guidance 2026-09-11 16:35:21 +08:00
gitea 0cdd62161f feat: add workflow lifecycle controls and monitoring 2026-09-09 18:41:36 +08:00
gitea fb700a4c86 feat(feetype): add fee type domain CRUD CLI commands and specifications 2026-09-09 16:25:03 +08:00
gitea a415bf38c3 fix(test): clean up mock spies in platform.test.ts after each test 2026-09-09 16:02:55 +08:00
gitea 03d2337e13 chore(release): bump version to v0.8.4 2026-09-09 16:00:26 +08:00
gitea 97b67c71da feat(datalink): add record get, toggle, edit, and recompute actions and fix active display 2026-09-09 15:55:12 +08:00
gitea 69c6396d38 fix(skill): align app and platform terminology and sync skill to v0.8.3 2026-09-09 15:21:18 +08:00
gitea 215bc5e2a1 feat(app): add workbench apps, desktop menu domain and bump to v0.8.3 2026-09-09 15:06:34 +08:00
gitea 1cd8901f7a feat(cli): add corps search command and intuitive aliases
- Implement hose-use corps search <keyword> with case-insensitive fuzzy matching across id, name, corpId, staffId, staffName, and accountId
- Format terminal table output with matched cell brackets, hit labels, active corp markers, and friendly no-match fallback
- Support --json structured output conforming to CliResult specification
- Add intuitive aliases for frequently guessed commands: auth list -> auth accounts, corps find -> corps search, config show -> config paths
- Enhance CorpSummary and CorpContext with corpId, staffName, and getAllCorps
- Add comprehensive unit tests in corps.test.ts, auth.test.ts, and config.test.ts
2026-09-09 14:42:58 +08:00
gitea 893fc47ac6 feat(datalink): add generic app object and record queries 2026-09-09 13:57:45 +08:00
gitea 212371eb03 chore(release): bump version to v0.8.1 2026-09-09 09:23:47 +08:00
gitea 0c953df30e feat(store): 新增企业 OpenAPI 密钥一键提取(keys)与应用中心探查(store)能力 2026-09-08 16:59:57 +08:00
gitea 3937d3799b chore(release): bump version to v0.8.0 2026-09-08 15:53:41 +08:00
gitea 3a15b064fe refactor(core): 规范数据库表结构、版本迁移与多级缓存体系加固
- 数据库表规范化与原子事务版本迁移机制 (_schema_migrations)
- 增加 SQLite 复合主键、PRAGMA busy_timeout 与索引覆盖
- 构建统一两级协同缓存 (L1 Memory LRU + L2 SQLite 持久化)
- withCache 增加 In-flight Promise 去重并发防击穿 (单飞机制)
- 收敛 dimension、role、bill 与 token-store 缓存逻辑
- 100% 保持现有 API 契约与零功能删除
2026-09-08 15:49:27 +08:00
gitea 00cbf039eb chore(release): bump version to v0.7.5
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-08 14:04:03 +08:00
gitea 3f015d8e22 fix(auth): guard temporary token refresh and translate bill flow 2026-09-08 12:08:12 +08:00
gitea a5b5f1918e feat(config): align with seal-use to remove cwd enterprises and support testEnterprisesDir (v0.7.4) 2026-09-07 16:25:45 +08:00
gitea a8e32cff32 feat(bill): support full invoice validation details, datalink cards, and department paths (v0.7.3) 2026-09-07 15:47:44 +08:00
gitea 3777e81ee7 feat(bill): refactor translator to modular functions and preserve inline positions for attachments and invoices 2026-09-07 15:20:27 +08:00
gitea 2bf8d22810 feat: 支持协助链接秒级导入 (corps add-link) 与多集群 (wx2等) 动态鉴权换票 2026-09-07 14:44:37 +08:00
gitea 065ba42bfe chore(skill): embed references/approval.md into embedded skill assets 2026-09-07 14:26:06 +08:00
gitea 7efa83ff30 feat(cli): add context introspection command and hose-aipro status for zero-source-reading AX 2026-09-07 14:17:35 +08:00
gitea 27660bed92 feat(approval): introduce configurable gateway policy script and enforce strict reject/approve guardrails 2026-09-07 14:03:22 +08:00
gitea 052fa77df6 chore(release): bump version to v0.7.2 2026-09-07 00:01:41 +08:00
gitea ca00e9a2cc feat(aipro): implement bind, review, decide with gateway guardrail and <150 chars opinion validation 2026-09-06 23:54:36 +08:00
gitea 7e39d95b36 feat(aipro): translate JSON output field names to Chinese in scopes and rules commands 2026-09-06 23:32:25 +08:00
gitea b0149ed32d feat(aipro): introduce init session with 6-char short runId and 6h TTL, support --run audit logging in scopes, translate, rules and logs 2026-09-06 23:23:57 +08:00
gitea a16d429d44 feat(aipro): add standalone document field translator and translate command 2026-09-06 22:58:34 +08:00
gitea 2afde446d2 feat(aipro): require wrapped array for rules input and flatten output by code 2026-09-06 22:46:37 +08:00
gitea 950dd6d8fa feat(aipro): add multi-index rules command outputting matched scopes and rules 2026-09-06 22:44:00 +08:00
gitea 8d203fc230 feat(aipro): format scopes command output as pure json with index and scope 2026-09-06 22:39:45 +08:00
gitea 62025cb6f1 feat(aipro): add scopes index command and decouple points from bills 2026-09-06 22:36:58 +08:00
gitea 2f8bcb90c9 refactor(cli): purge short hose alias and standardize on hose-use across docs, scripts, and prompts 2026-09-06 22:26:04 +08:00
gitea 304a8c0d98 fix(update): relax binary download timeout to 600s and pass auth token for github assets 2026-09-06 22:20:47 +08:00
gitea 9fa4cfe38f fix(approval): isolate runs by corp, handle execution error, bundle hose-aipro alias, and bump to v0.7.1 2026-09-06 21:57:53 +08:00
gitea 644c3d2005 fix(cli): unify hose-aipro as multicall symlink alias to hose-use binary 2026-09-06 19:05:07 +08:00
gitea 4e36a1d9a5 feat(approval): introduce sqlite rule engine, deterministic gateway, and hose-aipro cli (v0.7.0)
- Pure Rule Model & AST Parser:
  - Eliminate redundant title field; model rules purely via scope (scene index) and natural language body.
  - Implement AST parser for inline clauses: [action]{硬性|弹性|建议|特殊}.
  - Validate and enforce preference references with @{级别} syntax, strictly blocking invalid grammar.

- Embedded SQLite Database & Repository:
  - Native bun:sqlite integration with zero external dependencies, stored at ~/.config/hose-use/approval.db.
  - 5 core schemas: rules, preferences, approval_runs, approval_findings, and aipro_logs.
  - Support deduplicated scope indexing (listScopes with 1-based indices) and scope drill-down (getScopeDetail).

- Bill Requisition & Backlog Query Extension:
  - Add formatFlowAsBill adapter in domains/bill/tools.ts.
  - Fall back to flow and backlog inspection when bills are not found in invoice endpoints, unlocking full structured inspection for requisitions (such as S26000001) and loan requests.

- Deterministic Approval Gateway & Lifecycle:
  - Enforce mandatory approval lifecycle: points -> checklist -> review -> decide.
  - Physical gateway blocking: forbid decision if audit checklist is missing or empty, or if pending points remain unverified.
  - Hard tier severance: automatically sever and throw GatewayBlockError on approval attempts violating {硬性} clauses.

- Dedicated hose-aipro Global CLI & Immutable Audit Ledger:
  - Register secondary global binary hose-aipro alongside hose-use in package.json and build-binary.mjs.
  - Automatically record every AI Pro invocation, document context, args snapshot, operator, status, and verdict in aipro_logs.
  - Provide intuitive subcommands: points, checklist, review, decide, logs, rules.
  - Bump project version to v0.7.0 and regenerate OpenAPI bundles.
2026-09-06 19:03:06 +08:00
gitea 2865728885 feat(cli): enhance update sources, normalize repo, upgrade to MCP 2.0, and bump to v0.6.2 2026-09-05 22:32:39 +08:00
gitea 51502fada5 fix(update): fall back to GitHub releases when Gitea mirror has empty assets 2026-09-05 22:20:45 +08:00
gitea 535404871c chore(release): bump version to v0.6.1 2026-09-05 22:17:32 +08:00
gitea 269b7e8f0f fix(cli): support case-insensitive version and help flags and subcommands 2026-09-05 22:16:56 +08:00