@zhin.js/plugin-group-suite 4.0.10 → 4.0.12
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/commands/checkin.js +1 -1
- package/commands/checkin.ts +1 -1
- package/commands/forget.js +1 -1
- package/commands/forget.ts +1 -1
- package/commands/keyword-add/[keyword].js +1 -1
- package/commands/keyword-add/[keyword].ts +1 -1
- package/commands/keyword-list.js +1 -1
- package/commands/keyword-list.ts +1 -1
- package/commands/keyword-remove/[keyword].js +1 -1
- package/commands/keyword-remove/[keyword].ts +1 -1
- package/commands/mypoints.js +1 -1
- package/commands/mypoints.ts +1 -1
- package/commands/mystats.js +1 -1
- package/commands/mystats.ts +1 -1
- package/commands/rank.js +1 -1
- package/commands/rank.ts +1 -1
- package/commands/stats-rank.js +1 -1
- package/commands/stats-rank.ts +1 -1
- package/commands/stats-week.js +1 -1
- package/commands/stats-week.ts +1 -1
- package/commands/stats.js +1 -1
- package/commands/stats.ts +1 -1
- package/commands/teach-list/[[page]].js +1 -1
- package/commands/teach-list/[[page]].ts +1 -1
- package/commands/teach-regex.js +1 -1
- package/commands/teach-regex.ts +1 -1
- package/commands/teach.js +1 -1
- package/commands/teach.ts +1 -1
- package/lib/runtime-state.d.ts +1 -1
- package/lib/runtime-state.d.ts.map +1 -1
- package/lib/runtime-state.js +1 -1
- package/lib/runtime-state.js.map +1 -1
- package/middlewares/keyword-reply.js +1 -1
- package/middlewares/keyword-reply.ts +1 -1
- package/middlewares/stats-count.js +1 -1
- package/middlewares/stats-count.ts +1 -1
- package/middlewares/teach-reply.js +1 -1
- package/middlewares/teach-reply.ts +1 -1
- package/package.json +14 -8
- package/plugin.js +1 -1
- package/src/runtime-state.ts +1 -1
package/commands/checkin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
4
|
import { doCheckin } from "../lib/checkin-lib.js";
|
|
5
5
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
package/commands/checkin.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { doCheckin } from '../src/checkin-lib.js';
|
package/commands/forget.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { teachForget } from "../lib/teach-lib.js";
|
|
4
4
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
5
5
|
export default defineCommand({
|
package/commands/forget.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { addKeyword } from "../../lib/keyword-store.js";
|
|
4
4
|
import { resolveGroupSuiteRuntime } from "../../lib/runtime-state.js";
|
|
5
5
|
export default defineCommand({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import { addKeyword } from '../../src/keyword-store.js';
|
|
3
3
|
import type { GroupSuiteConfig } from '../../src/config.js';
|
|
4
4
|
import { resolveGroupSuiteRuntime } from '../../src/runtime-state.js';
|
package/commands/keyword-list.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { listKeywords } from "../lib/keyword-store.js";
|
|
4
4
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
5
5
|
export default defineCommand({
|
package/commands/keyword-list.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import { listKeywords } from '../src/keyword-store.js';
|
|
3
3
|
import type { GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { resolveGroupSuiteRuntime } from '../src/runtime-state.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { removeKeyword } from "../../lib/keyword-store.js";
|
|
4
4
|
import { resolveGroupSuiteRuntime } from "../../lib/runtime-state.js";
|
|
5
5
|
export default defineCommand({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import { removeKeyword } from '../../src/keyword-store.js';
|
|
3
3
|
import type { GroupSuiteConfig } from '../../src/config.js';
|
|
4
4
|
import { resolveGroupSuiteRuntime } from '../../src/runtime-state.js';
|
package/commands/mypoints.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { myPoints } from "../lib/checkin-lib.js";
|
|
4
4
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
5
5
|
export default defineCommand({
|
package/commands/mypoints.ts
CHANGED
package/commands/mystats.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { myStatsText } from "../lib/stats-lib.js";
|
|
4
4
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
5
5
|
export default defineCommand({
|
package/commands/mystats.ts
CHANGED
package/commands/rank.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
4
|
import { pointsRank } from "../lib/checkin-lib.js";
|
|
5
5
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
package/commands/rank.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { pointsRank } from '../src/checkin-lib.js';
|
package/commands/stats-rank.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
4
|
import { monthStartStr, resolveGroupId, statsRankText } from "../lib/stats-lib.js";
|
|
5
5
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
package/commands/stats-rank.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { monthStartStr, resolveGroupId, statsRankText } from '../src/stats-lib.js';
|
package/commands/stats-week.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
4
|
import { resolveGroupId, statsRankText, weekStartStr } from "../lib/stats-lib.js";
|
|
5
5
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
package/commands/stats-week.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { resolveGroupId, statsRankText, weekStartStr } from '../src/stats-lib.js';
|
package/commands/stats.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
4
|
import { todayStr } from "../lib/shared-runtime.js";
|
|
5
5
|
import { resolveGroupId, statsRankText } from "../lib/stats-lib.js";
|
package/commands/stats.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { todayStr } from '../src/shared-runtime.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../../lib/config.js";
|
|
4
4
|
import { teachList } from "../../lib/teach-lib.js";
|
|
5
5
|
import { resolveGroupSuiteRuntime } from "../../lib/runtime-state.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../../src/config.js';
|
|
4
4
|
import { teachList } from '../../src/teach-lib.js';
|
package/commands/teach-regex.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
4
|
import { teachAdd } from "../lib/teach-lib.js";
|
|
5
5
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
package/commands/teach-regex.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { teachAdd } from '../src/teach-lib.js';
|
package/commands/teach.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
4
|
import { teachAdd } from "../lib/teach-lib.js";
|
|
5
5
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
package/commands/teach.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from '
|
|
1
|
+
import { defineCommand } from 'zhin.js/command';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { teachAdd } from '../src/teach-lib.js';
|
package/lib/runtime-state.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-state.d.ts","sourceRoot":"","sources":["../src/runtime-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"runtime-state.d.ts","sourceRoot":"","sources":["../src/runtime-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,kEAAkE;AAClE,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,QAAQ,CAAC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7C,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;CAC1D;AAED,eAAO,MAAM,sBAAsB,0BAGlC,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,kBAAkB,GAAG,iBAAiB,CAOjF;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE;IAChD,KAAK,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IACzB,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CAC5B,GAAG,iBAAiB,GAAG,SAAS,CAOhC"}
|
package/lib/runtime-state.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createToken } from '
|
|
1
|
+
import { createToken } from 'zhin.js';
|
|
2
2
|
export const groupSuiteRuntimeToken = createToken('zhin.group-suite.runtime', 'Owner-scoped Group Suite database and ephemeral state');
|
|
3
3
|
export function createGroupSuiteRuntime(db) {
|
|
4
4
|
return {
|
package/lib/runtime-state.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-state.js","sourceRoot":"","sources":["../src/runtime-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAc,MAAM,
|
|
1
|
+
{"version":3,"file":"runtime-state.js","sourceRoot":"","sources":["../src/runtime-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAc,MAAM,SAAS,CAAC;AAmBlD,MAAM,CAAC,MAAM,sBAAsB,GAAG,WAAW,CAC/C,0BAA0B,EAC1B,uDAAuD,CACxD,CAAC;AAEF,MAAM,UAAU,uBAAuB,CAAC,EAAsB;IAC5D,OAAO;QACL,EAAE;QACF,QAAQ,EAAE,IAAI,GAAG,EAAE;QACnB,cAAc,EAAE,IAAI,GAAG,EAAE;QACzB,WAAW,EAAE,IAAI,GAAG,EAAE;KACvB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAGxC;IACC,IAAI,CAAC;QACH,OAAO,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;IAC7C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,OAAO,CAAC,KAAK,EAAE,EAAE;YAAE,MAAM,KAAK,CAAC;QACnC,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineMiddleware } from '
|
|
2
|
+
import { defineMiddleware } from 'zhin.js/middleware';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
4
|
import { matchKeyword } from "../lib/keyword-store.js";
|
|
5
5
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineMiddleware } from '
|
|
1
|
+
import { defineMiddleware } from 'zhin.js/middleware';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { matchKeyword } from '../src/keyword-store.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineMiddleware } from '
|
|
2
|
+
import { defineMiddleware } from 'zhin.js/middleware';
|
|
3
3
|
import { recordMessage } from "../lib/stats-lib.js";
|
|
4
4
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineMiddleware } from '
|
|
1
|
+
import { defineMiddleware } from 'zhin.js/middleware';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import type { GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { recordMessage } from '../src/stats-lib.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineMiddleware } from '
|
|
2
|
+
import { defineMiddleware } from 'zhin.js/middleware';
|
|
3
3
|
import { resolveGroupSuiteConfig } from "../lib/config.js";
|
|
4
4
|
import { tryTeachReply } from "../lib/teach-lib.js";
|
|
5
5
|
import { resolveGroupSuiteRuntime } from "../lib/runtime-state.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineMiddleware } from '
|
|
1
|
+
import { defineMiddleware } from 'zhin.js/middleware';
|
|
2
2
|
import type { Message } from '@zhin.js/core/runtime';
|
|
3
3
|
import { resolveGroupSuiteConfig, type GroupSuiteConfig } from '../src/config.js';
|
|
4
4
|
import { tryTeachReply } from '../src/teach-lib.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/plugin-group-suite",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.12",
|
|
4
4
|
"description": "Zhin.js 群运营套件 — slice-2 checkin/teach/stats + keywords (Plugin Runtime, in-memory)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -41,27 +41,33 @@
|
|
|
41
41
|
},
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@zhin.js/
|
|
45
|
-
"@zhin.js/core": "1.5.9",
|
|
46
|
-
"@zhin.js/middleware": "1.0.10",
|
|
47
|
-
"@zhin.js/plugin-runtime": "1.1.6",
|
|
44
|
+
"@zhin.js/core": "1.5.10",
|
|
48
45
|
"@zhin.js/satori": "1.0.19"
|
|
49
46
|
},
|
|
50
47
|
"devDependencies": {
|
|
51
48
|
"typescript": "^6.0.3",
|
|
52
49
|
"vitest": "^4.1.10",
|
|
53
50
|
"zod": "^4.4.3",
|
|
54
|
-
"@zhin.js/agent": "1.1.
|
|
55
|
-
"zhin.js": "6.0.
|
|
51
|
+
"@zhin.js/agent": "1.1.12",
|
|
52
|
+
"zhin.js": "6.0.10"
|
|
56
53
|
},
|
|
57
54
|
"peerDependencies": {
|
|
58
55
|
"zod": "^4.0.0",
|
|
59
|
-
"@zhin.js/agent": "1.1.
|
|
56
|
+
"@zhin.js/agent": "1.1.12",
|
|
57
|
+
"@zhin.js/command": "1.0.14",
|
|
58
|
+
"@zhin.js/middleware": "1.0.11",
|
|
59
|
+
"zhin.js": "6.0.10"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"@zhin.js/agent": {
|
|
63
63
|
"optional": true
|
|
64
64
|
},
|
|
65
|
+
"@zhin.js/command": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"@zhin.js/middleware": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
65
71
|
"zod": {
|
|
66
72
|
"optional": true
|
|
67
73
|
}
|
package/plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { definePlugin, databaseHostToken } from '
|
|
2
|
+
import { definePlugin, databaseHostToken } from 'zhin.js';
|
|
3
3
|
import { registerGroupSuiteDb } from "./lib/db-store.js";
|
|
4
4
|
import { createInMemoryGroupSuiteDb } from "./lib/memory-store.js";
|
|
5
5
|
import { createGroupSuiteRuntime, groupSuiteRuntimeToken } from "./lib/runtime-state.js";
|
package/src/runtime-state.ts
CHANGED