Sycun
9ed4e19f5e
fix(update): activate new binaries without a supervisor
2026-11-11 17:34:13 +08:00
Sycun
ecedd32c97
fix(pi): omit empty required lists in tool schemas ( #4 )
...
Prevent a parameterless TaskList schema from rejecting a plain chat request. Add a regression test through the Pi worker and an HTTP fixture.
2026-11-11 17:00:00 +08:00
Sycun
4b4b623524
refactor(pi): remove DSH-Purge prompt integration
2026-11-11 16:43:46 +08:00
Sycun
4e76d922a4
fix(knowledge): bypass query expansion for single-query retrieval
...
Adapt the direct vector path from Kali snapshot b6db6996 to the native Pi retrieval pipeline and carry over the filter regression test.
2026-11-11 16:20:28 +08:00
Sycun
a04d113aea
fix(assessment): bound generated titles for long Chinese requests
2026-11-11 13:34:58 +08:00
Sycun
b88e6229eb
feat(assessment): close delegated work loop with intake and owner questions
2026-11-11 13:33:13 +08:00
Sycun
0dd997ca01
refactor(runtime): remove Eino and make Pi the sole agent engine
2026-11-11 12:45:32 +08:00
Sycun
c07b6ac4ac
feat(pi): integrate durable assessments, tool discovery and migration controls
2026-11-11 10:06:25 +08:00
Sycun
67683f4266
merge: preserve personal assessment and model profile work in Pi migration
2026-11-11 09:22:23 +08:00
Sycun
43b5ac2da5
feat(runtime): introduce Pi agents and native workflow and retrieval engines
2026-11-11 09:19:14 +08:00
Sycun
e4de840086
fix(multiagent): repair interleaved agentic stream indices
2026-11-06 21:26:00 +08:00
Sycun
f895a33eb1
merge: integrate local model profiles with personal gateway headers
2026-11-03 10:17:34 +08:00
Sycun
1ac81fe217
merge: integrate HTTP proxy settings into personal main
2026-11-03 10:13:15 +08:00
Sycun
261d2cd0ad
feat(assessment): add acceptance review, specialist workers and resilient recovery
2026-11-02 23:46:55 +08:00
Sycun
ef89d9e464
fix(assessment): bind approvals and enforce scoped execution boundaries
2026-11-02 22:32:11 +08:00
Sycun
ae4be163e0
feat(assessment): strengthen adaptive planning and durable evidence memory
2026-11-02 21:51:49 +08:00
Sycun
9a0d83c491
fix(assessment): select projects by name and preserve task links
2026-11-02 21:26:19 +08:00
Sycun
900b21a99b
fix(assessment): bind run identity and recover interrupted cleanup
2026-11-02 21:23:48 +08:00
Sycun
07864b355f
feat(assessment): add durable deep assessment workbench independent of chat
2026-11-02 21:17:03 +08:00
Ed1s0nZ
195540b619
fix(headers): mask private names and stabilize empty audit configuration
2026-11-02 17:22:52 +08:00
Ed1s0nZ
5feea8d3c3
fix(headers): isolate credentials across audit, redirects and probes
2026-11-02 17:18:12 +08:00
Ed1s0nZ
585c95a0e2
Merge commit '0340c07363720e356b4cd7adafe343cbee804764' into codex/pr379-header-boundaries
2026-11-02 17:13:25 +08:00
Ed1s0nZ
02b295d738
Merge main and preserve both changelog additions for #378
2026-11-02 15:38:16 +08:00
Sycun
cc37959e14
feat(proxy): add stable HTTP egress settings isolated from tools and models
2026-11-01 00:03:51 +08:00
Sycun
cb15de1760
feat(http): enhance proxy selection and provider resilience
2026-10-31 23:42:07 +08:00
Sycun
5d7cb1ff5d
feat(http): add bounded proxy pool failover to HTTP test tool
2026-10-31 23:29:48 +08:00
Ed1s0nZ
697e875fa4
feat: make agent task timeout configurable
2026-10-31 16:43:25 +08:00
nightslient
691dbd0107
test(headers): 覆盖自定义请求头注入与测试连接链路
...
- applyCustomHeaders:覆盖内置头、跳过空值、无配置时保持原行为
- headersRoundTripper:经 Eino 传输链端到端验证头已下发
- %session_id%:有会话时替换、无会话时跳过该头
- TestOpenAI:测试连接会携带静态头,%session_id% 填充探测值,
未配置 headers 时仍使用 Bearer <api_key>
2026-10-30 20:16:27 +08:00
root
d6b0aed1de
feat(headers): 支持为 AI 渠道配置自定义 HTTP 请求头
...
部分 OpenAI 兼容供应商(如 opencode)要求私有鉴权头或会话头,
而非标准的 Authorization: Bearer,导致无法接入。
- config: OpenAIConfig / AIChannelConfig 新增 headers 字段,
值支持 ${ENV_VAR}、${ENV_VAR:-default} 与 %session_id% 占位符
- openai: 新增 headersRoundTripper 接入 Eino ChatModel 传输链,
同名的内置头(Authorization/User-Agent 等)可被覆盖
- openai: 内置 Client 的 4 处出站请求同样注入自定义头
- handler: 任务开始时把对话 ID 注入 ctx,供 %session_id% 替换;
连接测试没有真实会话,使用探测值 connect-test
- web: 渠道设置页新增“自定义请求头”编辑区(每行 KEY=VALUE)
- 占位符使用 %session_id% 而非 {{session_id}},因为 index.html
由 Go html/template 渲染,双花括号会被当作模板函数解析
2026-10-30 20:13:56 +08:00
Ed1s0nZ
bc0b288d40
Fix audit model thinking compatibility
2026-10-30 16:11:07 +08:00
Sycun
baa1d02cd4
feat(vulnerabilities): offer Markdown and Word report downloads
2026-10-30 09:29:44 +08:00
Ed1s0nZ
c0d5c8460b
feat(api): add durable asynchronous conversation runs
2026-10-23 11:45:15 +08:00
Ed1s0nZ
5c5c5e199d
fix(openai): preserve provider-specific reasoning disable intent ( #366 )
2026-10-21 15:43:53 +08:00
Sycun
8b74b33eee
fix(ai): harden local context detection and budget previews
...
- Surface llama.cpp parallel slots via context_slots and a warning instead of treating n_ctx as the per-request window
- Pass max_completion_tokens into detection previews and warn when the output cap is clamped
- Clamp the effective budget to the window and use the assumed local window when clamping output
- Overwrite a stale window on explicit auto-detect so the preview matches the saved value
- Keep the budget-warning test repeatable and document failover/budget semantics
2026-10-21 09:47:03 +08:00
Sycun
da0cb2a106
docs(api): document the model context detection endpoint
2026-10-21 00:17:46 +08:00
Sycun
77711616b2
test(ai): cover idempotent effective context budget
2026-10-21 00:16:48 +08:00
Sycun
0d97169d07
fix(ai): report the configured budget in context clamp warnings
...
The warning was computed after the runtime config had already been clamped,
so configured and effective values were identical and the clamp warning was lost.
2026-10-21 00:16:30 +08:00
Sycun
d7e8a29dfe
feat(ai): add local model context profile and runtime window probe
...
- Probe Ollama, llama.cpp, LM Studio and vLLM runtime context windows, including reverse-proxy subpaths
- Add context_window and context_profile=local: clamp budgets, compaction triggers, tool-output limits and always-visible tools
- Count tool schemas in the soft input budget and apply a 10% token estimate margin for local tokenizers
- Prefer max_tokens for local requests across agent, attack-chain, FOFA, workflow and HITL paths, and honor channel extra_request_fields
- Recognize local context-overflow errors and retry with aggressive compaction
2026-10-21 00:12:57 +08:00
Ed1s0nZ
be2c8c04e5
fix(rbac): protect built-in administrator from losing access
2026-10-19 16:44:14 +08:00
Ed1s0nZ
63955c4d30
docs: remove internal process journals and organize public guides
2026-10-16 16:59:01 +08:00
Ed1s0nZ
ee5e4dd7c7
Merge remote-tracking branch 'origin/main' into codex/fix-fofa-region
2026-10-16 16:17:04 +08:00
Ed1s0nZ
0c0d4a53e8
fix: use supported FOFA region return field and preserve asset location
2026-10-16 16:14:39 +08:00
公明
f8cbb5efe8
Merge pull request #362 from Sycun/codex/fix-328-sqlite-asset-lock
...
fix: serialize SQLite asset writes without multiplying busy waits
2026-10-16 13:38:56 +08:00
Sycun
51d78fda91
fix: bound SQLite lock waits and strengthen PR 329 coverage
2026-10-16 12:22:42 +08:00
Ordinary
9891b04215
fix: wait out SQLite busy on concurrent asset upserts
...
Deep mode fires many create_asset calls at once. UpsertAssets used a
DEFERRED transaction (SELECT then INSERT) on a 25-connection pool, so
writers hit SQLITE_BUSY immediately and returned "database is locked"
in a few milliseconds instead of waiting.
Open SQLite with _txlock=immediate and a 30s busy timeout, shrink the
pool, and retry locked upserts. Add a 32-way concurrent upsert test.
2026-10-16 12:20:21 +08:00
Sycun
e21ac52b62
test: make workspace inventory fixtures portable on Windows
2026-10-16 12:09:32 +08:00
Sycun
7bf9eb8511
Merge main and reconcile project resume with checkpoint index limits
2026-10-16 11:15:11 +08:00
Sycun
ac42b925da
Merge remote-tracking branch 'origin/main' into codex/project-resume-reuse
2026-10-16 11:11:04 +08:00
Sycun
0fb5484657
Merge upstream main and resolve context memory asset conflicts
2026-10-16 11:02:49 +08:00
公明
7ad837c636
Merge pull request #354 from Sycun/codex/token-usage-monitoring
...
feat: add detailed token usage monitoring and cache write metrics
2026-10-16 10:59:00 +08:00