@sidequest-007/dsh-atlas 1.0.9 → 1.0.11
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/CHANGELOG.md +211 -0
- package/LICENSE-ORIGINAL +21 -21
- package/README.md +28 -2
- package/README.zh.md +28 -2
- package/assets/screenshots/history-roam.png +0 -0
- package/dsh.plugin.json +2 -2
- package/lib/client.js +9980 -2453
- package/lib/index.js +7731 -2122
- package/lib/types/client/DraftLinks.d.ts +13 -3
- package/lib/types/client/FolderPicker.d.ts +58 -7
- package/lib/types/client/FolderTab.d.ts +7 -2
- package/lib/types/client/FrameCursor.d.ts +104 -0
- package/lib/types/client/HistoryPalette.d.ts +25 -0
- package/lib/types/client/ReferenceLinks.d.ts +22 -2
- package/lib/types/client/SettingsSection.d.ts +10 -2
- package/lib/types/client/history-frames.d.ts +238 -0
- package/lib/types/client/history-keys.d.ts +266 -0
- package/lib/types/client/index.d.ts +14 -0
- package/lib/types/client/locales.d.ts +100 -10
- package/lib/types/client/reference-links.d.ts +57 -0
- package/lib/types/client/remote.d.ts +8 -4
- package/lib/types/client/roam-store.d.ts +64 -0
- package/lib/types/client/source.d.ts +16 -0
- package/lib/types/client/standard-kit.d.ts +40 -0
- package/lib/types/client/styles.d.ts +1 -1
- package/lib/types/contract.d.ts +156 -0
- package/lib/types/files.d.ts +46 -0
- package/lib/types/index.d.ts +9 -9
- package/lib/types/recent-folders.d.ts +52 -0
- package/lib/types/reference.d.ts +3 -1
- package/lib/types/references.d.ts +7 -2
- package/lib/types/runtime.d.ts +53 -3
- package/lib/types/settings.d.ts +19 -2
- package/lib/types/tokens.d.ts +12 -0
- package/package.json +41 -29
package/lib/types/settings.d.ts
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { Context } from '@deepseek-ai/cordis';
|
|
8
8
|
import z from '@deepseek-ai/schemastery';
|
|
9
|
-
import type { SettingsScope } from '@deepseek-ai/dsh-settings';
|
|
10
9
|
import type { AtFileSettings } from './contract.ts';
|
|
11
10
|
/** The branded namespace name (the Web allowlist must list the same string). */
|
|
12
11
|
export declare const AT_FILE_NAMESPACE = "at-file";
|
|
@@ -17,9 +16,27 @@ export declare const AT_FILE_NAMESPACE = "at-file";
|
|
|
17
16
|
* field is still validated at runtime.
|
|
18
17
|
*/
|
|
19
18
|
export declare const AtFileSettingsSchema: z<AtFileSettings>;
|
|
19
|
+
/**
|
|
20
|
+
* The settings surface this plugin consumes: the `at-file` namespace's live
|
|
21
|
+
* value and a writer for it.
|
|
22
|
+
*
|
|
23
|
+
* Stated here rather than imported because the published settings service types
|
|
24
|
+
* a composition EDITOR (`describe`/`update`/`mutate` over the profile's own
|
|
25
|
+
* entries), while this plugin owns a namespace of its own. The namespace API the
|
|
26
|
+
* runtime still answers — `register(namespace, schema, { applies: 'live' })` —
|
|
27
|
+
* is what this shape names, and {@link registerAtFileSettings} probes for it
|
|
28
|
+
* instead of assuming it, so a profile without it degrades to defaults instead
|
|
29
|
+
* of failing the whole plugin at load.
|
|
30
|
+
*/
|
|
31
|
+
export interface AtFileSettingsScope {
|
|
32
|
+
/** The namespace's current value, defaults applied. */
|
|
33
|
+
get(): AtFileSettings;
|
|
34
|
+
/** Merge one patch into the namespace and persist it. */
|
|
35
|
+
update(patch: Partial<AtFileSettings>): Promise<void>;
|
|
36
|
+
}
|
|
20
37
|
/**
|
|
21
38
|
* Register the namespace with the settings provider and return its owner scope.
|
|
22
39
|
* @param ctx - the plugin context carrying the settings provider.
|
|
23
40
|
* @returns the owner scope backing the runtime's live enable check.
|
|
24
41
|
*/
|
|
25
|
-
export declare function registerAtFileSettings(ctx: Context):
|
|
42
|
+
export declare function registerAtFileSettings(ctx: Context): AtFileSettingsScope;
|
package/lib/types/tokens.d.ts
CHANGED
|
@@ -4,7 +4,19 @@
|
|
|
4
4
|
* a file reference may carry a `:start[-end]` line range. The Host bundle and
|
|
5
5
|
* the client bundle are built separately, so this module is the single
|
|
6
6
|
* implementation of the recognition rule they must agree on.
|
|
7
|
+
*
|
|
8
|
+
* ONE form breaks that run. A plugin is named by its npm MODULE name, and a
|
|
9
|
+
* scoped module name carries an `@` of its own: `@plugin:@sidequest-007/dsh-atlas`.
|
|
10
|
+
* That inner `@` belongs to the name, not to a second mention. Reading it as a
|
|
11
|
+
* token start splits the mention in two — the plugin is then never recognized,
|
|
12
|
+
* and the scope (`sidequest-007/dsh-atlas`) is scanned as a workspace PATH that
|
|
13
|
+
* does not exist (m05904). So the plugin form is tried FIRST everywhere a token
|
|
14
|
+
* is scanned, and it swallows the scope whole.
|
|
7
15
|
*/
|
|
16
|
+
/** Every `@` mention token in a text, captured without the `@`. */
|
|
17
|
+
export declare const MENTION_PATTERN: RegExp;
|
|
18
|
+
/** The `@plugin:<module>` tokens in a text, captured without the `@plugin:` prefix. */
|
|
19
|
+
export declare const PLUGIN_MENTION_PATTERN: RegExp;
|
|
8
20
|
/** One inclusive 1-based line range on a referenced file. */
|
|
9
21
|
export interface LineRange {
|
|
10
22
|
readonly start: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sidequest-007/dsh-atlas",
|
|
3
|
-
"description": "AT Last, All Sources. One @
|
|
4
|
-
"version": "1.0.
|
|
3
|
+
"description": "AT Last, All Sources. One @ to jump anywhere — line ranges like @src/a.ts:12-40, the token cost of each reference before you send, and Esc to walk the session back.",
|
|
4
|
+
"version": "1.0.11",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Side Quest Labs",
|
|
7
7
|
"publishConfig": {
|
|
@@ -16,7 +16,12 @@
|
|
|
16
16
|
"at-mention",
|
|
17
17
|
"composer",
|
|
18
18
|
"workspace",
|
|
19
|
-
"reference"
|
|
19
|
+
"reference",
|
|
20
|
+
"history",
|
|
21
|
+
"keyboard",
|
|
22
|
+
"navigation",
|
|
23
|
+
"session-history",
|
|
24
|
+
"esc"
|
|
20
25
|
],
|
|
21
26
|
"homepage": "https://github.com/jameswatt139240-crypto/dsh-ATLAS#readme",
|
|
22
27
|
"bugs": {
|
|
@@ -99,8 +104,8 @@
|
|
|
99
104
|
"@deepseek-ai/dsh-client-store": "*",
|
|
100
105
|
"@deepseek-ai/dsh-client-ui-conversation": "*",
|
|
101
106
|
"@deepseek-ai/dsh-client-ui-input-trigger": "*",
|
|
102
|
-
"@deepseek-ai/dsh-client-ui-sidebar-right": "*",
|
|
103
107
|
"@deepseek-ai/dsh-client-ui-settings": "*",
|
|
108
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "*",
|
|
104
109
|
"@deepseek-ai/dsh-client-ui-slots": "*",
|
|
105
110
|
"@deepseek-ai/dsh-llm": "*",
|
|
106
111
|
"@deepseek-ai/dsh-session-reference": "*",
|
|
@@ -169,41 +174,48 @@
|
|
|
169
174
|
"zod": "^4.4.3"
|
|
170
175
|
},
|
|
171
176
|
"devDependencies": {
|
|
172
|
-
"@deepseek-ai/cordis": "
|
|
173
|
-
"@deepseek-ai/dsh-agent": "
|
|
174
|
-
"@deepseek-ai/dsh-api-remotes": "
|
|
175
|
-
"@deepseek-ai/dsh-api-session-controller": "
|
|
176
|
-
"@deepseek-ai/dsh-
|
|
177
|
-
"@deepseek-ai/dsh-client-
|
|
178
|
-
"@deepseek-ai/dsh-client-
|
|
179
|
-
"@deepseek-ai/dsh-client-
|
|
180
|
-
"@deepseek-ai/dsh-client-ui-
|
|
181
|
-
"@deepseek-ai/dsh-client-ui-
|
|
182
|
-
"@deepseek-ai/dsh-client-ui-renderer": "
|
|
183
|
-
"@deepseek-ai/dsh-client-ui-settings": "
|
|
184
|
-
"@deepseek-ai/dsh-client-ui-
|
|
185
|
-
"@deepseek-ai/dsh-
|
|
186
|
-
"@deepseek-ai/dsh-
|
|
187
|
-
"@deepseek-ai/dsh-
|
|
188
|
-
"@deepseek-ai/dsh-
|
|
189
|
-
"@deepseek-ai/dsh-
|
|
190
|
-
"@deepseek-ai/dsh-
|
|
191
|
-
"@deepseek-ai/dsh-
|
|
192
|
-
"@deepseek-ai/dsh-
|
|
193
|
-
"@deepseek-ai/dsh-
|
|
194
|
-
"@deepseek-ai/dsh-
|
|
195
|
-
"@deepseek-ai/
|
|
177
|
+
"@deepseek-ai/cordis": "4.0.4",
|
|
178
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
179
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.0-rc.2",
|
|
180
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2",
|
|
181
|
+
"@deepseek-ai/dsh-api-workspace-controller": "^0.2.0-rc.2",
|
|
182
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
|
|
183
|
+
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
|
|
184
|
+
"@deepseek-ai/dsh-client-store": "0.2.0-rc.2",
|
|
185
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
|
|
186
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.0-rc.2",
|
|
187
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
|
|
188
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2",
|
|
189
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.0-rc.2",
|
|
190
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2",
|
|
191
|
+
"@deepseek-ai/dsh-compaction": "^0.2.0-rc.2",
|
|
192
|
+
"@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
|
|
193
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
194
|
+
"@deepseek-ai/dsh-output-retention": "^0.2.0-rc.2",
|
|
195
|
+
"@deepseek-ai/dsh-sandbox": "^0.2.0-rc.2",
|
|
196
|
+
"@deepseek-ai/dsh-scope": "^0.2.0-rc.2",
|
|
197
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
198
|
+
"@deepseek-ai/dsh-session-query": "0.2.0-rc.2",
|
|
199
|
+
"@deepseek-ai/dsh-session-reference": "0.2.0-rc.2",
|
|
200
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
201
|
+
"@deepseek-ai/dsh-skill": "0.2.0-rc.2",
|
|
202
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
203
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
|
|
204
|
+
"@deepseek-ai/dsh-typert-registry": "0.2.0-rc.2",
|
|
205
|
+
"@deepseek-ai/schemastery": "3.18.4",
|
|
196
206
|
"@tabler/icons-react": "^3.46.0",
|
|
197
207
|
"@types/node": "^24.0.0",
|
|
198
208
|
"@types/react": "^18.2.0",
|
|
199
209
|
"@types/react-dom": "^18.2.0",
|
|
200
210
|
"@vitest/coverage-v8": "^4.1.8",
|
|
201
211
|
"esbuild": "^0.25.0",
|
|
212
|
+
"immer": "^10.0.3",
|
|
202
213
|
"jsdom": "29.1.1",
|
|
203
214
|
"react": "^18.2.0",
|
|
204
215
|
"react-dom": "^18.2.0",
|
|
205
216
|
"typescript": "^6.0.3",
|
|
206
|
-
"vitest": "^4.1.8"
|
|
217
|
+
"vitest": "^4.1.8",
|
|
218
|
+
"zustand": "^4.4.7"
|
|
207
219
|
},
|
|
208
220
|
"packageManager": "pnpm@10.30.3+sha512.c961d1e0a2d8e354ecaa5166b822516668b7f44cb5bd95122d590dd81922f606f5473b6d23ec4a5be05e7fcd18e8488d47d978bbe981872f1145d06e9a740017"
|
|
209
221
|
}
|