@kyo-so/cli 0.16.9 → 0.16.11
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/.agents/skills/kyoso-review/SKILL.md +2 -2
- package/CHANGELOG.md +55 -0
- package/README.ja.md +18 -15
- package/README.md +18 -15
- package/README.zh-CN.md +18 -15
- package/dist/bin/kyoso.js +1260 -1168
- package/dist/cli/knownSkillDigests.d.ts +5 -1
- package/dist/cli/manualMcpInvocation.d.ts +7 -0
- package/dist/cli/packageRunner.d.ts +3 -0
- package/dist/cli/pluginRuntimeContract.d.ts +4 -4
- package/dist/config/schema.d.ts +15 -15
- package/dist/core/constants.d.ts +1 -1
- package/dist/index.js +1046 -983
- package/dist/mcp/schemas.d.ts +11 -11
- package/examples/claude-code-mcp.json +1 -1
- package/examples/codex-config.toml +2 -2
- package/package.json +10 -9
package/dist/mcp/schemas.d.ts
CHANGED
|
@@ -3,20 +3,20 @@ export declare const kyosoReviewRequestSchema: z.ZodObject<{
|
|
|
3
3
|
goal: z.ZodString;
|
|
4
4
|
reviewContract: z.ZodOptional<z.ZodObject<{
|
|
5
5
|
focus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6
|
+
architecture: "architecture";
|
|
6
7
|
correctness: "correctness";
|
|
7
|
-
regression: "regression";
|
|
8
|
-
security_boundaries: "security_boundaries";
|
|
9
|
-
secrets_and_injection: "secrets_and_injection";
|
|
10
8
|
data_integrity: "data_integrity";
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
documentation: "documentation";
|
|
10
|
+
maintainability: "maintainability";
|
|
11
|
+
performance: "performance";
|
|
13
12
|
privacy: "privacy";
|
|
13
|
+
public_contract: "public_contract";
|
|
14
|
+
regression: "regression";
|
|
14
15
|
resource_amplification: "resource_amplification";
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
secrets_and_injection: "secrets_and_injection";
|
|
17
|
+
security_boundaries: "security_boundaries";
|
|
18
|
+
supply_chain: "supply_chain";
|
|
17
19
|
tests: "tests";
|
|
18
|
-
documentation: "documentation";
|
|
19
|
-
maintainability: "maintainability";
|
|
20
20
|
}>>>;
|
|
21
21
|
nonGoals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
22
|
acceptedRisks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -60,10 +60,10 @@ export declare const kyosoReviewRequestSchema: z.ZodObject<{
|
|
|
60
60
|
}, z.core.$strict>>;
|
|
61
61
|
includeAgentRawOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
62
62
|
judgeProvider: z.ZodOptional<z.ZodEnum<{
|
|
63
|
-
auto: "auto";
|
|
64
|
-
openai: "openai";
|
|
65
63
|
anthropic: "anthropic";
|
|
64
|
+
auto: "auto";
|
|
66
65
|
none: "none";
|
|
66
|
+
openai: "openai";
|
|
67
67
|
}>>;
|
|
68
68
|
allowSecretRedaction: z.ZodOptional<z.ZodBoolean>;
|
|
69
69
|
}, z.core.$strip>>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"kyoso": {
|
|
4
4
|
"command": "npx",
|
|
5
|
-
"args": ["-y", "--package
|
|
5
|
+
"args": ["-y", "--package=kyoso-cli@npm:@kyo-so/cli", "kyoso", "mcp"],
|
|
6
6
|
"env": {
|
|
7
7
|
"OPENAI_API_KEY": "${OPENAI_API_KEY}",
|
|
8
8
|
"ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[mcp_servers.kyoso]
|
|
2
2
|
command = "npx"
|
|
3
|
-
args = ["-y", "--package
|
|
3
|
+
args = ["-y", "--package=kyoso-cli@npm:@kyo-so/cli", "kyoso", "mcp"]
|
|
4
4
|
# Generated by `kyoso setup codex --write`. For OpenRouter, use
|
|
5
5
|
# `kyoso setup codex --write --with-openrouter`, or insert
|
|
6
6
|
# "OPENROUTER_API_KEY" after "CODEX_ACCESS_TOKEN" in this list.
|
|
@@ -11,4 +11,4 @@ enabled = true
|
|
|
11
11
|
|
|
12
12
|
# Bun alternative:
|
|
13
13
|
# command = "bunx"
|
|
14
|
-
# args = ["--package", "@kyo-so/cli", "kyoso", "mcp"]
|
|
14
|
+
# args = ["--package", "kyoso-cli@npm:@kyo-so/cli", "kyoso", "mcp"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyo-so/cli",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.11",
|
|
4
4
|
"description": "Kyo-so: MCP-native, ACP-powered multi-agent review gates for AI coding workflows.",
|
|
5
5
|
"license": "AGPL-3.0-or-later",
|
|
6
6
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": "
|
|
16
|
+
"node": "^22.0.0 || ^24.0.0 || ^26.0.0"
|
|
17
17
|
},
|
|
18
18
|
"main": "./dist/index.js",
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
],
|
|
40
40
|
"scripts": {
|
|
41
41
|
"dev": "bun run src/cli/main.ts",
|
|
42
|
-
"typecheck": "tsc --noEmit",
|
|
42
|
+
"typecheck": "node node_modules/typescript/bin/tsc --noEmit",
|
|
43
43
|
"test": "bun test",
|
|
44
|
-
"build": "bun build src/index.ts --target=node --outfile dist/index.js && bun build src/cli/main.ts --target=node --outfile dist/bin/kyoso.js --banner '#!/usr/bin/env node' && node -e \"require('node:fs').chmodSync('dist/bin/kyoso.js', 0o755)\" && tsc -p tsconfig.build.json",
|
|
45
|
-
"lint": "tsc --noEmit",
|
|
44
|
+
"build": "bun build src/index.ts --target=node --outfile dist/index.js && bun build src/cli/main.ts --target=node --outfile dist/bin/kyoso.js --banner '#!/usr/bin/env node' && node -e \"require('node:fs').chmodSync('dist/bin/kyoso.js', 0o755)\" && node node_modules/typescript/bin/tsc -p tsconfig.build.json",
|
|
45
|
+
"lint": "node node_modules/typescript/bin/tsc --noEmit",
|
|
46
46
|
"format": "prettier --write .",
|
|
47
47
|
"format:check": "prettier --check .",
|
|
48
48
|
"smoke:openrouter:codex-acp": "bun run src/cli/main.ts openrouter-acp-smoke",
|
|
@@ -61,14 +61,15 @@
|
|
|
61
61
|
"prepack": "bun run build"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@agentclientprotocol/sdk": "1.
|
|
64
|
+
"@agentclientprotocol/sdk": "1.4.0",
|
|
65
65
|
"@modelcontextprotocol/server": "2.0.0",
|
|
66
66
|
"smol-toml": "1.8.0",
|
|
67
|
-
"typescript": "6.0.3",
|
|
68
67
|
"zod": "4.4.3"
|
|
69
68
|
},
|
|
70
69
|
"devDependencies": {
|
|
71
|
-
"@types/bun": "1.
|
|
72
|
-
"
|
|
70
|
+
"@types/bun": "1.4.0",
|
|
71
|
+
"@typescript/typescript6": "6.0.2",
|
|
72
|
+
"prettier": "3.9.6",
|
|
73
|
+
"typescript": "7.0.2"
|
|
73
74
|
}
|
|
74
75
|
}
|