Преглед на файлове

fix(test): align snapshots with latest base

Tianyi Cui преди 1 месец
родител
ревизия
8e23adcd28

+ 1 - 1
snapshots/session/headless.snapshot.ts

@@ -46,7 +46,7 @@ const dshBin = join(repoRoot, 'apps/cli/src/bin.ts')
 const tsconfigPath = join(repoRoot, 'tsconfig.json')
 const editingCordisSkill = join(
   repoRoot,
-  'apps/cli/config/agent-presets/cordis/skills/editing-cordis-compositions/SKILL.md',
+  'packages/preset/agent-presets/presets/cordis/skills/editing-cordis-compositions/SKILL.md',
 )
 
 type SnapshotMode = 'replay' | 'record' | 'refresh'

Файловите разлики са ограничени, защото са твърде много
+ 7 - 7
snapshots/web/goal-multi-turn-actions/session.jsonl


+ 16 - 31
snapshots/web/goal-multi-turn-actions/ui.expected.md

@@ -26,10 +26,8 @@
   - img
   - img
   - text: "Think The user's goal is: \"做两个turn,每个turn输出随机一个包的文件结构。注意你做完一个turn之后,直接输出内容,停止,我们的系统会帮你再开一个turn,你看着做一个类似的\" — which translates to: \"Do two turns, each turn output the file structure of a random package. Note that after you finish one turn, directly output the content and stop; our system will help you open another turn, and you just do something similar.\""
-- button "Bash List package directories deterministically":
-  - img
-  - img
-  - text: Bash List package directories deterministically
+- img
+- text: Bash List package directories deterministically
 - 'button "Tool call get_goal · {}"':
   - img
   - img
@@ -38,33 +36,26 @@
   - img
   - img
   - text: "Think There's a `packages` directory. Let me look inside to see what packages are available."
-- button "Bash List packages directory contents":
-  - img
-  - img
-  - text: Bash List packages directory contents
+- img
+- text: Bash List packages directory contents
 - button "Think There are 4 packages:":
   - img
   - img
   - text: "Think There are 4 packages:"
-- button "Failed Bash Randomly pick one package directory":
-  - img
-  - text: Failed Bash Randomly pick one package directory
+- img
+- text: Bash Randomly pick one package directory
 - 'button "Think shuf is not available on macOS. I''ll use a different approach for random selection. Let me use $RANDOM in bash or use `sort -R` or Python."':
   - img
   - img
   - text: "Think shuf is not available on macOS. I'll use a different approach for random selection. Let me use $RANDOM in bash or use `sort -R` or Python."
-- button "Bash Randomly select one package with Python":
-  - img
-  - img
-  - text: Bash Randomly select one package with Python
+- img
+- text: Bash Randomly select one package with Python
 - 'button "Think The random pick for turn 1 is `packages/context/session-reference`. Now I''ll output its file structure. Let me get the file tree."':
   - img
   - img
   - text: "Think The random pick for turn 1 is `packages/context/session-reference`. Now I'll output its file structure. Let me get the file tree."
-- button "Bash List all files in session-reference package":
-  - img
-  - img
-  - text: Bash List all files in session-reference package
+- img
+- text: Bash List all files in session-reference package
 - 'button "Think Turn 1 is done. Per the objective: \"你做完一个turn之后,直接输出内容,停止\" — after finishing a turn, directly output the content and stop. The system will open another turn."':
   - img
   - img
@@ -96,22 +87,16 @@
   - img
   - img
   - text: "Think This is turn 2 of 2. I need to randomly pick another package and output its file structure. In the first turn I picked `packages/context/session-reference`. Let me pick a different one randomly this time."
-- button "Bash Randomly select another package with Python":
-  - img
-  - img
-  - text: Bash Randomly select another package with Python
+- img
+- text: Bash Randomly select another package with Python
 - 'button "Think The random pick returned the same package as turn 1. Since turn 1 already covered `session-reference`, it would be better to pick a different one for variety. Let me re-roll, excluding the already-covered package."':
   - img
   - img
   - text: "Think The random pick returned the same package as turn 1. Since turn 1 already covered `session-reference`, it would be better to pick a different one for variety. Let me re-roll, excluding the already-covered package."
-- button "Bash Re-roll excluding the package from turn 1":
-  - img
-  - img
-  - text: Bash Re-roll excluding the package from turn 1
-- button "Bash List all files in token-meter package":
-  - img
-  - img
-  - text: Bash List all files in token-meter package
+- img
+- text: Bash Re-roll excluding the package from turn 1
+- img
+- text: Bash List all files in token-meter package
 - 'button "Think This is turn 2 of 2. I''ve output the file structure for `packages/llm/token-meter`. Both turns are done. I should output the content, stop, and then mark the goal as complete since both turns are finished."':
   - img
   - img

Някои файлове не бяха показани, защото твърде много файлове са промени