@awiki/dsh-plugin 0.2.0-rc.4

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.
Files changed (118) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +138 -0
  3. package/README.zh.md +114 -0
  4. package/THIRD_PARTY_NOTICES.md +21 -0
  5. package/cordis.patch.yml +26 -0
  6. package/lib/client.js +8398 -0
  7. package/lib/client.js.map +1 -0
  8. package/lib/index.js +1497 -0
  9. package/lib/invariant.js +16 -0
  10. package/lib/provider.js +22 -0
  11. package/lib/sdk-adapter-DPPZhs6p.mjs +316 -0
  12. package/lib/summary-provider.js +192 -0
  13. package/lib/typert.host.d.ts +3 -0
  14. package/lib/typert.host.js +1201 -0
  15. package/lib/typert.remote-client.d.ts +54 -0
  16. package/lib/typert.remote-client.d.ts.map +1 -0
  17. package/lib/typert.remote-client.js +817 -0
  18. package/lib/types/client/AwikiOverlay.d.ts +22 -0
  19. package/lib/types/client/AwikiOverlay.d.ts.map +1 -0
  20. package/lib/types/client/AwikiOverlay.js +689 -0
  21. package/lib/types/client/AwikiOverlay.js.map +1 -0
  22. package/lib/types/client/AwikiSettingsSection.d.ts +25 -0
  23. package/lib/types/client/AwikiSettingsSection.d.ts.map +1 -0
  24. package/lib/types/client/AwikiSettingsSection.js +119 -0
  25. package/lib/types/client/AwikiSettingsSection.js.map +1 -0
  26. package/lib/types/client/assets.d.ts +3 -0
  27. package/lib/types/client/assets.d.ts.map +1 -0
  28. package/lib/types/client/assets.js +70 -0
  29. package/lib/types/client/assets.js.map +1 -0
  30. package/lib/types/client/controller.d.ts +194 -0
  31. package/lib/types/client/controller.d.ts.map +1 -0
  32. package/lib/types/client/controller.js +701 -0
  33. package/lib/types/client/controller.js.map +1 -0
  34. package/lib/types/client/file.d.ts +20 -0
  35. package/lib/types/client/file.d.ts.map +1 -0
  36. package/lib/types/client/file.js +41 -0
  37. package/lib/types/client/file.js.map +1 -0
  38. package/lib/types/client/index.d.ts +16 -0
  39. package/lib/types/client/index.d.ts.map +1 -0
  40. package/lib/types/client/index.js +129 -0
  41. package/lib/types/client/index.js.map +1 -0
  42. package/lib/types/client/settings-controller.d.ts +28 -0
  43. package/lib/types/client/settings-controller.d.ts.map +1 -0
  44. package/lib/types/client/settings-controller.js +139 -0
  45. package/lib/types/client/settings-controller.js.map +1 -0
  46. package/lib/types/client/settings-locales.d.ts +13 -0
  47. package/lib/types/client/settings-locales.d.ts.map +1 -0
  48. package/lib/types/client/settings-locales.js +68 -0
  49. package/lib/types/client/settings-locales.js.map +1 -0
  50. package/lib/types/client/slots.d.ts +74 -0
  51. package/lib/types/client/slots.d.ts.map +1 -0
  52. package/lib/types/client/slots.js +3 -0
  53. package/lib/types/client/slots.js.map +1 -0
  54. package/lib/types/client/store.d.ts +18 -0
  55. package/lib/types/client/store.d.ts.map +1 -0
  56. package/lib/types/client/store.js +17 -0
  57. package/lib/types/client/store.js.map +1 -0
  58. package/lib/types/client.d.ts +3 -0
  59. package/lib/types/client.d.ts.map +1 -0
  60. package/lib/types/client.js +3 -0
  61. package/lib/types/client.js.map +1 -0
  62. package/lib/types/domain.d.ts +10 -0
  63. package/lib/types/domain.d.ts.map +1 -0
  64. package/lib/types/domain.js +18 -0
  65. package/lib/types/domain.js.map +1 -0
  66. package/lib/types/index.d.ts +188 -0
  67. package/lib/types/index.d.ts.map +1 -0
  68. package/lib/types/index.js +861 -0
  69. package/lib/types/index.js.map +1 -0
  70. package/lib/types/invariant.d.ts +9 -0
  71. package/lib/types/invariant.d.ts.map +1 -0
  72. package/lib/types/invariant.js +14 -0
  73. package/lib/types/invariant.js.map +1 -0
  74. package/lib/types/provider-api.d.ts +70 -0
  75. package/lib/types/provider-api.d.ts.map +1 -0
  76. package/lib/types/provider-api.js +3 -0
  77. package/lib/types/provider-api.js.map +1 -0
  78. package/lib/types/provider.d.ts +9 -0
  79. package/lib/types/provider.d.ts.map +1 -0
  80. package/lib/types/provider.js +20 -0
  81. package/lib/types/provider.js.map +1 -0
  82. package/lib/types/sdk-adapter.d.ts +46 -0
  83. package/lib/types/sdk-adapter.d.ts.map +1 -0
  84. package/lib/types/sdk-adapter.js +327 -0
  85. package/lib/types/sdk-adapter.js.map +1 -0
  86. package/lib/types/session.d.ts +14 -0
  87. package/lib/types/session.d.ts.map +1 -0
  88. package/lib/types/session.js +76 -0
  89. package/lib/types/session.js.map +1 -0
  90. package/lib/types/settings-rpc-contract.d.ts +34 -0
  91. package/lib/types/settings-rpc-contract.d.ts.map +1 -0
  92. package/lib/types/settings-rpc-contract.js +62 -0
  93. package/lib/types/settings-rpc-contract.js.map +1 -0
  94. package/lib/types/settings-rpc.d.ts +6 -0
  95. package/lib/types/settings-rpc.d.ts.map +1 -0
  96. package/lib/types/settings-rpc.js +147 -0
  97. package/lib/types/settings-rpc.js.map +1 -0
  98. package/lib/types/settings.d.ts +13 -0
  99. package/lib/types/settings.d.ts.map +1 -0
  100. package/lib/types/settings.js +15 -0
  101. package/lib/types/settings.js.map +1 -0
  102. package/lib/types/summary-provider-api.d.ts +45 -0
  103. package/lib/types/summary-provider-api.d.ts.map +1 -0
  104. package/lib/types/summary-provider-api.js +3 -0
  105. package/lib/types/summary-provider-api.js.map +1 -0
  106. package/lib/types/summary-provider.d.ts +48 -0
  107. package/lib/types/summary-provider.d.ts.map +1 -0
  108. package/lib/types/summary-provider.js +208 -0
  109. package/lib/types/summary-provider.js.map +1 -0
  110. package/lib/types/tools.d.ts +20 -0
  111. package/lib/types/tools.d.ts.map +1 -0
  112. package/lib/types/tools.js +139 -0
  113. package/lib/types/tools.js.map +1 -0
  114. package/lib/types/types.d.ts +292 -0
  115. package/lib/types/types.d.ts.map +1 -0
  116. package/lib/types/types.js +6 -0
  117. package/lib/types/types.js.map +1 -0
  118. package/package.json +179 -0
