@sparkelf/dsh-patch-document-attachments 0.1.0-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DeepSeek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,6 @@
1
+ # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
2
+ # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
+ # after editing either side, bring the other along and re-record with:
4
+ # pnpm run verify-translation-pairing --write patches/npm/document-attachments/README.md
5
+ README.md: 03ab415e098e1dca7c0a1cdaea5146f781c1ad19
6
+ README.zh.md: e4f2d97443c2caa3f8b5e2fd651edd9cb8a2f735
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @sparkelf/dsh-patch-document-attachments
2
+
3
+ English | [中文](README.zh.md)
4
+
5
+ This data-only package adds the generic official-source integration points required by `@sparkelf/dsh-plugin-document-attachments`: immutable generic objects in AttachmentStore, durable DocumentBlock content, request-only LLM projection from a persisted modelText artifact, prepared Session prompt callbacks, one mixed Client draft transaction, Host-projected Document limits, and nested composer, Chat, and Trajectory presentation slots. Image-only AttachmentStore providers retain an explicit generic-file unsupported result; the local provider overrides the complete generic object implementation. The payload also gives the existing attachment surface one generic mixed image-and-document file chooser with a conversation-owned bilingual label. It contains no parser, wire admission, product delimiters, Document cards, provider endpoint, or fallback behavior; those remain in the capability package.
6
+
7
+ The target is exact official source revision `cd5ef8148158c3a752a658978873241fdf8e2bbc`. The payload is applied before building that source tree. The package has no JavaScript entry, lifecycle script, Cordis plugin, compatibility adapter, or alternate variant.
8
+
9
+ Retire this package when official DSH supplies equivalent generic file-object storage, Document content persistence and model projection, prepared prompt settlement, mixed draft attachment integration, generic attachment file selection, and nested Document presentation slots.
package/README.zh.md ADDED
@@ -0,0 +1,9 @@
1
+ # @sparkelf/dsh-patch-document-attachments
2
+
3
+ [English](README.md) | 中文
4
+
5
+ 该data-only package为 `@sparkelf/dsh-plugin-document-attachments` 补充generic official-source integration points:AttachmentStore中的immutable generic objects、durable DocumentBlock content、从persisted modelText artifact生成的request-only LLM projection、prepared Session prompt callbacks、单个mixed Client draft transaction、Host-projected Document limits,以及nested composer、Chat和Trajectory presentation slots。Image-only AttachmentStore providers保留明确的generic-file unsupported结果;local provider override完整generic object implementation。payload还为existing attachment surface提供一个generic mixed image-and-document file chooser及conversation-owned bilingual label。它不包含parser、wire admission、product delimiters、Document cards、provider endpoint或fallback behavior;这些均由capability package持有。
6
+
7
+ target是exact official source revision `cd5ef8148158c3a752a658978873241fdf8e2bbc`,payload在该source tree build前应用。本package没有JavaScript entry、lifecycle script、Cordis plugin、compatibility adapter或alternate variant。
8
+
9
+ official DSH提供等价generic file-object storage、Document content persistence与model projection、prepared prompt settlement、mixed draft attachment integration、generic attachment file selection及nested Document presentation slots后,retire本package。
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "description": "Data-only exact official-source patch adding generic durable Document integration points consumed by the Plus Document capability",
3
+ "dshPatch": {
4
+ "formatVersion": 1,
5
+ "variants": [
6
+ {
7
+ "dsh": ">=0.1.2-alpha.1",
8
+ "file": "./patches/document-attachments.patch",
9
+ "id": "document-attachment-generic-integration",
10
+ "target": {
11
+ "baseRevision": "cd5ef8148158c3a752a658978873241fdf8e2bbc",
12
+ "kind": "dsh-source",
13
+ "paths": [
14
+ "packages/api/session-controller/src/",
15
+ "packages/attachment/attachment/src/",
16
+ "packages/attachment/attachment-local/src/",
17
+ "packages/client/ui-attachment/src/",
18
+ "packages/client/ui-attachment/tests/",
19
+ "packages/client/ui-chat/src/",
20
+ "packages/client/ui-conversation/src/",
21
+ "packages/client/ui-conversation/tests/",
22
+ "packages/client/ui-trajectory/src/",
23
+ "packages/llm/llm/src/",
24
+ "packages/llm/llm-deepseek/src/",
25
+ "packages/llm/llm-pi-ai/src/"
26
+ ]
27
+ }
28
+ }
29
+ ]
30
+ },
31
+ "files": [
32
+ "patches/*.patch"
33
+ ],
34
+ "license": "MIT",
35
+ "name": "@sparkelf/dsh-patch-document-attachments",
36
+ "publishConfig": {
37
+ "access": "public"
38
+ },
39
+ "repository": {
40
+ "directory": "patches/npm/document-attachments",
41
+ "type": "git",
42
+ "url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
43
+ },
44
+ "type": "module",
45
+ "version": "0.1.0-rc.10"
46
+ }