@maci0/dsh-cron 0.1.1 → 0.1.2

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 (3) hide show
  1. package/README.md +7 -7
  2. package/index.js +3 -3
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -32,16 +32,16 @@ Each run arrives in the session as a message with the prompt, the way a
32
32
  > row added with `--patch` is an overlay: it disappears at the next start.
33
33
 
34
34
  ```sh
35
- dsh plugin --profile web add @maci0/dsh-cron@0.1.1 @deepseek-ai/dsh-experimental-schedule-bundle@0.2.0-rc.2
35
+ dsh plugin --profile web add github:maci0/dsh-cron#v0.1.2
36
36
  ```
37
37
 
38
- This installs the public npm package; no GitHub token or `~/.secrets` setup is needed.
39
- The version is pinned. To upgrade, run the same command with a newer version,
40
- then restart `dsh web` (bundle layers compose at boot).
38
+ Pin a release tag: a bare `github:` spec floats on `main`. To upgrade, run the
39
+ same command with the newer tag, then restart `dsh web` (bundle layers compose
40
+ at boot).
41
41
 
42
- The timers belong to the harness schedule service, which ships in the optional
43
- `@deepseek-ai/dsh-experimental-schedule-bundle` (also on the Plugins page,
44
- Official group). Without it `/cron` answers an error that names the bundle.
42
+ The timers belong to the harness schedule service. The web profile mounts
43
+ `@deepseek-ai/dsh-schedule` through `@deepseek-ai/dsh-web-app`. A profile
44
+ without that row makes `/cron` answer an error that names the service.
45
45
 
46
46
  ## How it works
47
47
 
package/index.js CHANGED
@@ -21,8 +21,8 @@ import { parseSchedule } from './lib/parse.js'
21
21
  export const name = 'cron'
22
22
  export const inject = ['commands']
23
23
 
24
- /** The optional bundle that mounts the harness schedule service. */
25
- const SCHEDULE_BUNDLE = '@deepseek-ai/dsh-experimental-schedule-bundle'
24
+ /** Package the web profile mounts for the harness schedule service. */
25
+ const SCHEDULE_PACKAGE = '@deepseek-ai/dsh-schedule'
26
26
  /** Longest task title shown in lists; the service allows 120. */
27
27
  const MAX_TITLE = 80
28
28
 
@@ -133,7 +133,7 @@ async function cronHandler(invocation, ctx) {
133
133
  // say what is missing rather than vanish when it is not mounted.
134
134
  const schedule = ctx.get('schedule')
135
135
  if (schedule == null) {
136
- return { kind: 'error', text: `/cron needs the harness schedule service: enable ${SCHEDULE_BUNDLE} (Plugins page, Official group) or list it in the profile's dsh.profile.bundles.` }
136
+ return { kind: 'error', text: `/cron needs the harness schedule service. The web profile mounts ${SCHEDULE_PACKAGE} through @deepseek-ai/dsh-web-app.` }
137
137
  }
138
138
  const sessionId = invocation.agent.session.id
139
139
  if (verb === 'list') return list(schedule, sessionId)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maci0/dsh-cron",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "icon": "./icon.svg",
47
47
  "dependencies": {
48
- "@deepseek-ai/dsh-llm": "0.2.1-alpha.1"
48
+ "@deepseek-ai/dsh-llm": "0.2.1-alpha.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@deepseek-ai/cordis": "4.0.5-alpha.1"