-
Notifications
You must be signed in to change notification settings - Fork 581
feat: unify minute artifacts output to ./minutes/{minute_token}/ #604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f06121c
feat: unify minute artifacts output to ./minutes/{minute_token}/
Ren1104 3184006
fix: tighten path validation and batch-mode --output rejection
Ren1104 7ac6b0e
style: translate comments to english and trim historical context
Ren1104 eb908ec
style: translate leftover chinese comments in vc_notes
Ren1104 31d5feb
refactor: address review findings across validate ordering, error typ…
Ren1104 aecf67d
fix: sanitize server-provided filename to prevent escape from artifac…
Ren1104 685f9f5
style: tighten flag help text for minutes/vc output flags
Ren1104 e7dfcee
docs: update minutes/vc skill docs for unified artifact layout
Ren1104 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| // Copyright (c) 2026 Lark Technologies Pte. Ltd. | ||
| // SPDX-License-Identifier: MIT | ||
|
|
||
| // This file defines artifact-path conventions shared between | ||
| // `minutes +download` and `vc +notes`. Callers outside those two shortcuts | ||
| // should not take a dependency on these symbols. | ||
|
|
||
| package common | ||
|
|
||
| import "path/filepath" | ||
|
|
||
| // DefaultMinuteArtifactSubdir is the top-level directory for minute-scoped | ||
| // artifacts under the default layout. | ||
| const DefaultMinuteArtifactSubdir = "minutes" | ||
|
|
||
| // DefaultTranscriptFileName is the fixed transcript filename under the | ||
| // default layout. Recording files keep the server-provided name. | ||
| const DefaultTranscriptFileName = "transcript.txt" | ||
|
|
||
| // ArtifactTypeRecording is the artifact_type value emitted by | ||
| // `minutes +download` so that callers can index results by kind without | ||
| // parsing saved_path. | ||
| const ArtifactTypeRecording = "recording" | ||
|
|
||
| // DefaultMinuteArtifactDir returns the default output directory for an | ||
| // artifact keyed by minuteToken. The same path is shared across commands so | ||
| // that related artifacts of one meeting land together. | ||
| func DefaultMinuteArtifactDir(minuteToken string) string { | ||
| return filepath.Join(DefaultMinuteArtifactSubdir, minuteToken) | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.