@zhin.js/command 1.1.15 → 1.1.17
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/lib/command-index.d.ts +1 -1
- package/lib/definition.d.ts +1 -1
- package/package.json +5 -5
- package/src/command-index.ts +1 -1
- package/src/definition.ts +1 -1
package/lib/command-index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CapabilityId, type CapabilitySlot, type PluginId, type RuntimeSnapshot, type Locale } from '@zhin.js/plugin-runtime';
|
|
2
|
-
import type { UserInteractionFactory } from '@zhin.js/
|
|
2
|
+
import type { UserInteractionFactory } from '@zhin.js/im-contract';
|
|
3
3
|
import { type CapabilityOperationFactory } from '@zhin.js/feature-kit';
|
|
4
4
|
import { type CommandValidationIssue } from './arguments.js';
|
|
5
5
|
import { type CommandMenuEntry, type CommandMenuAppearance } from './command-menu.js';
|
package/lib/definition.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { type Locale, type PluginId, type RuntimeSnapshot } from '@zhin.js/plugin-runtime';
|
|
6
6
|
import { type CapabilityOperation, type OperationSession, type AdapterClient, type RegisteredAdapterName, type CapabilityContext } from '@zhin.js/feature-kit';
|
|
7
|
-
import type { UserInteraction } from '@zhin.js/
|
|
7
|
+
import type { UserInteraction } from '@zhin.js/im-contract';
|
|
8
8
|
import { type CommandExecutionPolicy } from './execution-policy.js';
|
|
9
9
|
export type { CommandExecutionPolicy, CommandExecutionLimit } from './execution-policy.js';
|
|
10
10
|
declare const commandBrand: "zhin.command/1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/command",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "Convention-based Command Feature for Zhin Plugin Runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"segment-matcher": "^1.0.5",
|
|
24
|
-
"@zhin.js/
|
|
25
|
-
"@zhin.js/
|
|
26
|
-
"@zhin.js/
|
|
27
|
-
"@zhin.js/
|
|
24
|
+
"@zhin.js/feature-kit": "1.1.15",
|
|
25
|
+
"@zhin.js/im-contract": "1.1.13",
|
|
26
|
+
"@zhin.js/permission": "1.1.15",
|
|
27
|
+
"@zhin.js/plugin-runtime": "1.1.23"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^26.1.2",
|
package/src/command-index.ts
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
type RuntimeSnapshot,
|
|
13
13
|
type Locale,
|
|
14
14
|
} from '@zhin.js/plugin-runtime';
|
|
15
|
-
import type { UserInteractionFactory } from '@zhin.js/
|
|
15
|
+
import type { UserInteractionFactory } from '@zhin.js/im-contract';
|
|
16
16
|
import { bindOperationInput, type CapabilityOperationFactory } from '@zhin.js/feature-kit';
|
|
17
17
|
import {
|
|
18
18
|
permissionHostToken,
|
package/src/definition.ts
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from '@zhin.js/feature-kit';
|
|
17
17
|
import { assertPermitSyntax } from '@zhin.js/permission';
|
|
18
18
|
import { validateArgumentSchemas } from './arguments.js';
|
|
19
|
-
import type { UserInteraction } from '@zhin.js/
|
|
19
|
+
import type { UserInteraction } from '@zhin.js/im-contract';
|
|
20
20
|
import { normalizeExecutionPolicy, type CommandExecutionPolicy } from './execution-policy.js';
|
|
21
21
|
export type { CommandExecutionPolicy, CommandExecutionLimit } from './execution-policy.js';
|
|
22
22
|
|