chore: 清理历史归档与曾用 id(移至 backups/removed-20260916/)
- 13 项:agents-archived 下 7 个曾用 id(bt/usb/wit-dmp/wit-erp/wit-md/yudao/yudao-mall-uniapp)、sandboxes 下 2 个陈旧沙箱(agent-main-f331f052、agent-translator-agent-107bc5c0)、archived 下 4 项(qqbot/rss-reader.py/rss-sources.xml/gateway-supervisor-restart-handoff.json) - 全部移至 backups/removed-20260916/,并留 MANIFEST-taskD.txt 回滚映射;同盘 mv 不释放磁盘,仅清出活动树约 1.9M - 依据:13 项均零活引用(restart-handoff 经反编译新旧两版确认已改 SQLite 存储) - 保留空目录 agents-archived/ sandboxes/ archived/ 本身 - 注:backups/ 受 .gitignore 覆盖,搬入的实物不入库
This commit is contained in:
@@ -1 +0,0 @@
|
||||
{}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"version": 1,
|
||||
"profiles": {}
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
{
|
||||
"providers": {
|
||||
"ollama": {
|
||||
"baseUrl": "http://127.0.0.1:11434",
|
||||
"apiKey": "OLLAMA_API_KEY",
|
||||
"api": "ollama",
|
||||
"models": [
|
||||
{
|
||||
"id": "glm-4.7-flash",
|
||||
"name": "glm-4.7-flash",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 8192
|
||||
},
|
||||
{
|
||||
"id": "qwen3-coder:latest",
|
||||
"name": "qwen3-coder:latest",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 8192
|
||||
},
|
||||
{
|
||||
"id": "glm-4.7-flash:latest",
|
||||
"name": "glm-4.7-flash:latest",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 202752,
|
||||
"maxTokens": 8192
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{}
|
||||
@@ -1 +0,0 @@
|
||||
{}
|
||||
@@ -1,62 +0,0 @@
|
||||
{
|
||||
"providers": {
|
||||
"ollama": {
|
||||
"baseUrl": "http://127.0.0.1:11434",
|
||||
"apiKey": "OLLAMA_API_KEY",
|
||||
"api": "ollama",
|
||||
"models": [
|
||||
{
|
||||
"id": "glm-4.7-flash",
|
||||
"name": "glm-4.7-flash",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 128000,
|
||||
"maxTokens": 8192,
|
||||
"api": "ollama"
|
||||
},
|
||||
{
|
||||
"id": "qwen3-coder:latest",
|
||||
"name": "qwen3-coder:latest",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 8192,
|
||||
"api": "ollama"
|
||||
},
|
||||
{
|
||||
"id": "glm-4.7-flash:latest",
|
||||
"name": "glm-4.7-flash:latest",
|
||||
"reasoning": false,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 202752,
|
||||
"maxTokens": 8192,
|
||||
"api": "ollama"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{}
|
||||
@@ -1 +0,0 @@
|
||||
{}
|
||||
@@ -1 +0,0 @@
|
||||
{}
|
||||
@@ -1 +0,0 @@
|
||||
{"kind":"gateway-supervisor-restart-handoff","version":1,"intentId":"6a27f6fc-5ffd-48b8-bbd4-304eb9367aea","pid":378,"processInstanceId":"adf773e3-6c9c-419e-a85b-4091c0c10089","createdAt":1782953815876,"expiresAt":1782953875876,"reason":"update.run","source":"gateway-update","restartKind":"update-process","supervisorMode":"systemd"}
|
||||
@@ -1,60 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Simple RSS Reader
|
||||
"""
|
||||
import rssparser
|
||||
import feedparser
|
||||
import json
|
||||
import sys
|
||||
from datetime import datetime
|
||||
|
||||
def read_feed(url):
|
||||
"""Read RSS feed and return parsed items"""
|
||||
try:
|
||||
feed = feedparser.parse(url)
|
||||
return {
|
||||
'title': feed.get('title', 'Unknown'),
|
||||
'link': feed.get('link', ''),
|
||||
'description': feed.get('description', ''),
|
||||
'language': feed.get('language', ''),
|
||||
'items': [
|
||||
{
|
||||
'title': item.get('title', 'No title'),
|
||||
'link': item.get('link', ''),
|
||||
'description': item.get('description', ''),
|
||||
'pubDate': item.get('pubDate', ''),
|
||||
'author': item.get('author', '')
|
||||
}
|
||||
for item in feed.get('items', [])[:10] # Get first 10 items
|
||||
]
|
||||
}
|
||||
except Exception as e:
|
||||
return {'error': str(e)}
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) < 2:
|
||||
print("Usage: python3 rss-reader.py <rss-url>")
|
||||
sys.exit(1)
|
||||
|
||||
url = sys.argv[1]
|
||||
print(f"Fetching RSS feed: {url}\n")
|
||||
|
||||
data = read_feed(url)
|
||||
|
||||
if 'error' in data:
|
||||
print(f"Error: {data['error']}")
|
||||
else:
|
||||
print(f"Title: {data['title']}")
|
||||
print(f"Language: {data['language']}")
|
||||
print(f"Last updated: {data.get('description', 'N/A')[:100]}...\n")
|
||||
print(f"{'='*60}")
|
||||
print(f"Articles ({len(data['items'])} items)\n")
|
||||
print(f"{'='*60}\n")
|
||||
|
||||
for i, item in enumerate(data['items'], 1):
|
||||
print(f"{i}. {item['title']}")
|
||||
print(f" Link: {item['link']}")
|
||||
print(f" Published: {item['pubDate']}")
|
||||
if item['author']:
|
||||
print(f" Author: {item['author']}")
|
||||
print()
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
|
||||
<channel>
|
||||
<atom:link href="https://www.gulf-times.com/rssFeed/6" rel="self" type="application/rss+xml"/>
|
||||
<lastBuildDate>Wed, 18 Mar 2026 04:40:32 +0300</lastBuildDate>
|
||||
<title><![CDATA[Gulf Times - Region News]]></title>
|
||||
<image>
|
||||
<url>https://www.gulf-times.com/theme_gulftimes/images/logo.png</url>
|
||||
<link>https://www.gulf-times.com/</link>
|
||||
<title><![CDATA[Gulf Times]]></title>
|
||||
</image>
|
||||
<description><![CDATA[ Gulf Times RSS Feed: Region News - Middle East Updates ]]></description>
|
||||
<copyright><![CDATA[Copyright 2026, Gulf Times]]></copyright>
|
||||
<link>https://www.gulf-times.com/</link>
|
||||
<ttl>60</ttl>
|
||||
</channel>
|
||||
</rss>
|
||||
Reference in New Issue
Block a user