feat(copilot): add share_file tool + surface file share state to the agent #22702
ci.yml
on: pull_request
Detect Version
Migrate Dev DB
/
Apply Database Migrations
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build
/
Lint and Test
3m 3s
Test and Build
/
Build App
2m 53s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Create GitHub Release
Annotations
6 errors and 9 warnings
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Lint and Test
sim#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
|
|
lib/copilot/tools/tool-display.test.ts > getToolDisplayTitle natural-language coverage > resolves every catalog action and operation enum without a generic placeholder:
apps/sim/lib/copilot/tools/tool-display.test.ts#L138
AssertionError: expected [ …(2) ] to deeply equal []
- Expected
+ Received
- []
+ [
+ "share_file.action=share: Share File",
+ "share_file.action=unshare: Share File",
+ ]
❯ lib/copilot/tools/tool-display.test.ts:138:32
|
|
lib/copilot/tools/tool-display.test.ts > getToolDisplayTitle natural-language coverage > has a completed-verb rewrite for every visible non-agent catalog tool:
apps/sim/lib/copilot/tools/tool-display.test.ts#L104
AssertionError: expected [ 'share_file: Share File' ] to deeply equal []
- Expected
+ Received
- []
+ [
+ "share_file: Share File",
+ ]
❯ lib/copilot/tools/tool-display.test.ts:104:35
|
|
lib/copilot/tools/tool-display.test.ts > getToolDisplayTitle natural-language coverage > has an intentional display title for every visible catalog tool:
apps/sim/lib/copilot/tools/tool-display.test.ts#L93
AssertionError: expected [ 'share_file' ] to deeply equal []
- Expected
+ Received
- []
+ [
+ "share_file",
+ ]
❯ lib/copilot/tools/tool-display.test.ts:93:31
|
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|