sycommon-python-lib 0.2.7a2__py3-none-any.whl → 0.2.7a3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sycommon/agent/deep_agent.py +20 -4
- sycommon/heartbeat_process/heartbeat_config.py +12 -3
- sycommon/logging/kafka_log.py +123 -35
- sycommon/logging/process_logger.py +9 -0
- {sycommon_python_lib-0.2.7a2.dist-info → sycommon_python_lib-0.2.7a3.dist-info}/METADATA +3 -3
- {sycommon_python_lib-0.2.7a2.dist-info → sycommon_python_lib-0.2.7a3.dist-info}/RECORD +9 -9
- {sycommon_python_lib-0.2.7a2.dist-info → sycommon_python_lib-0.2.7a3.dist-info}/WHEEL +0 -0
- {sycommon_python_lib-0.2.7a2.dist-info → sycommon_python_lib-0.2.7a3.dist-info}/entry_points.txt +0 -0
- {sycommon_python_lib-0.2.7a2.dist-info → sycommon_python_lib-0.2.7a3.dist-info}/top_level.txt +0 -0
sycommon/agent/deep_agent.py
CHANGED
|
@@ -88,9 +88,11 @@ def _patch_agent_streaming(agent):
|
|
|
88
88
|
删除此函数及调用即可。
|
|
89
89
|
"""
|
|
90
90
|
# 已验证兼容的版本范围(超出仅警告, 不阻断 —— 闭包强校验是真正的安全网)
|
|
91
|
-
# 1.3.10/1.4.8 经实测确认闭包结构兼容(amodel_node
|
|
92
|
-
# 内层 freevars 含 _get_bound_model/
|
|
93
|
-
|
|
91
|
+
# 1.3.10/1.3.11 + langchain_core 1.4.8 经实测确认闭包结构兼容(amodel_node
|
|
92
|
+
# freevars 含 _execute_model_async, 内层 freevars 含 _get_bound_model/
|
|
93
|
+
# _handle_model_output), patch 正常生效。1.3.11 的 _execute_model_async 仍为
|
|
94
|
+
# ainvoke + 不传 config, 官方未修复, 补丁仍需保留。
|
|
95
|
+
_VERIFIED = {"langchain": "1.3.11", "langchain_core": "1.4.8"}
|
|
94
96
|
try:
|
|
95
97
|
import langchain as _lc
|
|
96
98
|
import langchain_core as _lcc
|
|
@@ -249,11 +251,22 @@ def _patch_agent_streaming(agent):
|
|
|
249
251
|
# 从 ContextVar 读取 LangGraph 注入的 config(含 StreamMessagesHandler)
|
|
250
252
|
config = var_child_runnable_config.get()
|
|
251
253
|
|
|
252
|
-
# 用 astream 替代 ainvoke, 每个 token
|
|
254
|
+
# 用 astream 替代 ainvoke, 每个 token 规发 on_llm_new_token
|
|
253
255
|
# 注意: ChatModel.astream() 产出的是 AIMessageChunk(BaseMessageChunk),
|
|
254
256
|
# 不是 ChatGenerationChunk,因此累加结果直接就是消息本身,没有 .message 属性。
|
|
257
|
+
import time as _t
|
|
258
|
+
_t0 = _t.monotonic()
|
|
259
|
+
_msg_count = len(messages) if hasattr(messages, '__len__') else -1
|
|
260
|
+
SYLogger.info(
|
|
261
|
+
f"[LLM-CALL] astream 开始: model={getattr(model_, 'model', '?')}, "
|
|
262
|
+
f"messages={_msg_count} 条")
|
|
255
263
|
chunks: list = []
|
|
264
|
+
_first_chunk_at = None
|
|
256
265
|
async for chunk in model_.astream(messages, config=config):
|
|
266
|
+
if _first_chunk_at is None:
|
|
267
|
+
_first_chunk_at = _t.monotonic()
|
|
268
|
+
SYLogger.info(
|
|
269
|
+
f"[LLM-CALL] 首个 chunk 到达, 耗时 {_first_chunk_at - _t0:.2f}s")
|
|
257
270
|
chunks.append(chunk)
|
|
258
271
|
|
|
259
272
|
if not chunks:
|
|
@@ -262,6 +275,9 @@ def _patch_agent_streaming(agent):
|
|
|
262
275
|
"[StreamingPatch] astream returned empty, fallback to ainvoke")
|
|
263
276
|
output = await model_.ainvoke(messages, config=config)
|
|
264
277
|
else:
|
|
278
|
+
SYLogger.info(
|
|
279
|
+
f"[LLM-CALL] astream 结束, 共 {len(chunks)} 个 chunk, "
|
|
280
|
+
f"总耗时 {_t.monotonic() - _t0:.2f}s")
|
|
265
281
|
generation = chunks[0]
|
|
266
282
|
for c in chunks[1:]:
|
|
267
283
|
generation += c
|
|
@@ -109,6 +109,9 @@ class LogConfig:
|
|
|
109
109
|
namespace_id: str # 命名空间 ID(用于 env 字段)
|
|
110
110
|
kafka_servers: Optional[str] = None # Kafka 服务器地址
|
|
111
111
|
kafka_topic: str = "shengye-json-log" # Kafka topic
|
|
112
|
+
# 全局总开关:false 时不发 kafka。默认 True(未配置/老服务零破坏)。
|
|
113
|
+
# 独立进程(心跳/MQ 进程池)跟随全局 log.enabled,不支持单条强制。
|
|
114
|
+
log_enabled: bool = True
|
|
112
115
|
|
|
113
116
|
@classmethod
|
|
114
117
|
def from_nacos_config(cls, nacos_config: dict, service_name: str, shared_configs: dict = None) -> 'LogConfig':
|
|
@@ -123,15 +126,21 @@ class LogConfig:
|
|
|
123
126
|
LogConfig 实例
|
|
124
127
|
"""
|
|
125
128
|
kafka_servers = None
|
|
129
|
+
log_enabled = True
|
|
126
130
|
|
|
127
|
-
# 尝试从 shared_configs 获取 Kafka 配置
|
|
131
|
+
# 尝试从 shared_configs 获取 Kafka 配置 + 总开关
|
|
128
132
|
if shared_configs and isinstance(shared_configs, dict):
|
|
129
133
|
common_config = shared_configs.get("common.yml", {})
|
|
130
134
|
if isinstance(common_config, dict):
|
|
131
|
-
|
|
135
|
+
log_cfg = common_config.get('log', {})
|
|
136
|
+
if isinstance(log_cfg, dict):
|
|
137
|
+
kafka_servers = log_cfg.get('kafka', {}).get('servers')
|
|
138
|
+
if 'enabled' in log_cfg:
|
|
139
|
+
log_enabled = bool(log_cfg['enabled'])
|
|
132
140
|
|
|
133
141
|
return cls(
|
|
134
142
|
service_name=service_name,
|
|
135
143
|
namespace_id=nacos_config.get('namespaceId', ''),
|
|
136
|
-
kafka_servers=kafka_servers
|
|
144
|
+
kafka_servers=kafka_servers,
|
|
145
|
+
log_enabled=log_enabled
|
|
137
146
|
)
|
sycommon/logging/kafka_log.py
CHANGED
|
@@ -26,6 +26,34 @@ LOGURU_FORMAT = (
|
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
def _global_log_enabled() -> bool:
|
|
30
|
+
"""读取 log.enabled 总开关。未配置 -> True(零破坏)。
|
|
31
|
+
|
|
32
|
+
读取顺序同 log_masker:项目自身 yaml 的 log.enabled 覆盖 common.yml 的
|
|
33
|
+
log.enabled;都未写 -> True。Config 未就绪(本地 dev / 启动早期)-> True,
|
|
34
|
+
避免启动阶段日志丢失。
|
|
35
|
+
|
|
36
|
+
false = 关闭所有 kafka 日志 + 本地打印(单条 enabled=True 除外,见 SYLogger)。
|
|
37
|
+
"""
|
|
38
|
+
try:
|
|
39
|
+
cfg_root = Config().config or {}
|
|
40
|
+
except Exception:
|
|
41
|
+
return True
|
|
42
|
+
if not isinstance(cfg_root, dict):
|
|
43
|
+
return True
|
|
44
|
+
common = (cfg_root.get("common.yml") or {}).get("log", {}) \
|
|
45
|
+
if isinstance(cfg_root.get("common.yml"), dict) else {}
|
|
46
|
+
app_name = cfg_root.get("Name", "")
|
|
47
|
+
project = (cfg_root.get(app_name) or {}).get("log", {}) \
|
|
48
|
+
if app_name and isinstance(cfg_root.get(app_name), dict) else {}
|
|
49
|
+
# 项目覆盖 common;都未写 enabled -> True
|
|
50
|
+
if "enabled" in project:
|
|
51
|
+
return bool(project["enabled"])
|
|
52
|
+
if "enabled" in common:
|
|
53
|
+
return bool(common["enabled"])
|
|
54
|
+
return True
|
|
55
|
+
|
|
56
|
+
|
|
29
57
|
class KafkaSink:
|
|
30
58
|
"""
|
|
31
59
|
自定义 Loguru Sink,负责格式化日志并发送到 Kafka
|
|
@@ -33,15 +61,36 @@ class KafkaSink:
|
|
|
33
61
|
|
|
34
62
|
def __init__(self, service_id: str):
|
|
35
63
|
self.service_id = service_id
|
|
36
|
-
#
|
|
64
|
+
# 获取配置(缓存 bootstrap_servers,供全局关闭时强制日志/ERROR 惰性建 producer 复用)
|
|
37
65
|
from sycommon.synacos.nacos_service import NacosService
|
|
38
66
|
common = NacosService(
|
|
39
67
|
Config().config).share_configs.get("common.yml", {})
|
|
40
|
-
|
|
68
|
+
self._bootstrap_servers = common.get("log", {}).get(
|
|
41
69
|
"kafka", {}).get("servers", None)
|
|
42
70
|
|
|
43
|
-
|
|
44
|
-
|
|
71
|
+
# 全局总开关:false 时不建 producer,write() 在收到 ERROR / 强制日志时
|
|
72
|
+
# (单条 enabled=True)才惰性补建,从而彻底静默普通日志。
|
|
73
|
+
self._enabled = _global_log_enabled()
|
|
74
|
+
self._closed = False
|
|
75
|
+
self._producer_obj = self._build_producer() if self._enabled else None
|
|
76
|
+
self._producer = self._producer_obj
|
|
77
|
+
|
|
78
|
+
# 缓存主机信息,避免每次日志写入都做 DNS 解析
|
|
79
|
+
try:
|
|
80
|
+
self._ip = socket.gethostbyname(socket.gethostname())
|
|
81
|
+
except Exception:
|
|
82
|
+
self._ip = '127.0.0.1'
|
|
83
|
+
self._host_name = socket.gethostname()
|
|
84
|
+
|
|
85
|
+
def _build_producer(self):
|
|
86
|
+
"""构建 KafkaProducer,供 __init__ 与全局关闭时的强制日志/ERROR 惰性复用。
|
|
87
|
+
|
|
88
|
+
注意:kafka-python 的 KafkaProducer 在构造时会尝试拉取元数据,
|
|
89
|
+
broker 不可达时可能抛异常——此处不吞异常,由调用方决定
|
|
90
|
+
(__init__ 保持原启动期失败即抛的行为;write() 的惰性路径 try 包裹)。
|
|
91
|
+
"""
|
|
92
|
+
return KafkaProducer(
|
|
93
|
+
bootstrap_servers=self._bootstrap_servers,
|
|
45
94
|
value_serializer=lambda v: json.dumps(
|
|
46
95
|
v, ensure_ascii=False).encode('utf-8'),
|
|
47
96
|
# 保持原有的优化配置
|
|
@@ -52,14 +101,6 @@ class KafkaSink:
|
|
|
52
101
|
batch_size=16384,
|
|
53
102
|
linger_ms=5,
|
|
54
103
|
)
|
|
55
|
-
self._producer = self._producer_obj
|
|
56
|
-
|
|
57
|
-
# 缓存主机信息,避免每次日志写入都做 DNS 解析
|
|
58
|
-
try:
|
|
59
|
-
self._ip = socket.gethostbyname(socket.gethostname())
|
|
60
|
-
except Exception:
|
|
61
|
-
self._ip = '127.0.0.1'
|
|
62
|
-
self._host_name = socket.gethostname()
|
|
63
104
|
|
|
64
105
|
def write(self, message):
|
|
65
106
|
"""
|
|
@@ -67,9 +108,26 @@ class KafkaSink:
|
|
|
67
108
|
message 参数实际上是 loguru.Message 对象,可以通过 message.record 获取所有字段。
|
|
68
109
|
"""
|
|
69
110
|
try:
|
|
111
|
+
# sink 已显式关闭(shutdown/reload 重建):不再发任何日志
|
|
112
|
+
if self._closed:
|
|
113
|
+
return
|
|
114
|
+
|
|
70
115
|
# producer 已关闭则跳过
|
|
71
116
|
if self._producer is None:
|
|
72
|
-
|
|
117
|
+
# 全局关闭(_enabled=False 时未建 producer):仅放行 ERROR 与
|
|
118
|
+
# 单条强制日志(enabled=True),并为它们惰性补建一次 producer。
|
|
119
|
+
record = message.record
|
|
120
|
+
is_error = record["level"].name == "ERROR"
|
|
121
|
+
is_forced = record["extra"].get("_log_forced")
|
|
122
|
+
if not (is_error or is_forced):
|
|
123
|
+
return
|
|
124
|
+
try:
|
|
125
|
+
self._producer_obj = self._build_producer()
|
|
126
|
+
self._producer = self._producer_obj
|
|
127
|
+
except Exception:
|
|
128
|
+
return
|
|
129
|
+
if self._producer is None:
|
|
130
|
+
return
|
|
73
131
|
|
|
74
132
|
# 1. 获取原始日志记录
|
|
75
133
|
record = message.record
|
|
@@ -169,6 +227,8 @@ class KafkaSink:
|
|
|
169
227
|
|
|
170
228
|
def close(self):
|
|
171
229
|
"""关闭 KafkaProducer,释放连接池资源"""
|
|
230
|
+
# 标记已关闭,阻止 write() 继续发送(含惰性补建 producer 的路径)
|
|
231
|
+
self._closed = True
|
|
172
232
|
if self._producer_obj is None:
|
|
173
233
|
return
|
|
174
234
|
# 先移除引用,阻止 write() 继续发送新消息
|
|
@@ -222,14 +282,18 @@ class KafkaLogger(metaclass=SingletonMeta):
|
|
|
222
282
|
diagnose=True
|
|
223
283
|
)
|
|
224
284
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
285
|
+
# ERROR 本地打印:仅全局开关开启时注册。
|
|
286
|
+
# 全局关闭(log.enabled=false)时不本地打印——ERROR 日志仍会进 kafka
|
|
287
|
+
# (KafkaSink.write 对 ERROR 放行并惰性建 producer),但 stdout 静默。
|
|
288
|
+
if KafkaLogger._sink_instance._enabled:
|
|
289
|
+
logger.add(
|
|
290
|
+
sink=sys.stdout,
|
|
291
|
+
level="ERROR",
|
|
292
|
+
format=LOGURU_FORMAT,
|
|
293
|
+
colorize=True,
|
|
294
|
+
backtrace=True,
|
|
295
|
+
diagnose=True
|
|
296
|
+
)
|
|
233
297
|
|
|
234
298
|
# 桥接 stdlib logging → Loguru,捕获 asyncio 等第三方库的日志
|
|
235
299
|
intercept_handler = _InterceptHandler()
|
|
@@ -374,11 +438,28 @@ class SYLogger:
|
|
|
374
438
|
return f"thread:{threading.current_thread().name}"
|
|
375
439
|
|
|
376
440
|
@staticmethod
|
|
377
|
-
def _log(msg: any, level: str = "INFO"):
|
|
441
|
+
def _log(msg: any, level: str = "INFO", enabled: bool = None):
|
|
378
442
|
"""
|
|
379
443
|
统一日志记录入口
|
|
380
444
|
修复:手动提取堆栈信息并写入 message,确保 Kafka 能收到
|
|
445
|
+
|
|
446
|
+
单条开关(enabled):
|
|
447
|
+
- None(默认):跟随全局 log.enabled。全局关 -> 静默(ERROR 除外,ERROR 始终放行)
|
|
448
|
+
- True:强制发出(即便全局 log.enabled=false,这一条也进 kafka)
|
|
449
|
+
- False:强制静默(即便全局开,这一条也丢)
|
|
450
|
+
|
|
451
|
+
注意:ERROR 级别无论全局开关如何都会进 kafka(KafkaSink.write 对 ERROR 放行),
|
|
452
|
+
此处的 enabled=None + 全局关 对 ERROR 不静默——仅在 enabled=False 时才压制。
|
|
381
453
|
"""
|
|
454
|
+
# 单条开关裁决
|
|
455
|
+
if enabled is False:
|
|
456
|
+
return # 强制静默
|
|
457
|
+
|
|
458
|
+
global_on = _global_log_enabled()
|
|
459
|
+
# 跟随全局且全局关:非 ERROR 静默(ERROR 始终放行,交由 KafkaSink 处理)
|
|
460
|
+
if enabled is None and not global_on and level != "ERROR":
|
|
461
|
+
return
|
|
462
|
+
|
|
382
463
|
# 序列化消息:dict/list 先脱敏(按字段名/子串/长度/总量裁剪),再转 JSON
|
|
383
464
|
if isinstance(msg, (dict, list)):
|
|
384
465
|
msg = _log_masker.sanitize(msg)
|
|
@@ -410,35 +491,42 @@ class SYLogger:
|
|
|
410
491
|
# 将字典转为 JSON 字符串传给 Loguru
|
|
411
492
|
log_json = json.dumps(log_dict, ensure_ascii=False)
|
|
412
493
|
|
|
494
|
+
# 全局关时,单条 enabled=True 需打 _log_forced 标记,KafkaSink 据此放行
|
|
495
|
+
# (ERROR 在 KafkaSink 已放行,无需标记;这里只为非 ERROR 的强制日志打标)。
|
|
496
|
+
if enabled is True and not global_on and level != "ERROR":
|
|
497
|
+
lg = logger.bind(_log_forced=True)
|
|
498
|
+
else:
|
|
499
|
+
lg = logger
|
|
500
|
+
|
|
413
501
|
if level == "ERROR":
|
|
414
502
|
# 依然使用 opt(exception=True) 让控制台打印彩色堆栈
|
|
415
503
|
# 注意:Loguru 内部可能会忽略我们已经塞进去的 detail 字符串,
|
|
416
504
|
# 但这没关系,因为 KafkaSink 解析 message 字符串时会重新读取 detail
|
|
417
|
-
|
|
505
|
+
lg.opt(exception=True).error(log_json)
|
|
418
506
|
elif level == "WARNING":
|
|
419
|
-
|
|
507
|
+
lg.warning(log_json)
|
|
420
508
|
else:
|
|
421
|
-
|
|
509
|
+
lg.info(log_json)
|
|
422
510
|
|
|
423
511
|
if check_env_flag(['DEV_LOG']):
|
|
424
512
|
print(log_dict)
|
|
425
513
|
|
|
426
514
|
@staticmethod
|
|
427
|
-
def info(msg: any, *args, **kwargs):
|
|
428
|
-
SYLogger._log(msg, "INFO")
|
|
515
|
+
def info(msg: any, *args, enabled: bool = None, **kwargs):
|
|
516
|
+
SYLogger._log(msg, "INFO", enabled)
|
|
429
517
|
|
|
430
518
|
@staticmethod
|
|
431
|
-
def warning(msg: any, *args, **kwargs):
|
|
432
|
-
SYLogger._log(msg, "WARNING")
|
|
519
|
+
def warning(msg: any, *args, enabled: bool = None, **kwargs):
|
|
520
|
+
SYLogger._log(msg, "WARNING", enabled)
|
|
433
521
|
|
|
434
522
|
@staticmethod
|
|
435
|
-
def debug(msg: any, *args, **kwargs):
|
|
436
|
-
SYLogger._log(msg, "DEBUG")
|
|
523
|
+
def debug(msg: any, *args, enabled: bool = None, **kwargs):
|
|
524
|
+
SYLogger._log(msg, "DEBUG", enabled)
|
|
437
525
|
|
|
438
526
|
@staticmethod
|
|
439
|
-
def error(msg: any, *args, **kwargs):
|
|
440
|
-
SYLogger._log(msg, "ERROR")
|
|
527
|
+
def error(msg: any, *args, enabled: bool = None, **kwargs):
|
|
528
|
+
SYLogger._log(msg, "ERROR", enabled)
|
|
441
529
|
|
|
442
530
|
@staticmethod
|
|
443
|
-
def exception(msg: any, *args, **kwargs):
|
|
444
|
-
SYLogger._log(msg, "ERROR")
|
|
531
|
+
def exception(msg: any, *args, enabled: bool = None, **kwargs):
|
|
532
|
+
SYLogger._log(msg, "ERROR", enabled)
|
|
@@ -58,6 +58,11 @@ class ProcessLogger:
|
|
|
58
58
|
if self._initialized:
|
|
59
59
|
return self._producer is not None
|
|
60
60
|
|
|
61
|
+
# 全局总开关关闭:不建 producer(独立进程跟随全局 log.enabled)
|
|
62
|
+
if not getattr(self.log_config, 'log_enabled', True):
|
|
63
|
+
self._initialized = True
|
|
64
|
+
return False
|
|
65
|
+
|
|
61
66
|
try:
|
|
62
67
|
if self.log_config.kafka_servers:
|
|
63
68
|
from kafka import KafkaProducer
|
|
@@ -102,6 +107,10 @@ class ProcessLogger:
|
|
|
102
107
|
msg: 日志消息
|
|
103
108
|
level: 日志级别
|
|
104
109
|
"""
|
|
110
|
+
# 全局总开关:关闭则不发 kafka(独立进程跟随全局,不支持单条强制)
|
|
111
|
+
if not getattr(self.log_config, 'log_enabled', True):
|
|
112
|
+
return
|
|
113
|
+
|
|
105
114
|
# 序列化消息
|
|
106
115
|
if isinstance(msg, dict) or isinstance(msg, list):
|
|
107
116
|
msg_str = json.dumps(msg, ensure_ascii=False)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sycommon-python-lib
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7a3
|
|
4
4
|
Summary: Add your description here
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -14,9 +14,9 @@ Requires-Dist: elasticsearch==9.4.1
|
|
|
14
14
|
Requires-Dist: fastapi==0.138.0
|
|
15
15
|
Requires-Dist: jinja2==3.1.6
|
|
16
16
|
Requires-Dist: kafka-python==3.0.2
|
|
17
|
-
Requires-Dist: langchain==1.3.
|
|
17
|
+
Requires-Dist: langchain==1.3.11
|
|
18
18
|
Requires-Dist: langchain-core==1.4.8
|
|
19
|
-
Requires-Dist: langchain-openai==1.3.
|
|
19
|
+
Requires-Dist: langchain-openai==1.3.3
|
|
20
20
|
Requires-Dist: langfuse==4.9.1
|
|
21
21
|
Requires-Dist: langgraph==1.2.6
|
|
22
22
|
Requires-Dist: langgraph-checkpoint-postgres==3.1.0
|
|
@@ -136,7 +136,7 @@ sycommon/services.py,sha256=CwC_gESafo05Qn41KLQgtulx6PfX7s2FkxlBI-hXve4,24861
|
|
|
136
136
|
sycommon/agent/__init__.py,sha256=mxceAeUifQ-DKvWp7ZEJIFlmOCb5wpYHPGQw3rwEN8I,4378
|
|
137
137
|
sycommon/agent/agent_manager.py,sha256=UhhaekEumT7g4v_Z1UB4jTp13X0n8M8erYaQdkGGWkA,13620
|
|
138
138
|
sycommon/agent/chat_events.py,sha256=t7qWa6OrIWLfqtd1AnqaVP67QWkn1JxpCBTZYQpoLuM,14226
|
|
139
|
-
sycommon/agent/deep_agent.py,sha256=
|
|
139
|
+
sycommon/agent/deep_agent.py,sha256=MPGy7WR3SZ2Hs--g5VFqXE9DGNRNCsNHYY65SlEoTbU,65612
|
|
140
140
|
sycommon/agent/multi_agent_team.py,sha256=mskS-FJbAB_n5kghjHhiWxpA3L9cD1lObeW_wjrLI6s,27079
|
|
141
141
|
sycommon/agent/summarization_utils.py,sha256=zAnNtqzZ6mKmLVpLQLgcnbdV0D5ohxpAjPkg9Uz2V7s,17934
|
|
142
142
|
sycommon/agent/acp/__init__.py,sha256=vQGMQYAA5-ZaejYmDZ4r4Fklqs17qH3cDXQ5pZlwj-0,1844
|
|
@@ -190,7 +190,7 @@ sycommon/health/health_check.py,sha256=EhfbhspRpQiKJaxdtE-PzpKQO_ucaFKtQxIm16F5M
|
|
|
190
190
|
sycommon/health/metrics.py,sha256=fHqO73JuhoZkNPR-xIlxieXiTCvttq-kG-tvxag1s1s,268
|
|
191
191
|
sycommon/health/ping.py,sha256=FTlnIKk5y1mPfS1ZGOeT5IM_2udF5aqVLubEtuBp18M,250
|
|
192
192
|
sycommon/heartbeat_process/__init__.py,sha256=8HPwckgg7UW6dhf_h71BidiZy6Uj5Q2la8OnmqVcPSU,1899
|
|
193
|
-
sycommon/heartbeat_process/heartbeat_config.py,sha256=
|
|
193
|
+
sycommon/heartbeat_process/heartbeat_config.py,sha256=qbxxsYYhYNS5jEQ644aYmJB1wJCnhwFn04m92EQ0iSg,5486
|
|
194
194
|
sycommon/heartbeat_process/heartbeat_process_manager.py,sha256=24qUKs8qegdWHqcoxL0gTaypjNHoSCFDwlbzi5SgkYw,9252
|
|
195
195
|
sycommon/heartbeat_process/heartbeat_process_worker.py,sha256=duuAEFwda43Y6pZE8tOOspitlyxecaFsg1n1iH9jQDQ,16863
|
|
196
196
|
sycommon/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -211,11 +211,11 @@ sycommon/llm/tiktoken_cache/9b5ad71b2ce5302211f9c61530b329a4922fc6a4,sha256=Ijkh
|
|
|
211
211
|
sycommon/llm/tiktoken_cache/fb374d419588a4632f3f557e76b4b70aebbca790,sha256=RGqVOMtsNI41FhINfAiwn1fDZJXirP_-WaW_iwz7Gi0,3613922
|
|
212
212
|
sycommon/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
213
213
|
sycommon/logging/async_sql_logger.py,sha256=TIUAqK8_F9H7Graw00hNjEI3DJ1ZRo5fRUcnqaMZlbU,2187
|
|
214
|
-
sycommon/logging/kafka_log.py,sha256=
|
|
214
|
+
sycommon/logging/kafka_log.py,sha256=R2n58T4FaaIbFgl1_cknGa3N25YJWtK0NrcTReCGSSA,19836
|
|
215
215
|
sycommon/logging/log_masker.py,sha256=o4yE1rZ8f8a3xwTLV7TZvAt9nPB2IjacKCxoJspbhBM,12797
|
|
216
216
|
sycommon/logging/logger_levels.py,sha256=xJBzPV2H7GpEQggOIjyckEsA4yf6s4NpI9ckgO3xWKA,1154
|
|
217
217
|
sycommon/logging/logger_wrapper.py,sha256=TtzmGw_K5NjBGBq9Gjqtnh834izAv8TQwsOeL2fIbAI,481
|
|
218
|
-
sycommon/logging/process_logger.py,sha256=
|
|
218
|
+
sycommon/logging/process_logger.py,sha256=Lnp7ptU9Uyw18OFBfNxlT9tHPiiWIv9jB8O6IhbELAQ,6266
|
|
219
219
|
sycommon/logging/sql_logger.py,sha256=Kx60dy7swbq3rcRRVV1fZtbvyo4yypGxduYlF0JHvrY,1636
|
|
220
220
|
sycommon/mcp_server/__init__.py,sha256=iweQoesjnIl4I9LA98ZARc8p3AatxWcyLS4uYi_58sU,266
|
|
221
221
|
sycommon/mcp_server/server.py,sha256=NjPtEN6_QsI-Cc2tuPAew_PorBEJ60Xuxjaox0Dku4E,6269
|
|
@@ -301,8 +301,8 @@ sycommon/tools/syemail.py,sha256=BDFhgf7WDOQeTcjxJEQdu0dQhnHFPO_p3eI0-Ni3LhQ,561
|
|
|
301
301
|
sycommon/tools/timing.py,sha256=OiiE7P07lRoMzX9kzb8sZU9cDb0zNnqIlY5pWqHcnkY,2064
|
|
302
302
|
sycommon/xxljob/__init__.py,sha256=7eoBlQxv-B39IfRSCY2bkqdGYs1QRe1umAWd88VMEEM,86
|
|
303
303
|
sycommon/xxljob/xxljob_service.py,sha256=1yifwIBNGsCIxLnQjHKiBlbsigc_zvPH-dMTZcNxe-Q,7649
|
|
304
|
-
sycommon_python_lib-0.2.
|
|
305
|
-
sycommon_python_lib-0.2.
|
|
306
|
-
sycommon_python_lib-0.2.
|
|
307
|
-
sycommon_python_lib-0.2.
|
|
308
|
-
sycommon_python_lib-0.2.
|
|
304
|
+
sycommon_python_lib-0.2.7a3.dist-info/METADATA,sha256=C7X28BU9_mSW37Apz_U3OiIIEvmdCquOP9sxQzPvs2E,7960
|
|
305
|
+
sycommon_python_lib-0.2.7a3.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
306
|
+
sycommon_python_lib-0.2.7a3.dist-info/entry_points.txt,sha256=gsR4SssKxDWjRU8ggidzNcdMXDPRSKRS7UaGyNP84Qg,92
|
|
307
|
+
sycommon_python_lib-0.2.7a3.dist-info/top_level.txt,sha256=RgphKrg7nJyZ7irJqbxFr-5H2LUYTvI7ivoWZH2hcD0,29
|
|
308
|
+
sycommon_python_lib-0.2.7a3.dist-info/RECORD,,
|
|
File without changes
|
{sycommon_python_lib-0.2.7a2.dist-info → sycommon_python_lib-0.2.7a3.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{sycommon_python_lib-0.2.7a2.dist-info → sycommon_python_lib-0.2.7a3.dist-info}/top_level.txt
RENAMED
|
File without changes
|