update: 平台工参导出接口
MemRelay-Operation: memory-save:nqi-agent-poll-20261111-1 MemRelay-Resource: 84d426a9-a184-4d1c-b84c-6dba63f37777
This commit is contained in:
@@ -8,16 +8,15 @@ memory_type: fact
|
||||
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
|
||||
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||
status: active
|
||||
revision: 5
|
||||
request_id: nqi-agent-prompt-20261111-2
|
||||
revision: 6
|
||||
request_id: nqi-agent-poll-20261111-1
|
||||
created_at: '2026-11-10T13:40:51.351339+00:00'
|
||||
updated_at: '2026-11-10T16:22:39.078750+00:00'
|
||||
updated_at: '2026-11-10T16:25:56.753773+00:00'
|
||||
tags:
|
||||
- NQI
|
||||
- OpenCode
|
||||
- prompt
|
||||
- 轮询
|
||||
- 凭据过期
|
||||
- 工参
|
||||
---
|
||||
|
||||
## 来源
|
||||
@@ -33,6 +32,10 @@ nqi-opencode.chlz 是 OpenCode 页面抓包,没有 pro-assistant-server 的实
|
||||
## 发送指令
|
||||
nqi-agent.chlz 里发给 AI 的请求是 POST /pro-opencode/dwmoyingda/session/<会话>/prompt_async,返回 204。2026-11-11 00:04:55 的正文是导出江门 4G/5G 工参,00:14:00 的正文是清理下载数据。正文只有 messageID、agent、model、parts[].text,没有票据。
|
||||
|
||||
## 轮询
|
||||
nqi-agent.chlz 从 00:04:09 到 00:15:59,GET /pro-opencode/dwmoyingda/global/health 73 次,间隔中位数 10 秒,72 个间隔里 71 个在 8 到 12 秒。每次都带与 CASTGC 相同的 tickets,以及 oc_castgc、opencode_route、oc_locale、metabase.DEVICE。
|
||||
同一时段 GET /file 104 次,密集时间隔中位数 2 秒,中间有 46 秒、193 秒、168 秒三次停顿。凭据与健康检查相同。
|
||||
|
||||
## 凭据
|
||||
- OPENCODE_TOOL_TICKET 就是当前登录的 CASTGC,类型是 TGT。GET /pro-opencode/api/provision 的 token、跳转地址上的 tickets、prompt_async 的 tickets 与 Cookie CASTGC 完全相同。
|
||||
- nqi-agent.chlz 里 236 次 tickets 都是同一个值,不是每次调用新签一张票据。
|
||||
|
||||
Reference in New Issue
Block a user