Commit Graph
61 Commits
Author SHA1 Message Date
gitea dfb464605e chore: 发布 0.9.1
同步 CLI、Skill、插件和 OpenAPI 元数据版本,并重新生成 OpenAPI bundle。
2026-11-05 12:23:17 +08:00
gitea 362acfba58 feat(cli): 分离 hose-aipro 独立命令体系并升级至 v0.9.0
1. 架构对称性与声明式注册表抽取:
   - 新增 src/cli/aipro-registry.ts,声明式定义 AIPRO_COMMAND_REGISTRY 及其别名映射与 mutating 突变检查
   - 重构 src/aipro-cli.ts,移除过程式 switch-case 分发,改为查表式声明分发,与 hose-use 的 CLI_COMMAND_REGISTRY 保持 100% 对称
   - 在 src/cli/registry.ts 统一重导出 aipro-registry,巩固其作为顶层声明注册表的单一事实源地位
   - 增加 aipro-cli 测试用例,强制校验 COMMAND_METADATA["hose-aipro"] 与声明式注册表双向一致性

2. 双 Skill 独立打包与内嵌部署:
   - 注册两个独立技能:skills/hose-use 与 skills/hose-aipro,互相关联引用
   - src/packaging/embedded-skill.ts 增加双 Skill 编译期嵌入与 installSkillFiles 全量同步
   - hose-use / hose-aipro 下的 skill status/dump/install 完全对齐

3. 守护服务交叉治理:
   - src/cli/service.ts 支持 ServiceTargetName ("hose-use" | "hose-aipro"),默认端口 8888 与 8889
   - 支持 hose-use aipro <start|stop|...> 与 hose-aipro hose-use <start|stop|...> 双向服务纳管
   - 误触非本领域业务命令时提供友好互导拦截

4. 审批领域数据层防御加固:
   - 迁移 004:approval_runs 增加 short_id 唯一约束
   - 增加 allocateUniqueShortId 冲突重试,多步写操作纳入事务

5. 版本升级至 v0.9.0:
   - package.json、README.md、specs、.zcode-plugin 及两套 Skill 同步更新至 0.9.0
   - bump-version 脚本适配多 Skill 自动递增
2026-11-03 19:16:12 +08:00
gitea 6e51008b7b release: v0.8.22
- 工作流节点原子模型 108 个全量收录与强类型化重构;
- 新增工作流设计器免密直达命令 (workflow link / url / web);
- 规范化 HTTP 节点连接器与授权字段;
- 生产环境 CSM 商机台账工作流修复与上线闭环。
2026-11-03 11:40:48 +08:00
gitea 95af2177e5 feat(assist-platform): 固化钉钉扫码登录闭环并优化多集群与网关错误解析
- 支持一行命令自动发起钉钉交互式扫码登录 (hose-use assist-platform login [--qr])
  - 集成 qrcode-terminal 在终端直接输出紧凑 ANSI 文本二维码
  - 严格对齐 HoseCloud SSO 钉钉时间戳的 60 秒安全防重放倒计时
  - 自动从重定向参数或 Token 换取 Unity 运营中心会话凭证并安全落盘
- 在 core/http/assist-platform-client 增加响应体 errorCode: 403 拦截,杜绝凭证过期被吞成空数据的静默失败
- 修复 assist-platform enter 多集群租户 (wx2/shanghai 等) baseUrl 硬编码为 app 的验票失败问题
- 修复 workflow nodes grant 网关回包双层嵌套 saved/skipped 数据解析问题
- 补全 core/http/sso-client 单元测试并确保全部 957 项测试通过
2026-11-02 14:58:20 +08:00
gitea 3cb087b59d feat: 增加按目录权重检查 README 的全仓校验器
从 Git 跟踪成员推导目录,根目录始终检查,其余目录权重严格大于 5 时要求 README。
直接子目录和文件各计 1,README 不计数,同名脚本与唯一测试成对计 1。
新增独立命令、针对性测试、算法说明和实际缺口报告,不新增配置文件或批量生成文档。

验证:938 项测试通过,类型与版本检查通过,校验脚本及测试独立类型检查通过。
仓库审计:80 个目录中 28 个需要 README,11 个通过,17 个缺失。
2026-10-30 16:20:01 +08:00
gitea c71b20c25b chore: 按用途整理工程脚本与验证入口
将内部脚本归入 build、release、generate、dev 和 checks,保留公开安装脚本路径。
同步命令、CI、发布流程、脚本间调用及根目录定位,补齐脚本说明与完成报告。

