Commit Graph
16 Commits
Author SHA1 Message Date
gitea 887df2d32f Add cloud enterprise storage mode and credential resolver
Enterprise configs gain a root-level storage field (default local). Cloud configs must not persist any secret and fail closed on load. Route credential reads through resolveCorpCredentials, which returns local fields unchanged and fails with exit code 11 for cloud enterprises until the bridge client lands. Cloud enterprises skip the local token store and delegation renewal.
2026-11-19 17:00:45 +08:00
gitea a189f49223 Group core utility modules into util, skill, and update
Move duration, redact, runtime, secure-file, and semver under core/util; embedded-skill and skill-version under core/skill; update-cache under core/update. Move the dev-override test next to the script it covers, and update the embedded-skill generator output path and regenerated manifest. No behavior change.
2026-11-19 16:31:50 +08:00
gitea 0ff3d9a313 feat: 新增租户 active 状态与统一禁用闸门 2026-11-08 12:52:05 +08:00
gitea 50e4e492b4 Fix architecture review findings and align CLI metadata 2026-10-17 20:17:06 +08:00
gitea b5d1bbda15 Isolate malformed enterprise config files instead of failing every command
loadCorpConfigs parsed every file with a bare Schema.parse, so one hand-
edited JSON aborted the whole directory: every corps/rules/webhook command
died with a raw parse error and no hint which file was at fault.

Each file now parses inside its own try/catch — bad files are skipped and
reported once per process on stderr with the offending path; the remaining
enterprises stay usable. loadGlobalConfig falls back to defaults (warning on
stderr) so config paths / corps list keep working for diagnosis. doctor gains
a config_parseability check that names unparseable files.
2026-09-29 22:04:24 +08:00
gitea 3d16857aeb Auto-migrate legacy enterprise directory and drop legacy reads 2026-09-11 10:47:59 +08:00
gitea a56606af9c Add test enterprise marking, binding, and staging sync commands 2026-09-11 10:28:52 +08:00
gitea b5cc7c874e Release v0.10.10: Remove default cwd enterprises loading and add global test-dir config 2026-09-07 15:26:21 +08:00
gitea edafe033dc Release v0.10.9: Purge legacy MCP code, decouple CLI commands, and clean unused exports 2026-09-04 19:08:16 +08:00
gitea 1cf35dfd78 Release v0.10.4: Built-in rule linter, dynamic TS plugin loader with fault-tolerant fallback, and default-disabled global config 2026-09-03 11:30:52 +08:00
gitea 068637c667 feat: rebrand seal-home to seal-use with self-healing upgrade and backward compatibility (v0.10.0) (#15) 2026-09-02 15:42:25 +08:00
gitea 0959cef1cc Add stateful and stateless enterprise selection 2026-08-12 11:38:25 +08:00
gitea 97315a3c92 Improve Hose enterprise add workflow 2026-06-09 14:31:06 +08:00
gitea db08b9d898 Add CLI command for Hose enterprise configs 2026-06-09 13:49:15 +08:00
gitea 0dce586266 Support global CLI service workflow 2026-06-09 12:09:03 +08:00
gitea 25e4dd7714 chore: initialize bun ts config 2026-06-05 16:03:46 +08:00