@@ -0,0 +1,292 @@
1
+ /** Client-safe AWiki service and Remote data types. */
2
+ import type { Branded } from '@deepseek-ai/dsh-brand';
3
+ /** Stable AWiki decentralized identifier. */
4
+ export type AwikiDid = Branded<'AwikiDid'>;
5
+ /** Validated AWiki handle. */
6
+ export type AwikiHandle = Branded<'AwikiHandle'>;
7
+ /** Stable direct or group conversation identifier. */
8
+ export type AwikiConversationId = Branded<'AwikiConversationId'>;
9
+ /** Stable AWiki message identifier. */
10
+ export type AwikiMessageId = Branded<'AwikiMessageId'>;
11
+ /** Stable AWiki attachment identifier. */
12
+ export type AwikiAttachmentId = Branded<'AwikiAttachmentId'>;
13
+ /** Opaque pagination cursor returned by AWiki. */
14
+ export type AwikiCursor = Branded<'AwikiCursor'>;
15
+ /** Public identity state. Secret keys and tokens never enter this type. */
16
+ export interface AwikiIdentity {
17
+ readonly handle: AwikiHandle;
18
+ readonly did: AwikiDid;
19
+ /** WNS `profile.display_name`. Display-only; never used for routing. */
20
+ readonly displayName?: string;
21
+ readonly registeredAt: number;
22
+ }
23
+ /** Browser-visible state of the local AWiki session. */
24
+ export type AwikiSession = {
25
+ readonly status: 'unregistered';
26
+ } | {
27
+ readonly status: 'signed-out';
28
+ } | {
29
+ readonly status: 'active';
30
+ readonly identity: AwikiIdentity;
31
+ };
32
+ /** Existing direct conversation. */
33
+ export interface AwikiDirectConversation {
34
+ readonly kind: 'direct';
35
+ readonly id: AwikiConversationId;
36
+ readonly peerDid: AwikiDid;
37
+ readonly peerHandle?: AwikiHandle;
38
+ /** WNS `profile.display_name`. Display-only; never used for routing. */
39
+ readonly displayName?: string;
40
+ readonly title: string;
41
+ /** Current unread inbox messages for this conversation. */
42
+ readonly unreadCount?: number;
43
+ readonly lastMessageAt?: number;
44
+ /** Display-only summary of the newest observed message. */
45
+ readonly lastMessagePreview?: string;
46
+ }
47
+ /** Existing group conversation. */
48
+ export interface AwikiGroupConversation {
49
+ readonly kind: 'group';
50
+ readonly id: AwikiConversationId;
51
+ readonly groupDid: AwikiDid;
52
+ readonly title: string;
53
+ /** Current unread inbox messages for this conversation. */
54
+ readonly unreadCount?: number;
55
+ readonly lastMessageAt?: number;
56
+ /** Display-only summary of the newest observed message. */
57
+ readonly lastMessagePreview?: string;
58
+ }
59
+ /** Conversation visible to the deployment identity. */
60
+ export type AwikiConversation = AwikiDirectConversation | AwikiGroupConversation;
61
+ /** Request one Handle or DID lookup before opening a direct chat. */
62
+ export interface AwikiResolvePeerRequest {
63
+ readonly peer: string;
64
+ }
65
+ /** Public peer returned after a successful Handle or DID resolution. */
66
+ export interface AwikiResolvedPeer {
67
+ readonly did: AwikiDid;
68
+ readonly handle?: AwikiHandle;
69
+ /** WNS `profile.display_name`. Display-only; never used for routing. */
70
+ readonly displayName?: string;
71
+ readonly conversationId: AwikiConversationId;
72
+ }
73
+ /** Direct-message target resolved by the SDK. */
74
+ export interface AwikiDirectTarget {
75
+ readonly kind: 'direct';
76
+ readonly peer: string;
77
+ }
78
+ /** Existing group target. */
79
+ export interface AwikiGroupTarget {
80
+ readonly kind: 'group';
81
+ readonly group: string;
82
+ }
83
+ /** Target accepted by send operations. */
84
+ export type AwikiMessageTarget = AwikiDirectTarget | AwikiGroupTarget;
85
+ /** Attachment metadata safe for browsers, models, logs, and transcripts. */
86
+ export interface AwikiAttachment {
87
+ readonly id: AwikiAttachmentId;
88
+ readonly fileName: string;
89
+ readonly mimeType: string;
90
+ readonly size: number;
91
+ readonly sha256: string;
92
+ }
93
+ /** Plain text message content. */
94
+ export interface AwikiTextContent {
95
+ readonly kind: 'text';
96
+ readonly text: string;
97
+ }
98
+ /** Attachment message content. */
99
+ export interface AwikiAttachmentContent {
100
+ readonly kind: 'attachment';
101
+ readonly attachment: AwikiAttachment;
102
+ readonly caption?: string;
103
+ }
104
+ /** Message content supported by the MVP. */
105
+ export type AwikiMessageContent = AwikiTextContent | AwikiAttachmentContent;
106
+ /** Public direct or group message. */
107
+ export interface AwikiMessage {
108
+ readonly id: AwikiMessageId;
109
+ readonly conversationId: AwikiConversationId;
110
+ readonly conversationKind: AwikiConversation['kind'];
111
+ readonly senderDid: AwikiDid;
112
+ readonly senderHandle?: AwikiHandle;
113
+ /** WNS `profile.display_name` for the sender. Display-only; never used for routing. */
114
+ readonly senderDisplayName?: string;
115
+ readonly sentAt: number;
116
+ readonly outgoing: boolean;
117
+ readonly content: AwikiMessageContent;
118
+ }
119
+ /** JSON-safe page returned through the Host Remote and model tools. */
120
+ export interface AwikiPage<Item> {
121
+ readonly items: readonly Item[];
122
+ readonly nextCursor?: AwikiCursor;
123
+ readonly hasMore: boolean;
124
+ }
125
+ /** Optional cursor and bounded item count. */
126
+ export interface AwikiPageRequest {
127
+ readonly cursor?: AwikiCursor;
128
+ readonly limit?: number;
129
+ }
130
+ /** Request one conversation's history. */
131
+ export interface AwikiHistoryRequest extends AwikiPageRequest {
132
+ readonly conversationId: AwikiConversationId;
133
+ }
134
+ /** User-triggered scope for one conversation summary. */
135
+ export interface AwikiSummarizeConversationRequest {
136
+ readonly conversationId: AwikiConversationId;
137
+ /** Unread messages observed immediately before this conversation was opened. */
138
+ readonly unreadCountAtOpen?: number;
139
+ }
140
+ /** Range actually read and sent to the configured summary model. */
141
+ export interface AwikiSummaryRange {
142
+ readonly kind: 'unread' | 'recent';
143
+ readonly messageCount: number;
144
+ readonly firstMessageId: AwikiMessageId;
145
+ readonly lastMessageId: AwikiMessageId;
146
+ readonly startedAt: number;
147
+ readonly endedAt: number;
148
+ /** True when the 50-message or UTF-8 input budget removed source content. */
149
+ readonly truncated: boolean;
150
+ }
151
+ /** One bounded action item produced by the summary model. */
152
+ export interface AwikiSummaryTodo {
153
+ readonly text: string;
154
+ readonly owner?: string;
155
+ }
156
+ /** Structured Chinese conversation summary plus exact source provenance. */
157
+ export interface AwikiConversationSummary {
158
+ readonly range: AwikiSummaryRange;
159
+ readonly highlights: readonly string[];
160
+ readonly conclusions: readonly string[];
161
+ readonly todos: readonly AwikiSummaryTodo[];
162
+ }
163
+ /** Mark every currently unread inbox message in one conversation as read. */
164
+ export interface AwikiMarkConversationReadRequest {
165
+ readonly conversationId: AwikiConversationId;
166
+ }
167
+ /** Request one registration verification code. */
168
+ export interface AwikiRegistrationOtpRequest {
169
+ readonly handle: string;
170
+ readonly phone: string;
171
+ }
172
+ /** Server-issued registration challenge. */
173
+ export interface AwikiRegistrationOtpResult {
174
+ readonly retryAfterSeconds: number;
175
+ readonly retryAt: string;
176
+ }
177
+ /** Complete the only identity registration allowed by this deployment. */
178
+ export interface AwikiRegistrationRequest {
179
+ readonly handle: string;
180
+ readonly phone: string;
181
+ readonly otp: string;
182
+ }
183
+ /** Replace the registered identity's public WNS display name. */
184
+ export interface AwikiUpdateDisplayNameRequest {
185
+ readonly displayName: string;
186
+ }
187
+ /** Send one plain text message. */
188
+ export interface AwikiSendTextRequest {
189
+ readonly target: AwikiMessageTarget;
190
+ readonly text: string;
191
+ readonly idempotencyKey: string;
192
+ }
193
+ /** JSON-safe upload accepted by the browser Remote. */
194
+ export interface AwikiSendAttachmentRequest {
195
+ readonly target: AwikiMessageTarget;
196
+ readonly fileName: string;
197
+ readonly mimeType: string;
198
+ readonly bytesBase64: string;
199
+ readonly caption?: string;
200
+ readonly idempotencyKey: string;
201
+ }
202
+ /** Request attachment bytes visible to the deployment identity. */
203
+ export interface AwikiDownloadAttachmentRequest {
204
+ readonly attachmentId: AwikiAttachmentId;
205
+ readonly messageId: AwikiMessageId;
206
+ }
207
+ /** Exact browser acknowledgement required before locally signing out. */
208
+ export declare const AWIKI_LOGOUT_CONFIRMATION = "logout-awiki-session";
209
+ /** Browser-only sign-out request. The Host validates this marker independently. */
210
+ export interface AwikiLogoutRequest {
211
+ readonly confirmation: string;
212
+ }
213
+ /** Exact browser acknowledgement required before destructive local-state removal. */
214
+ export declare const AWIKI_CLEAR_LOCAL_DATA_CONFIRMATION = "clear-awiki-local-data";
215
+ /** Browser-only destructive request. The Host validates this marker independently. */
216
+ export interface AwikiClearLocalDataRequest {
217
+ readonly confirmation: string;
218
+ }
219
+ /** Whether an on-disk state file existed when the reset completed. */
220
+ export interface AwikiClearLocalDataResult {
221
+ readonly cleared: boolean;
222
+ }
223
+ /** Verified attachment content returned by the browser Remote. */
224
+ export interface AwikiDownloadedAttachment {
225
+ readonly attachment: AwikiAttachment;
226
+ readonly bytesBase64: string;
227
+ }
228
+ /** Stable public failure codes shared by UI and tools. */
229
+ export type AwikiFailureCode = 'not-registered' | 'signed-out' | 'already-registered' | 'invalid-request' | 'invalid-otp' | 'challenge-expired' | 'handle-unavailable' | 'not-found' | 'forbidden' | 'conflict' | 'rate-limited' | 'attachment-too-large' | 'summary-unavailable' | 'summary-timeout' | 'summary-cancelled' | 'summary-invalid-output' | 'summary-failed' | 'network' | 'remote';
230
+ /** Public business failure without credentials or remote response bodies. */
231
+ export interface AwikiFailure {
232
+ readonly code: AwikiFailureCode;
233
+ readonly message: string;
234
+ }
235
+ /** Successful AWiki operation. */
236
+ export interface AwikiSuccess<Value> {
237
+ readonly ok: true;
238
+ readonly value: Value;
239
+ }
240
+ /** Rejected AWiki operation. */
241
+ export interface AwikiRejected {
242
+ readonly ok: false;
243
+ readonly error: AwikiFailure;
244
+ }
245
+ /** Public AWiki operation result. */
246
+ export type AwikiResult<Value> = AwikiSuccess<Value> | AwikiRejected;
247
+ /** Browser-safe AWiki runtime settings owned by the Host plugin. */
248
+ export interface AwikiRuntimeConfig {
249
+ readonly pollIntervalMs: number;
250
+ readonly attachmentMaxBytes: number;
251
+ }
252
+ /** Browser and tool operations over the deployment's one AWiki identity. */
253
+ export interface AwikiOperations {
254
+ /** Return whether this installation is unregistered, signed out, or active. */
255
+ getSession(): Promise<AwikiResult<AwikiSession>>;
256
+ /** Return the registered identity or `null`. */
257
+ getIdentity(): Promise<AwikiResult<AwikiIdentity | null>>;
258
+ /** Sign out locally while preserving the encrypted identity and message state. Browser-only. */
259
+ logout(request: AwikiLogoutRequest): Promise<AwikiResult<AwikiSession>>;
260
+ /** Resume the preserved local identity without registration. Browser-only. */
261
+ login(): Promise<AwikiResult<AwikiSession>>;
262
+ /** Send a registration OTP. This operation is browser-only. */
263
+ sendRegistrationOtp(request: AwikiRegistrationOtpRequest): Promise<AwikiResult<AwikiRegistrationOtpResult>>;
264
+ /** Register and persist the deployment identity. This operation is browser-only. */
265
+ registerIdentity(request: AwikiRegistrationRequest): Promise<AwikiResult<AwikiIdentity>>;
266
+ /** Update the deployment identity's public WNS display name. This operation is browser-only. */
267
+ updateDisplayName(request: AwikiUpdateDisplayNameRequest): Promise<AwikiResult<AwikiIdentity>>;
268
+ /** Resolve one Handle or DID and persist the direct conversation row. */
269
+ resolvePeer(request: AwikiResolvePeerRequest): Promise<AwikiResult<AwikiResolvedPeer>>;
270
+ /** List direct and existing group conversations. */
271
+ listConversations(request?: AwikiPageRequest): Promise<AwikiResult<AwikiPage<AwikiConversation>>>;
272
+ /** Read paginated direct or group history. */
273
+ getHistory(request: AwikiHistoryRequest): Promise<AwikiResult<AwikiPage<AwikiMessage>>>;
274
+ /** Summarize one bounded real-history range only after an explicit user action. */
275
+ summarizeConversation(request: AwikiSummarizeConversationRequest): Promise<AwikiResult<AwikiConversationSummary>>;
276
+ /** Mark every currently unread inbox message in one conversation as read. */
277
+ markConversationRead(request: AwikiMarkConversationReadRequest): Promise<AwikiResult<number>>;
278
+ /** Send one idempotent text message. */
279
+ sendText(request: AwikiSendTextRequest): Promise<AwikiResult<AwikiMessage>>;
280
+ /** Upload and send one idempotent attachment message. */
281
+ sendAttachment(request: AwikiSendAttachmentRequest): Promise<AwikiResult<AwikiMessage>>;
282
+ /** Download one attachment after SDK integrity verification. */
283
+ downloadAttachment(request: AwikiDownloadAttachmentRequest): Promise<AwikiResult<AwikiDownloadedAttachment>>;
284
+ /** Permanently clear this installation's local AWiki identity and message state. Browser-only. */
285
+ clearLocalData(request: AwikiClearLocalDataRequest): Promise<AwikiResult<AwikiClearLocalDataResult>>;
286
+ }
287
+ /** Browser-facing Host operations, including safe presentation settings. */
288
+ export interface AwikiHostClient extends AwikiOperations {
289
+ /** Return settings required by the AWiki browser client. */
290
+ getConfig(): Promise<AwikiResult<AwikiRuntimeConfig>>;
291
+ }
292
+ //# sourceMappingURL=types.d.ts.map
@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C,WAAW,CAAC,yBAAyB,CAAC,CAAC,CAAA;CACrG;AAED,4EAA4E;AAC5E,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,4DAA4D;IAC5D,SAAS,IAAI,OAAO,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAAA;CACtD"}
@@ -0,0 +1,6 @@
1
+ /** Client-safe AWiki service and Remote data types. */
2
+ /** Exact browser acknowledgement required before locally signing out. */
3
+ export const AWIKI_LOGOUT_CONFIRMATION = 'logout-awiki-session';
4
+ /** Exact browser acknowledgement required before destructive local-state removal. */
5
+ export const AWIKI_CLEAR_LOCAL_DATA_CONFIRMATION = 'clear-awiki-local-data';
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAgPvD,yEAAyE;AACzE,MAAM,CAAC,MAAM,yBAAyB,GAAG,sBAAsB,CAAA;AAO/D,qFAAqF;AACrF,MAAM,CAAC,MAAM,mCAAmC,GAAG,wBAAwB,CAAA"}
package/package.json ADDED
@@ -0,0 +1,179 @@
1
+ {
2
+ "name": "@awiki/dsh-plugin",
3
+ "version": "0.2.0-rc.4",
4
+ "description": "AWiki identity and messaging plugin for DeepSeek Harness",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "types": "lib/types/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./lib/types/index.d.ts",
11
+ "default": "./lib/index.js"
12
+ },
13
+ "./provider": {
14
+ "types": "./lib/types/provider.d.ts",
15
+ "default": "./lib/provider.js"
16
+ },
17
+ "./provider-api": {
18
+ "types": "./lib/types/provider-api.d.ts",
19
+ "default": "./lib/types/provider-api.js"
20
+ },
21
+ "./summary-provider": {
22
+ "types": "./lib/types/summary-provider.d.ts",
23
+ "default": "./lib/summary-provider.js"
24
+ },
25
+ "./summary-provider-api": {
26
+ "types": "./lib/types/summary-provider-api.d.ts",
27
+ "default": "./lib/types/summary-provider-api.js"
28
+ },
29
+ "./invariant": {
30
+ "types": "./lib/types/invariant.d.ts",
31
+ "default": "./lib/invariant.js"
32
+ },
33
+ "./types": {
34
+ "types": "./lib/types/types.d.ts",
35
+ "default": "./lib/types/types.js"
36
+ },
37
+ "./client": {
38
+ "types": "./lib/types/client/index.d.ts",
39
+ "default": "./lib/client.js"
40
+ },
41
+ "./typert": {
42
+ "types": "./lib/typert.host.d.ts",
43
+ "default": "./lib/typert.host.js"
44
+ },
45
+ "./remote": {
46
+ "types": "./lib/typert.remote-client.d.ts",
47
+ "default": "./lib/typert.remote-client.js"
48
+ },
49
+ "./cordis.patch.yml": "./cordis.patch.yml",
50
+ "./package.json": "./package.json"
51
+ },
52
+ "files": [
53
+ "lib/**",
54
+ "lib/typert.host.js",
55
+ "lib/typert.host.d.ts",
56
+ "lib/typert.remote-client.js",
57
+ "lib/typert.remote-client.d.ts",
58
+ "cordis.patch.yml",
59
+ "README.md",
60
+ "README.zh.md",
61
+ "THIRD_PARTY_NOTICES.md",
62
+ "LICENSE"
63
+ ],
64
+ "scripts": {
65
+ "build:types": "tsc -p tsconfig.host.json && tsc -p tsconfig.client.json",
66
+ "build:bundle": "tsdown && node scripts/normalize-built.mjs",
67
+ "build": "pnpm run build:types && pnpm run build:bundle",
68
+ "typecheck": "tsc -p tsconfig.host.json --noEmit && tsc -p tsconfig.client.json --noEmit",
69
+ "test": "vitest run",
70
+ "check:generated": "node scripts/check-generated.mjs",
71
+ "check:public": "node scripts/check-public.mjs",
72
+ "verify": "pnpm run check:public && pnpm run build && pnpm run typecheck && pnpm run check:generated && pnpm run test",
73
+ "prepack": "pnpm run verify"
74
+ },
75
+ "keywords": [
76
+ "awiki",
77
+ "deepseek",
78
+ "deepseek-harness",
79
+ "dsh",
80
+ "dsh-plugin",
81
+ "agent-messaging"
82
+ ],
83
+ "license": "MIT",
84
+ "repository": {
85
+ "type": "git",
86
+ "url": "git+https://github.com/AgentConnect/dsh-awiki.git"
87
+ },
88
+ "bugs": {
89
+ "url": "https://github.com/AgentConnect/dsh-awiki/issues"
90
+ },
91
+ "homepage": "https://github.com/AgentConnect/dsh-awiki#readme",
92
+ "publishConfig": {
93
+ "access": "public",
94
+ "registry": "https://registry.npmjs.org"
95
+ },
96
+ "dsh": {
97
+ "bundle": {
98
+ "patch": "./cordis.patch.yml"
99
+ },
100
+ "client": {
101
+ "inject": [
102
+ "@deepseek-ai/dsh-client-runtime",
103
+ "@deepseek-ai/dsh-api-remotes",
104
+ "@deepseek-ai/dsh-client-connection",
105
+ "@deepseek-ai/dsh-client-locale",
106
+ "@deepseek-ai/dsh-client-ui-layout",
107
+ "@deepseek-ai/dsh-client-ui-settings"
108
+ ],
109
+ "platform": "web"
110
+ }
111
+ },
112
+ "dependencies": {
113
+ "@awiki/im-core-node": "0.1.2",
114
+ "@deepseek-ai/schemastery": "^3.18.1",
115
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.6",
116
+ "zod": "^4.4.3"
117
+ },
118
+ "peerDependencies": {
119
+ "@deepseek-ai/cordis": "^4.0.1",
120
+ "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.6",
121
+ "@deepseek-ai/dsh-agent-default-model": "^0.1.0-rc.6",
122
+ "@deepseek-ai/dsh-brand": "^0.1.0-rc.6",
123
+ "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6",
124
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
125
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
126
+ "@deepseek-ai/dsh-client-ui-layout": "^0.1.0-rc.6",
127
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6",
128
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
129
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
130
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
131
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
132
+ "@deepseek-ai/dsh-session": "^0.1.0-rc.6",
133
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
134
+ "@deepseek-ai/dsh-typert-protocol": "^0.1.0-rc.6",
135
+ "react": "^18.2.0"
136
+ },
137
+ "devDependencies": {
138
+ "@deepseek-ai/cordis": "^4.0.1",
139
+ "@deepseek-ai/cordis-plugin-include": "^1.0.6",
140
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.2",
141
+ "@deepseek-ai/dsh": "^0.1.0-rc.6",
142
+ "@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
143
+ "@deepseek-ai/dsh-agent-default-model": "^0.1.0-rc.6",
144
+ "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.6",
145
+ "@deepseek-ai/dsh-brand": "^0.1.0-rc.6",
146
+ "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6",
147
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
148
+ "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
149
+ "@deepseek-ai/dsh-client-test-runtime": "^0.1.0-rc.6",
150
+ "@deepseek-ai/dsh-client-ui-layout": "^0.1.0-rc.6",
151
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6",
152
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
153
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
154
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.6",
155
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
156
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
157
+ "@deepseek-ai/dsh-session": "^0.1.0-rc.6",
158
+ "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.6",
159
+ "@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
160
+ "@deepseek-ai/dsh-typert-protocol": "^0.1.0-rc.6",
161
+ "@deepseek-ai/dsh-user-approval": "^0.1.0-rc.6",
162
+ "@testing-library/react": "^16.3.2",
163
+ "@types/node": "^24.3.0",
164
+ "@types/react": "^18.3.23",
165
+ "@types/react-dom": "^18.3.7",
166
+ "jsdom": "^26.1.0",
167
+ "lightningcss": "^1.30.1",
168
+ "react": "^18.3.1",
169
+ "react-dom": "^18.3.1",
170
+ "tsdown": "^0.22.14",
171
+ "typescript": "^6.0.3",
172
+ "vite": "^8.2.1",
173
+ "vitest": "^4.1.10"
174
+ },
175
+ "engines": {
176
+ "node": "^22.19.0 || >=24.0.0"
177
+ },
178
+ "packageManager": "pnpm@11.7.0"
179
+ }