Commit Graph

5 Commits

Author SHA1 Message Date
zhangjun-bytedance 6d6b6889a9 feat: support bot identity (#2288) 2026-08-11 15:43:58 +08:00
zhicong666-bytedance 841953496b feat: support shared vc live references and document context (#2249)
* feat: parse document context meeting events

Source-Branch: features/F-larksuite-cli-document-context
Source-Commit: 427cbd6492
Source-Subject: fix: normalize mail triage filters (#2068)
Repo: larksuite-cli
Synced-By: bytedance
Timestamp: 20260803_093803Z

* test: assert ndjson section path semantically

Source-Branch: features/F-larksuite-cli-document-context
Source-Commit: 9b8bafeff4a5063347aa1e0c32e501669381e217
Source-Subject: feat: parse document context meeting events
Repo: larksuite-cli
Synced-By: bytedance
Timestamp: 20260803_095353Z

* fix: nest document context output and align slides aliases

Source-Branch: features/F-larksuite-cli-document-context
Source-Commit: 94ad66b5d4
Source-Subject: test: assert ndjson section path semantically
Repo: larksuite-cli
Synced-By: bytedance
Timestamp: 20260803_124142Z

* fix: preserve meeting event output contract

* fix: remove document context fallback projection

* refactor: reuse meeting event actor extraction

* refactor: simplify document context event handling

* refactor: reuse meeting timeline ordering

* test: align document context timeline order

* feat: support BOE endpoint overrides

* feat: share vc meeting references across skills

* docs: clarify shared document event correlation

* revert: remove local BOE endpoint overrides

* fix: compact document context events consistently

* docs: prefer pretty format for meeting events

* fix: harden document context event rendering

* docs: clarify active meeting discovery in vc skill

* fix: improve vc meeting event guidance

* fix: clarify live meeting content routing

* fix: require pretty output for meeting content

* docs: explain meeting event json cost

* fix: compact transcript speaker labels

* fix: correct vc identity guidance

---------

Co-authored-by: renaocheng <renaocheng@bytedance.com>
2026-08-10 23:25:56 +08:00
liangshuo-1 37d490a198 fix: unify dry-run output contract (#1870)
* fix: unify dry-run output contract

* fix: address dry-run review feedback

* fix(dryrun): tighten preview contract and unify data shape

- transcribe HTTP method verbatim in previews (HEAD/OPTIONS were
  reported as GET); reject an empty method in api with a typed error
- unify the dry-run data payload across api/service/shortcut paths:
  {api, context?: {app_id, user_open_id}}; drop data.as — the envelope
  top-level identity is the single identity source
- mark pretty dry-run stdout with '# dry-run: request not sent' so logs
  that drop stderr still show it was a preview
- extract the shared preview builder, collapse PrintDryRunWithFile's
  loose params into FileUploadMeta, and fail loudly on nil previews
- revert description-marker identity parsing: stale prose must not
  override corrected accessTokens (blocks legal user calls on
  images.create); identity gating keys off accessTokens only
- pin the new contracts with tests: verbatim method, three-way context
  parity, nil-preview error, empty-context omission, marker line

* docs(agents): add typed-data, faithful-transcription, and contract-test conventions

- typed struct at the boundary over map[string]interface{} threading;
  distinct types where values could swap silently (internal/meta.Token)
- transcribe input verbatim in previews/transformations; reject
  unhonorable flag combinations with typed errors instead of silently
  substituting behavior
- contract tests must fail when the implementation is reverted

* test: migrate dry-run tests grown on main to the envelope format

main gained raw-format dry-run readers while the PR was in flight
(wiki drive export #1802, drive list comments #1845, slash commands,
sheets history, docs fetch, mail draft-send/triage, vc meeting events).
Migrate them to the envelope accessors (clie2e.DryRunGet / data-wrapped
decoders) and drop the now-redundant DryRunData extractions in files
unified on DryRunGet.

---------

Co-authored-by: guokexin.02 <264159873+Tantanz20020918@users.noreply.github.com>
2026-07-14 10:54:16 +08:00
max 9413e7cd8b feat(vc): refine meeting-events output and reaction forwarding (#1674)
Refine `vc +meeting-events` around a stable agent-facing output contract.

The command now exposes structured meeting metadata, current read identity, normalized event rows, warnings, and pagination fields across JSON/NDJSON/pretty output. Event rows include stable event identifiers, event time, actors, and event-specific payloads for participant, chat/reaction, transcript, and magic-share events.

Improve meeting status inference by treating participant-left events with meeting-ended leave reasons as an ended signal, and keep compatibility with payload-only event shapes by falling back to `payload.activity_event_type`.

Update `lark-vc-agent` guidance for forwarding meeting chat and reactions to IM. Agents should build Feishu post content from JSON events, emit IM `emotion` nodes only for whitelisted reaction keys, and fall back unsupported reaction keys to text.

Add focused unit and dry-run E2E coverage for the event-type fallback and `vc +meeting-events --dry-run` request shape.
2026-07-08 15:35:14 +08:00
zhicong666-bytedance 171778951d feat(vc): add meeting message send shortcut (#1643)
* feat(vc): add meeting message send shortcut

* docs: refine vc meeting emoji guidance

* fix(vc): validate meeting message send conflicts

* test: add vc meeting message dry-run e2e

* fix(vc): validate meeting message send limits
2026-07-01 20:51:59 +08:00