2026-07-27 15:25:33 +08:00
|
|
|
{
|
|
|
|
|
"name": "@deepseek-ai/dsh-file-reference",
|
|
|
|
|
"description": "File-reference discovery contract and shared @file grammar",
|
2026-09-01 23:17:11 +08:00
|
|
|
"version": "0.1.2-alpha.4",
|
2026-08-14 16:18:40 +08:00
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
|
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
|
|
|
"directory": "packages/context/file-reference"
|
|
|
|
|
},
|
2026-07-27 15:25:33 +08:00
|
|
|
"type": "module",
|
|
|
|
|
"main": "lib/index.js",
|
|
|
|
|
"types": "lib/types/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./lib/types/index.d.ts",
|
|
|
|
|
"default": "./lib/index.js"
|
|
|
|
|
},
|
|
|
|
|
"./grammar": {
|
|
|
|
|
"types": "./lib/types/grammar.d.ts",
|
|
|
|
|
"default": "./lib/types/grammar.js"
|
|
|
|
|
},
|
refactor(reference): serve discovery through typert Remote faces
Replace the legacy reference.* API Proxy domain with @Remote methods on the
owning services, following the typert gateway design master adopted on
2026-08-02 (message-feedback and plugin-inventory precedents):
- FileReferenceService and SessionReferenceResolver extend TypertRemoteService;
fileReferences/list and sessionReferenceResolver/candidates are unary Remote
methods cancelled through the reserved trailing signal, and the candidates
face attaches each candidate's canonical mention under the configured limit
- move the wire types to type-only ./types subpaths (FileReferenceCandidate,
SessionReferenceMentionCandidate) and export ./typert plus ./remote artifacts
- mount both contributions in the api-remotes client assembly; ui-reference
consumes ctx.remote instead of connection.api.references and registers zh/en
locale dictionaries for its sections and labels
- delete the reference.* routes, schemas, map rows, client stubs, and fixtures;
the connection fixture serves the Remote endpoints instead
- release deliverPrompt admission listeners when the agent is disposed with the
prepared prompt still pending, and cover the reference-* RpcError codes in
the schema spec
- add the missing tsconfig paths for the /grammar and /types subpaths (clean-
tree vitest could not resolve @deepseek-ai/dsh-file-reference/grammar)
- regenerate the cordis catalog, capability seams, and event matrix; update the
owning bilingual READMEs, Agent Notes, and the reference-composer golden
2026-08-17 18:35:04 +08:00
|
|
|
"./types": {
|
|
|
|
|
"types": "./lib/types/types.d.ts",
|
|
|
|
|
"default": "./lib/types/types.js"
|
|
|
|
|
},
|
2026-07-27 15:25:33 +08:00
|
|
|
"./src/*": "./src/*",
|
|
|
|
|
"./package.json": "./package.json"
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"lib/index.js",
|
|
|
|
|
"lib/types/**/*.js",
|
2026-08-27 17:06:58 +08:00
|
|
|
"lib/types/**/*.d.ts"
|
2026-07-27 15:25:33 +08:00
|
|
|
],
|
2026-08-14 16:18:40 +08:00
|
|
|
"license": "MIT",
|
2026-07-27 15:25:33 +08:00
|
|
|
"peerDependencies": {
|
2026-08-14 16:18:40 +08:00
|
|
|
"@deepseek-ai/dsh-agent": "workspace:^",
|
|
|
|
|
"@deepseek-ai/cordis": "workspace:^"
|
2026-07-27 15:25:33 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@deepseek-ai/dsh-agent": "workspace:^",
|
2026-08-14 16:18:40 +08:00
|
|
|
"@deepseek-ai/cordis": "workspace:^"
|
2026-07-27 15:25:33 +08:00
|
|
|
}
|
|
|
|
|
}
|