@copylee/dsh-office 0.1.0 → 0.2.1

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.
@@ -1,2 +1,6 @@
1
+ /** The host's file-based Office skills, and the app each one stands in for. */
2
+ export declare const FILE_SKILLS: Record<string, 'word' | 'excel' | 'ppt'>;
3
+ /** What the model is told the first time it reaches for one of those skills. */
4
+ export declare function redirectText(skill: string, app: 'word' | 'excel' | 'ppt'): string;
1
5
  /** System-prompt section: when to reach for the office_ tools, in as few tokens as will do. */
2
6
  export declare function promptText(): string;
@@ -6,6 +6,16 @@
6
6
  /** The Loader entry id (settings namespace); see cordis.patch.yml. */
7
7
  export declare const ENTRY_ID = "copylee-office";
8
8
  export interface Settings {
9
+ /** Scroll the window to where the agent is working; off = silent, the user's view is left alone. */
10
+ follow: boolean;
11
+ /** Write text a few characters at a time, the way a person types. */
12
+ typing: boolean;
13
+ /** Show the small card with the two switches while the agent edits. */
14
+ card: boolean;
15
+ /** On save, show the model every page as it is now if it has not looked since its last edits. */
16
+ finalCheck: boolean;
17
+ /** Turn the model away from the host's file-based Office skills when the real app is installed. */
18
+ preferLive: boolean;
9
19
  /** Bring the document's window to the front when office_open opens it. */
10
20
  showOnOpen: boolean;
11
21
  /** Width in pixels of the pictures office_render gives the model. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copylee/dsh-office",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "DeepSeek Harness Office 插件(Windows):AI 直接在你打开的 Word / Excel / PowerPoint 里改文档,改动实时出现在窗口中,你可以同时编辑;读结构、批量编辑、渲染成图核对、保存。",
5
5
  "type": "module",
6
6
  "author": "copylee",