验证:929 项测试、类型与版本检查通过;二进制及插件构建、冒烟与打包通过。
OpenAPI 产物不变;工作流 Schema 导出存在基线即可复现的 Zod transform 错误,单独记录。
2026-10-30 14:15:32 +08:00
gitea f4788375a1 fix(packaging): distribute plugin archives without tracking dist 2026-10-26 11:54:37 +08:00
gitea e98463ab23 release: v0.8.21 2026-10-25 22:56:28 +08:00
gitea 3fee9a2a6f release: v0.8.20 — 复杂工作流深层映射、代码节点出参即时摘要与MVEL本地仿真 2026-10-23 13:37:29 +08:00
gitea f834822f36 release: v0.8.19 — 业务对象原生服务端过滤与早退保护及工作流轻量化列表 2026-10-22 16:58:23 +08:00
gitea 576d98a85f release: v0.8.18 — 工作流在途与延时执行精准透视及节点字典增强 2026-10-21 17:22:02 +08:00
gitea 33ea49c9fe release: v0.8.17 — 合思协助平台自动化运营、免密进入与工单转交闭环 2026-10-21 12:44:37 +08:00
gitea 080341b7ca release: v0.8.16 — global review fixes and isolated script runtime 2026-10-20 23:24:32 +08:00
gitea 2844fd49dd fix(workflow): isolate local scripts in bounded QuickJS runtime 2026-10-20 17:47:08 +08:00
gitea 74954b3e7a release: v0.8.15 — 工作流节点字典探针、灰度开通收敛与静态分析硬门禁边界 2026-10-20 13:32:05 +08:00
gitea 3151897a9a chore(release): bump version to v0.8.14 2026-10-17 20:35:39 +08:00
gitea 03195bbbe5 feat(platform): add streaming ndjson, stats profiling, flat normalization, and public sdk surface 2026-10-15 11:00:18 +08:00
gitea ed2dffb091 chore(release): bump version to v0.8.13 2026-10-04 15:09:03 +08:00
gitea 160a8977e6 chore(release): pin Bun toolchain for reproducible, supply-chain-safe releases
- Pin oven-sh/setup-bun to v2.2.0 by full commit SHA instead of the
  mutable v2 tag, and pin bun-version to 1.3.14 instead of latest
- Declare packageManager (bun@1.3.14) and engines (>=1.3.14) in
  package.json so local dev and CI use the same Bun toolchain
2026-10-04 14:21:05 +08:00
gitea 0c745fdb0c chore(release): bump version to v0.8.12 2026-09-30 09:22:15 +08:00
gitea a0ec7f95a7 feat(platform,datalink,bill): add workflow job drilldown, safe record batch-edit, audit, and spec linkage diagnostics (v0.8.11) 2026-09-29 20:00:55 +08:00
gitea 96c5a3f242 feat(auth): support OpenAPI persistent credentials, auto-refresh, and Web login link generation (v0.8.10) 2026-09-28 16:50:18 +08:00
gitea 64c0fafcf6 chore(release): bump version to v0.8.9 and prioritize archive updates 2026-09-18 11:43:55 +08:00
gitea edeb2a56f8 chore(release): bump version to v0.8.8 and update docs/skill 2026-09-17 16:02:48 +08:00
gitea 43595e2410 fix: sqlite cache migration, bill timeout protection with --mine, and add-link overwrite UX (v0.8.7) 2026-09-17 10:06:08 +08:00
gitea 8e4535a812 chore(release): bump version to v0.8.6 2026-09-13 13:42:56 +08:00
gitea 3db5907357 feat: add development hygiene checks and cleanup 2026-09-12 23:26:08 +08:00
gitea 3e072b490e feat: install development build globally 2026-09-11 17:35:29 +08:00
gitea d15fa65517 feat: sync release version plugin and OpenAPI artifacts 2026-09-11 17:21:41 +08:00
gitea 0cdd62161f feat: add workflow lifecycle controls and monitoring 2026-09-09 18:41:36 +08:00
gitea 03d2337e13 chore(release): bump version to v0.8.4 2026-09-09 16:00:26 +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 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 3937d3799b chore(release): bump version to v0.8.0 2026-09-08 15:53:41 +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 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 052fa77df6 chore(release): bump version to v0.7.2 2026-09-07 00:01:41 +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 04d3dbcc02 chore(release): bump version to v0.6.0 2026-09-05 22:03:33 +08:00
gitea 68d570022d feat: release v0.5.2 with protected contact domain and bill web link
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 15:58:20 +08:00
gitea 188a0fb5dc feat: release v0.5.1 with multi-file skill system and IDE plugin manifest
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 15:32:01 +08:00
gitea c1dc9f1616 feat: release v0.5.0 with embedded HTTP server and resident daemon service
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 15:19:12 +08:00
gitea ba30c1a6cb feat(cli): 支持大输出防爆保护、本地文件转储与敏感凭证全链路脱敏并发布 v0.4.2
🚀 Release / 🚀 Build & Publish Multi-Platform Binaries (push) Has been cancelled
2026-09-03 11:40:32 +08:00