@ottttto/dsh-scheduled-send 0.2.1 → 0.2.3
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/cordis.patch.yml +6 -1
- package/dsh.plugin.json +1 -1
- package/lib/client.js +3 -3
- package/package.json +1 -1
- package/src/client-view.js +2 -2
package/cordis.patch.yml
CHANGED
|
@@ -2,10 +2,15 @@
|
|
|
2
2
|
# Note: this insert row mounts a fresh plugin; it does NOT override existing
|
|
3
3
|
# loader rows, so no config re-statement is required.
|
|
4
4
|
#
|
|
5
|
+
# IMPORTANT: `name` must be the exact npm package name — the loader resolves
|
|
6
|
+
# it as a package import from ~/.dsh/profiles/web/node_modules. The bare name
|
|
7
|
+
# "dsh-scheduled-send" breaks npm/market installs (ERR_MODULE_NOT_FOUND on
|
|
8
|
+
# machines without the local path install); the scoped name must be quoted.
|
|
9
|
+
#
|
|
5
10
|
# No config block here on purpose: apply() resolves the data directory itself
|
|
6
11
|
# ($HOME/.dsh/dsh-scheduled-send). Loader patch values are applied literally —
|
|
7
12
|
# brace-style {{ }} template placeholders are NOT evaluated, and a template
|
|
8
13
|
# dataDir would create a literally-named placeholder directory.
|
|
9
14
|
- insert:
|
|
10
15
|
- id: dsh-scheduled-send
|
|
11
|
-
name: dsh-scheduled-send
|
|
16
|
+
name: "@ottttto/dsh-scheduled-send"
|
package/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "@ottttto/dsh-scheduled-send",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"description": "定时发送:到点以你的身份把消息作为正常用户气泡发进当前会话,无人值守、会话隔离、断电补发。Scheduled send for DSH — fires as a normal user bubble into the bound conversation, unattended, per-session isolated, restart-safe.",
|
|
6
6
|
"engines": {
|
package/lib/client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// GENERATED by scripts/build-client.mjs — do not edit by hand.
|
|
2
2
|
window.__ModuleLoader__.load({
|
|
3
|
-
id: "dsh-scheduled-send",
|
|
3
|
+
id: "@ottttto/dsh-scheduled-send",
|
|
4
4
|
factory: (require) => {
|
|
5
5
|
var module = { exports: {} };
|
|
6
6
|
var exports = module.exports;
|
|
@@ -501,7 +501,7 @@ function createClientPluginBody(React) {
|
|
|
501
501
|
ctx.inject(inject, (scope) => {
|
|
502
502
|
scope.slots.inject("conversation.input.right", () => scope.slots.register({
|
|
503
503
|
name: "conversation.input.right",
|
|
504
|
-
id: "dsh-scheduled-send",
|
|
504
|
+
id: "@ottttto/dsh-scheduled-send",
|
|
505
505
|
order: 100,
|
|
506
506
|
inject: (sessionId) => {
|
|
507
507
|
currentSessionId = sessionId;
|
|
@@ -511,7 +511,7 @@ function createClientPluginBody(React) {
|
|
|
511
511
|
}, ScheduleButton));
|
|
512
512
|
scope.slots.inject("conversation.input.dock", () => scope.slots.register({
|
|
513
513
|
name: "conversation.input.dock",
|
|
514
|
-
id: "dsh-scheduled-send",
|
|
514
|
+
id: "@ottttto/dsh-scheduled-send",
|
|
515
515
|
order: 30,
|
|
516
516
|
inject: (sessionId) => {
|
|
517
517
|
currentSessionId = sessionId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ottttto/dsh-scheduled-send",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "DSH plugin: scheduled sending (⏰ composer button, dock list of pending tasks, due-time delivery as a normal user bubble)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
package/src/client-view.js
CHANGED
|
@@ -266,7 +266,7 @@ function createClientPluginBody(React) {
|
|
|
266
266
|
ctx.inject(inject, (scope) => {
|
|
267
267
|
scope.slots.inject("conversation.input.right", () => scope.slots.register({
|
|
268
268
|
name: "conversation.input.right",
|
|
269
|
-
id: "dsh-scheduled-send",
|
|
269
|
+
id: "@ottttto/dsh-scheduled-send",
|
|
270
270
|
order: 100,
|
|
271
271
|
inject: (sessionId) => {
|
|
272
272
|
currentSessionId = sessionId;
|
|
@@ -276,7 +276,7 @@ function createClientPluginBody(React) {
|
|
|
276
276
|
}, ScheduleButton));
|
|
277
277
|
scope.slots.inject("conversation.input.dock", () => scope.slots.register({
|
|
278
278
|
name: "conversation.input.dock",
|
|
279
|
-
id: "dsh-scheduled-send",
|
|
279
|
+
id: "@ottttto/dsh-scheduled-send",
|
|
280
280
|
order: 30,
|
|
281
281
|
inject: (sessionId) => {
|
|
282
282
|
currentSessionId = sessionId;
|