kimi-code/packages/node-sdk/test
7Sageer e736349a7c
feat(feedback): support attaching logs and codebase (#1120)
* feat(feedback): support attaching logs and codebase

Add an attachment picker to /feedback (none / logs / logs + codebase).
Codebase uploads scan the working directory with sensitive files excluded
and are sent through a new multipart upload API on the oauth/node-sdk layers.

* fix(feedback): fall back to logs when codebase scan fails

* tiny fix

* fix(feedback): make diagnostic uploads partial-safe

* refactor(feedback): reuse harness session export and normalize upload url types

* docs(slash-commands): note optional feedback attachments

* refactor(feedback): reorganize feedback upload modules

Move the attachment orchestration out of tui/commands/info.ts into a
dedicated feedback/feedback-attachments.ts, and split the former
codebase-upload/attach.ts into a generic multipart uploader
(feedback/upload.ts) and an archive lifecycle module
(feedback/archive.ts). Both session and codebase archives now flow
through a single upload lifecycle, which also removes the temp-dir
leak that occurred when codebase packaging failed.

Rename FeedbackCodebaseArchive to FeedbackArchive and the
codebase-upload/ directory to codebase/ so module boundaries match
their actual responsibilities (scan + package only).
2026-06-26 16:15:08 +08:00
..
auth-facade.test.ts feat(feedback): support attaching logs and codebase (#1120) 2026-06-26 16:15:08 +08:00
catalog.test.ts fix(catalog): preserve reasoning fields in custom model (#70) 2026-05-26 17:32:37 +08:00
config.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
create-session-transport.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
export-session.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
kimi-code-model-provider.test.ts fix: classify OAuth token refresh errors by cause (#838) 2026-06-17 18:34:42 +08:00
list-sessions.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
local-logging.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
rename-session.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
runtime-provider-identity.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
runtime-provider-oauth.test.ts refactor(agent-core): make Agent constructable and consolidate provider-manager (#161) 2026-05-28 20:33:10 +08:00
session-approval-handler.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-background-tasks.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-cancel.test.ts feat(protocol): extract shared protocol package from agent-core (#612) 2026-06-10 14:03:38 +08:00
session-event-types.test.ts feat: add shell mode (!) to the CLI (#1079) 2026-06-25 21:24:53 +08:00
session-goal.test.ts fix: restore goal resume state from agent records (#552) 2026-06-09 10:02:19 +08:00
session-plan-compact-usage-resume.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
session-prompt-events.test.ts fix: scope interactive agent requests (#648) 2026-06-11 15:37:09 +08:00
session-prompt-input.test.ts fix: scope interactive agent requests (#648) 2026-06-11 15:37:09 +08:00
session-question-handler.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-runtime-helpers.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
session-set-model.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-set-permission.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-set-thinking.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
session-skills.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
session-steer.test.ts refactor: split SDK RPC client (#339) 2026-06-03 15:30:38 +08:00
telemetry.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
test-identity.ts Kimi For Coding 2026-05-22 15:54:50 +08:00