@jwitmann/operator-deepseek 0.0.0-stage → 0.4.0

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/README.md CHANGED
@@ -1,3 +1,43 @@
1
- # Temporary Holding Version
1
+ # Operator Memory for DeepSeek Harness
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Operator Memory gives DeepSeek Harness durable project and user context maintained by agents as readable Markdown.
4
+
5
+ ## Install
6
+
7
+ Requires Node.js 22.19 or newer, DeepSeek Harness, and the [Helper](https://github.com/jwitmann/operator-memory#install-operator) installed.
8
+
9
+ ```sh
10
+ operator-helper install deepseek
11
+ ```
12
+
13
+ Helper attempts the default Web and Desktop profiles independently. Restart Web after installation. Desktop uses its own bundled runtime: launch Desktop once to initialize its profile, fully quit the application, then rerun the install command using Desktop's installed `dsh` command.
14
+
15
+ Install into another profile with DeepSeek's native command:
16
+
17
+ ```sh
18
+ dsh plugin --profile <profile-name> add @jwitmann/operator-deepseek
19
+ ```
20
+
21
+ ## Verify
22
+
23
+ Web and Desktop display `Operator Ready (vX.Y.Z)` beneath the active conversation's composer when the plugin is available. In a new conversation, ask the agent whether Operator Memory guidance is available; it should outline the Brain, partitions, and memory-aware workflow.
24
+
25
+ ## Commands
26
+
27
+ DeepSeek command names use hyphens:
28
+
29
+ - `/operator-user-init`
30
+ - `/operator-project-init`
31
+ - `/operator-index`
32
+
33
+ Profiles without DeepSeek's interactive command service still receive the Operator preamble but do not expose these commands.
34
+
35
+ ## Update
36
+
37
+ Rerun `operator-helper install deepseek`, or update a specific profile through DeepSeek:
38
+
39
+ ```sh
40
+ dsh plugin --profile <profile-name> update @jwitmann/operator-deepseek
41
+ ```
42
+
43
+ Fully quit Desktop before updating its profile and restart the affected profile after updating. See the [DeepSeek Harness guide](https://github.com/jwitmann/operator-memory/blob/main/docs/harnesses/deepseek.md) for troubleshooting.
@@ -0,0 +1,5 @@
1
+ - insert:
2
+ - id: operator-memory
3
+ name: '@jwitmann/operator-deepseek'
4
+ - id: tool-recall
5
+ name: '@jwitmann/operator-deepseek/tool'
package/dist/client.js ADDED
@@ -0,0 +1,40 @@
1
+ window.__ModuleLoader__.load({
2
+ id: "@jwitmann/operator-deepseek",
3
+ factory(require) {
4
+ const React = require("react");
5
+
6
+ function OperatorIndicator() {
7
+ return React.createElement(
8
+ "span",
9
+ { className: "operator-memory-indicator" },
10
+ React.createElement(
11
+ "span",
12
+ { className: "operator-memory-indicator__label" },
13
+ "Operator Ready (v0.4.0)",
14
+ ),
15
+ );
16
+ }
17
+
18
+ return {
19
+ inject: ["slots"],
20
+ apply(ctx) {
21
+ ctx.effect(() => {
22
+ const style = document.createElement("style");
23
+ style.textContent = ".operator-memory-indicator {\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n max-width: 100%;\n padding: 1px 8px;\n border: none;\n border-radius: 999px;\n corner-shape: round;\n background: transparent;\n color: var(--dsw-alias-label-tertiary);\n font-family: inherit;\n font-size: calc(var(--dsh-content-font-size-secondary, 13px) - 1px);\n line-height: calc(20px + var(--dsh-content-font-delta-secondary, 0px));\n white-space: nowrap;\n user-select: none;\n}\n\n.operator-memory-indicator:hover {\n background: var(--dsw-alias-interactive-bg-hover);\n color: var(--dsw-alias-label-secondary);\n}\n\n.operator-memory-indicator__label {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n";
24
+ document.head.appendChild(style);
25
+ return () => style.remove();
26
+ }, "operator-memory: indicator style");
27
+ ctx.slots.inject("conversation.composer.dock", () =>
28
+ ctx.slots.register(
29
+ {
30
+ name: "conversation.composer.dock",
31
+ id: "operator-memory",
32
+ order: -1,
33
+ },
34
+ OperatorIndicator,
35
+ ),
36
+ );
37
+ },
38
+ };
39
+ },
40
+ });