Commit Graph
35 Commits
Author SHA1 Message Date
gitea 2fc88e208c Add Hose outbound replay with CloseAPI log matching and safety guards 2026-10-10 15:58:06 +08:00
gitea 932957ea08 Add configurable expiration for Seal and Hose assistance links 2026-10-10 14:58:30 +08:00
gitea 5f4906758e Enable strict unused-symbol checks and remove dead code
Turn on noUnusedLocals/noUnusedParameters so the compiler keeps flagging
dead symbols, then clear the 737 findings it reports: unused imports across
src/, unused parameters, unreachable locals, and the copy-pasted 135-line
import prologues in the seal tool modules (each tool file now imports only
what it uses). Also applies the equivalent-safe lint rewrites (Array.from
instead of new Array(n).fill, non-null assertions in tests after toBeDefined,
simplified spreads, unused catch params) that oxlint will gate in a later
commit.
2026-09-29 22:04:01 +08:00
yunyingk f8e083f3b2 Fix security scan findings: confirm gate, exit codes, redaction, CI tag env (#180)
- Gate rules push behind --yes at CLI and domain layers (fail-closed on
  dryRun=false without confirm)
- Raise webhook replay partial failure as CliError so exit 1 survives
  cli.ts exitCode overwrite; route webhook stdout through printJson for
  exit-12 protection and --output-file support
- Narrow MCP read-only allowlist: drop config mode/lint (write forms are
  indistinguishable under token-prefix matching; config get covers reads)
- Extract redactSensitiveText to core, extend credential patterns, apply
  to HTTP sendError/500 and domain error messages
- Pass release TAG_NAME via env instead of inline ${{ }} interpolation
  to close script injection through crafted tag names
- Track .zcodeignore so enterprise credential exclusions travel with the
  repo
- Add .agents/rules/security-posture.md documenting usability-first
  accepted risks (loopback adapter auth, update verification, mutation
  command gates, skill dump stdout); register skill dump as a documented
  stdout Markdown exception in AGENTS.md and cli-protocol.md
- Rebuild dist/mcp/server.js
2026-09-24 22:02:24 +08:00
gitea 733ede97d9 Add tenant contract doctor probe and automated regression test matrix 2026-09-13 22:02:39 +08:00
gitea 61905b3d59 Unify Seal backend HTTP requests through client factory and propagate custom headers 2026-09-13 00:48:10 +08:00
gitea c929fd002c Add smart insights risks, performance, and analyze commands 2026-09-12 23:27:13 +08:00
gitea 93f61a807a Add full coverage knowledge document synchronization to sync-test 2026-09-11 12:17:44 +08:00
gitea 112473a2b7 Use POST method for approval style preferences endpoint 2026-09-11 11:48:28 +08:00
gitea 2a82017e50 Add simulation approval definition lookup 2026-09-11 01:55:56 +08:00
gitea 41e31774ee Default insight stats to current month 2026-09-11 01:52:02 +08:00
gitea b94d6d11d5 Add financial data list queries 2026-09-11 01:47:47 +08:00
gitea a946cf45c9 Add insight stats query 2026-09-11 01:42:41 +08:00
gitea 17a31042a1 Add read-only contacts directory APIs 2026-09-11 01:37:10 +08:00
gitea 138a4a9498 Add universal mutation preview mode 2026-09-11 00:45:27 +08:00
gitea 79c9420e4e Add material pack attachment file policy 2026-09-08 14:54:51 +08:00
gitea 7441e0a9a8 Release v0.9.0: Add multi-platform simulation, deploy hosecloud, and preference management
Binaries / Build & Release Binaries (push) Has been cancelled
2026-08-25 18:04:53 +08:00
gitea baab26bcda Route material pack batches to their own create endpoint
Material pack simulation uses POST /api/v1/simulation/create-material-pack-batch
with approvalCode/nodeId/runMode in the request body; keep the shared
create-batch payload for hosecloud single-number mode.

Verification: material pack create on xiezihao staging returns 200 and
ingests records (HY001/HY002, taskMode=simulation); 116 tests pass.
2026-08-24 18:27:55 +08:00
gitea 0e52a295ba Add simulation test batch creation and material package upload
Support the release loop against Seal simulation batches:
- simulation create (hosecloud specified single-number and material_pack
  modes; other collection modes reserved via rawParams passthrough)
- simulation list/get/templates/integrations/package-upload
- schema modeling from captured staging traffic, mode-scoped request params
- new MCP tools and OpenAPI paths; bump version to 0.6.0

Tests: bun run check, bun test (114 pass).
2026-08-24 18:10:05 +08:00
gitea 32149762c9 Add Webhook integration CLI management 2026-08-07 15:53:46 +08:00
gitea 48d20a788f Fix Seal contact search and SSO errors 2026-08-05 18:48:52 +08:00
gitea 2ca45d935e Refine CLI service and align project metadata 2026-07-30 19:13:54 +08:00
gitea ef115835ac feat(delegation): v0.4.2 - Hose SSO fallback for synced users in users delegation
- createDelegationForUser now detects hosecloud-synced users (provider != local)
- Falls back to Hose Provisional Auth → Seal SSO session exchange → delegation create
- Generates a true user-identity Seal delegation link without password reset
- Fixes name search to prefer exact match before falling back to first result
- Exports normalizeBaseUrl, defaultSealUrl, ensureHoseOpenapiToken, fetchHoseCloseApiToken
- Updates SKILL.md: documents users delegation hosecloud limitation and fallback behavior
2026-07-29 18:39:26 +08:00
gitea c0318df70b Add user search, activation, and automated delegation flow and bump version to 0.4.0
Binaries / Verify (push) Has been cancelled
Binaries / Build linux-x64 (push) Has been cancelled
Binaries / Build macos-arm64 (push) Has been cancelled
Binaries / Build windows-x64 (push) Has been cancelled
Binaries / Publish release assets (push) Has been cancelled
2026-07-29 17:24:22 +08:00
gitea e7ebfcd16a Add system configuration endpoints support and bump version to 0.3.8 2026-07-29 16:41:15 +08:00
gitea 8b070cf956 Add user management and password reset support and bump version to 0.3.7 2026-07-29 16:38:57 +08:00
gitea 33ca5fcb4a Add delegation link support and bump version to 0.3.6 2026-07-29 16:31:10 +08:00
gitea 2611ce4c85 Add rules clear command 2026-07-08 15:22:04 +08:00
gitea ccebbb7c6c Forward approval run search query 2026-06-10 00:31:07 +08:00
gitea df17453594 Enhance approval run inspection 2026-06-09 13:42:24 +08:00
gitea 0cc1f591dc Add Seal approval run Langfuse bridge tools 2026-06-08 17:48:31 +08:00
gitea d6a33de3d7 feat: support approval rule history search 2026-06-05 16:34:03 +08:00
gitea cfffa5f404 feat: add seal session diagnostic tool 2026-06-05 16:21:31 +08:00
gitea 87725a4ca0 fix: use ai approval config endpoint 2026-06-05 16:18:37 +08:00
gitea 73e201a83c feat: expose seal approval tools 2026-06-05 16:04:44 +08:00