Commit Graph

8137 Commits

Author SHA1 Message Date
FFXN
e058a6c14d fix(knowledge-import): handle temporary policy-write fence for website source imports 2026-09-07 18:10:10 +08:00
FFXN
9006e110ed fix(knowledge-import): handle temporary policy-write fence for website source imports 2026-09-07 18:07:34 +08:00
FFXN
d60245efb9 fix(website-import): add replaceExistingSelection flag to crawl import payload 2026-09-07 16:50:04 +08:00
Jyong
1e7017772a fix(ci): cover extracted KnowledgeFS core modules 2026-09-07 03:48:42 -04:00
Jyong
a4bea4e7d3 fix(agent): align KnowledgeFS integration type contracts 2026-09-07 03:44:37 -04:00
Jyong
b68cc9f1ff fix(ci): refresh exact KnowledgeFS test-fixture scan locations 2026-09-07 03:41:34 -04:00
FFXN
5913a0e2e7 fix(website-import): ensure proper handling of replacement selections and reconcile inventory 2026-09-07 15:39:08 +08:00
Stephen Zhou
6417b55f50
fix(knowledge-fs): resolve CI failures and defer workflow runtime initialization 2026-09-07 15:36:28 +08:00
Jyong
4e17182fc2 feat(agent): enable autonomous KnowledgeFS CLI access 2026-09-07 03:32:33 -04:00
FFXN
20d9fff987 fix(knowledge-fs): sync latest website selection without self-fencing deletions 2026-09-07 11:40:53 +08:00
FFXN
30ad3801d2 Merge remote-tracking branch 'origin/deploy/konwledge' into deploy/konwledge
# Conflicts:
#	api/knowledge-fs-contract.lock.json
2026-09-07 11:40:38 +08:00
FFXN
33f5d6a065 fix(knowledge-fs): sync latest website selection without self-fencing deletions 2026-09-07 11:35:56 +08:00
Stephen Zhou
31e946a11d
Merge remote-tracking branch 'origin/main' into deploy/konwledge 2026-09-07 10:44:31 +08:00
Jyong
24db4f5af9 fix(knowledge-fs): bound document parsing and isolate resource-heavy work 2026-09-05 23:42:16 -04:00
chenshiyang
3c55dcc3d1
refactor(models): pass session into AppAnnotationHitHistory accessors (#41832)
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-05 10:32:30 +00:00
chenshiyang
fde602dadf
refactor(models): pass session into tool provider accessors (#41830)
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-05 10:31:41 +00:00
Eddy ZHANG
d69b19b567
refactor(web): dep-inject the passport query with @model_validate (#41845) 2026-09-05 10:31:05 +00:00
FFXN
484adb3cfa fix(knowledge-fs): recover website import workflows and log scheduler failures` 2026-09-04 23:36:45 +08:00
FFXN
74c702a5ab fix(api): fix CI 2026-09-04 22:30:00 +08:00
FFXN
3e5b4640d6 fix(api): fix CI 2026-09-04 22:17:16 +08:00
FFXN
9f52da1a4d fix(knowledge-fs): retry transient embeddings and recover website source state 2026-09-04 22:07:30 +08:00
FFXN
2f2aa585bd Merge remote-tracking branch 'origin/deploy/konwledge' into deploy/konwledge 2026-09-04 22:07:17 +08:00
FFXN
b3ae5b8da2 fix(knowledge-fs): retry transient embeddings and recover website source state 2026-09-04 22:06:49 +08:00
Stephen Zhou
57a283d88c
Merge remote-tracking branch 'origin/main' into deploy/konwledge
# Conflicts:
#	web/features/new-rag/__tests__/add-source-page.spec.tsx
#	web/features/new-rag/__tests__/document-detail-page.spec.tsx
#	web/features/new-rag/add-source-page.tsx
#	web/features/new-rag/components/add-source-exit-dialog.tsx
#	web/features/new-rag/crawl-selection-form.tsx
#	web/features/new-rag/document-chunk-tree.tsx
#	web/features/new-rag/document-detail-header.tsx
#	web/features/new-rag/document-detail-page.tsx
#	web/features/new-rag/document-detail-status.tsx
#	web/features/new-rag/document-list.tsx
#	web/features/new-rag/documents-page.tsx
#	web/features/new-rag/documents/__tests__/page.spec.tsx
#	web/features/new-rag/knowledge-space-shell.tsx
#	web/features/new-rag/new-knowledge-list.tsx
#	web/features/new-rag/processing-tasks-drawer.tsx
#	web/features/new-rag/sources-page.tsx
#	web/features/new-rag/sources/create/__tests__/website-crawl-preview.spec.tsx
#	web/features/new-rag/sources/create/website-crawl-preview.tsx
2026-09-04 21:22:37 +08:00
Stephen Zhou
a2740f12a8
Merge remote-tracking branch 'origin/deploy/konwledge' into deploy/konwledge 2026-09-04 21:11:18 +08:00
FFXN
90dd7fa894 fix(knowledge-fs): propagate preview capability to crawl import 2026-09-04 21:09:44 +08:00
FFXN
8be760ac12 fix(knowledge-fs): preserve website preview bindings and surface import failures 2026-09-04 20:38:05 +08:00
Asuka Minato
08c7a2c5f3
test: migrate application generation sessions and ORM models to SQLite (#40509) 2026-09-04 12:16:31 +00:00
Stephen Zhou
0a36f2a9f9
Merge remote-tracking branch 'origin/deploy/konwledge' into deploy/konwledge 2026-09-04 20:02:48 +08:00
FFXN
244226b4da fix(knowledge-fs): harden website preview lifecycle
- prevent preview cancellation during knowledge base creation handoff
- serialize preview scheduler ticks and handle timer failures
- prevent cleanup jobs from starving queued previews
- pass workflow page content through object storage references
2026-09-04 19:56:04 +08:00
Stephen Zhou
38457f27fb
Merge remote-tracking branch 'origin/main' into deploy/konwledge
# Conflicts:
#	.agents/skills/how-to-write-component/references/data.md
#	.agents/skills/how-to-write-component/references/ownership.md
#	api/controllers/inner_api/__init__.py
#	api/tests/test_containers_integration_tests/services/test_account_service.py
#	api/tests/unit_tests/services/test_account_service.py
#	packages/iconify-collections/custom-public/icons.json
#	packages/iconify-collections/custom-public/info.json
#	web/features/new-rag/__tests__/new-knowledge-list.spec.tsx
#	web/features/new-rag/components/knowledge-space-card.tsx
#	web/features/new-rag/document-chunk-tree.tsx
#	web/features/tag-management/components/tag-search-content.tsx
#	web/features/tag-management/components/tag-selector.tsx
#	web/service/client.spec.ts
2026-09-04 19:42:31 +08:00
Stephen Zhou
6aba69326e
fix(knowledge-fs): show v2 workflow citations 2026-09-04 19:21:59 +08:00
FFXN
9d4c9b7c63 Merge remote-tracking branch 'origin/deploy/konwledge' into deploy/konwledge 2026-09-04 18:11:04 +08:00
非法操作
e6c9846726
refactor(api): isolate workflow app log queries (#41509) 2026-09-04 10:06:46 +00:00
FFXN
db44dbe561 fix(knowledge-fs): support namespace preview persistence and capability audits
- declare namespace preview tables and indexes in the runtime schema
- allow capability audit records before a control space exists
- preserve namespace audit details in the sanitized claims summary
- add schema, migration, and audit regression coverage
2026-09-04 17:56:14 +08:00
Jyong
b79b8a879b feat(knowledge-fs): record and count every knowledge space query
Workflow KnowledgeFS retrieval nodes ran through `retrieval-tests`, which
never wrote an AnswerTrace or an overview event, so their queries were
missing from the retrieval history and from the space overview; the history
also only ever showed each member their own traces.

- AnswerTrace gains a `source` (retrieval_test | workflow | service_api |
  agent | mcp; migration 0051_answer_trace_source) derived from the
  Capability v2 caller kind. The retrieval-tests route records one trace per
  run (stages, evidence bundle, profile metadata), returns its id as
  `answerTraceId`, and the workflow node's failed-retrieval capture attaches
  to that trace instead of creating a second record.
- The quality trace list exposes and filters by `source`; traces from other
  caller kinds are visible to any current reader of the space, and counts and
  scores fall back to the evidence embedded in the trace when no bundle row
  exists.
- Overview accounting: retrieval-tests and Research tasks now emit
  `query.requested`, and the Research job state machine emits
  `query.completed` / `query.failed` on terminal stages (wired for both the
  in-process gateway and the durable runtime), so query volume, answer rate
  and outcomes include every caller. Activity details keep `source` and
  `taskKind`.
- Console and service trace routes accept a `source` filter; the retrieval
  test page shows a source badge and an all / retrieval tests / workflow
  filter, with translations for every locale.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015zw5G5SX3HmVfnZof6YWAc
2026-09-04 05:48:17 -04:00
FFXN
397cc2d7cc fix(knowledge-fs): add namespace source preview jobs and pages schema 2026-09-04 17:23:56 +08:00
Pranav Agarwal
067a60e0ac
fix(api): enforce admin and RBAC permissions on model provider model credential GET endpoint (#41599) (#41600)
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai>
2026-09-04 09:17:41 +00:00
非法操作
b15fb30ff5
refactor(api): extract app statistic queries from console controllers (#41557) 2026-09-04 09:15:51 +00:00
FFXN
3171b69984 feat(knowledge-fs): fix CI. 2026-09-04 16:56:21 +08:00
FFXN
c6b2978f6e Merge remote-tracking branch 'origin/deploy/konwledge' into deploy/konwledge
# Conflicts:
#	api/knowledge-fs-contract.lock.json
2026-09-04 16:56:11 +08:00
FFXN
40e30d9fa6 feat(knowledge-fs): fix CI. 2026-09-04 16:55:47 +08:00
Asuka Minato
7128456d57
test: migrate core agent runner sessions and ORM models to SQLite (#40508) 2026-09-04 08:50:33 +00:00
Stephen Zhou
876aab708e
fix(knowledge-fs): track workflow retrieval outcomes 2026-09-04 16:50:09 +08:00
bucketbase26
b5ee943a63
fix(trigger): sync plugin relationships on publish (#41756) 2026-09-04 08:33:48 +00:00
FFXN
d4d51e0e20 feat(knowledge-fs): fix CI. 2026-09-04 16:18:02 +08:00
eux
7919df7ef5
fix(api): skip invalid markdown image URLs (#41343) 2026-09-04 08:17:33 +00:00
非法操作
f8930aba34
refactor(api): extract console workflow run application service (#41336) 2026-09-04 08:16:49 +00:00
Zhu Lei
949f6c4ad4
fix(api): correct Service API segments has_more pagination (#41776) 2026-09-04 08:00:53 +00:00
FFXN
e318a2f1ca feat(knowledge-fs): add namespace preview for initial website sources
- create website preview jobs before a knowledge space exists
- persist crawled page content in KnowledgeFS object storage
- import selected pages using preview job and page IDs
- validate preview ownership, expiry, and configuration fingerprint
- clean up preview content after cancellation, expiry, or consumption
- add namespace preview routes, capabilities, migrations, and contracts
- keep online document and drive flows unchanged
2026-09-04 15:53:01 +08:00