@tianshu-ai/tianshu 0.66.0 → 0.66.1
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.
package/package.json
CHANGED
|
@@ -5502,7 +5502,7 @@ var RECORD_WIKI_STEPS = [
|
|
|
5502
5502
|
" \u2022 TURN INDEX: each transcript line is prefixed with [turn N]. When writing ANY wiki page (journal or thematic), group related messages by topic and note the turn range: '(turns X-Y \u2192 recall_range(X, Y))'. This lets a future reader pull back the exact original conversation with recall_range. Always include the turn range \u2014 it is the primary index into the session history.",
|
|
5503
5503
|
"3. Call wiki_day_done({ throughMs }) with the throughMs from wiki_next_day to advance the cursor past that day.",
|
|
5504
5504
|
"4. Repeat. When you've recorded all days of an ISO week / month / year, roll them up with wiki_journal_write: weekly (YYYY-Www) from its dailies, monthly (YYYY-MM) from its weeks, yearly (YYYY) from its months. Roll-ups summarise and link down \u2014 don't repeat detail.",
|
|
5505
|
-
"5.
|
|
5505
|
+
"5. Keep going until wiki_next_day reports done:true. Do NOT stop early \u2014 process every available day in this run. The cursor persists, so if the run is interrupted it resumes next time, but always aim for full completion. When done, give a one-paragraph summary of what you recorded.",
|
|
5506
5506
|
"Reuse wiki_search / wiki_list_pages / wiki_read first so you extend existing pages instead of duplicating them.",
|
|
5507
5507
|
"KNOWLEDGE LINKING: before writing any page, search the wiki (wiki_search) for related existing pages \u2014 entities, concepts, topics, and prior journal entries. In the new page, link every related page with [[section/slug]] wikilinks. Also UPDATE the related page to add a back-link to the new page (a 'Related' or 'See also' section). This builds a bidirectional knowledge graph: conversation history \u2194 entities \u2194 concepts \u2194 topics \u2194 journal entries. The goal is that searching any node in the wiki surfaces its full context: what was discussed (turn ranges + recall_range), what it relates to (wikilinks), and when it happened (journal links)."
|
|
5508
5508
|
];
|
|
@@ -6322,7 +6322,7 @@ function buildRoutes(ctx, cfg) {
|
|
|
6322
6322
|
sessionTitle: "Wiki update",
|
|
6323
6323
|
toolsAllow: WIKI_WORKER_TOOLS,
|
|
6324
6324
|
parentSessionId,
|
|
6325
|
-
timeouts: { firstResponseMs: 0, idleMs: 0, maxRunMs:
|
|
6325
|
+
timeouts: { firstResponseMs: 0, idleMs: 0, maxRunMs: 120 * 6e4 }
|
|
6326
6326
|
});
|
|
6327
6327
|
summary = result.summary;
|
|
6328
6328
|
status2 = result.status;
|