@bendyline/gilde 0.1.19 → 0.1.21
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/authoring/chat-models/muse-glimmer-30b-q4.json +1 -1
- package/authoring/chat-models/nemotron3.5-lightning-30b-q4.json +134 -0
- package/authoring/chat-models/nemotron3.5-lightning-30b-q8.json +134 -0
- package/data/chat-models/de/deepseek-v4-flash-284b-mxfp4/manifest.json +3 -1
- package/data/chat-models/de/deepseek-v4-flash-284b-mxfp4/versions/1.0.0/manifest.json +3 -1
- package/data/chat-models/de/deepseek-v4-flash-284b-q2/manifest.json +3 -1
- package/data/chat-models/de/deepseek-v4-flash-284b-q2/versions/1.0.0/manifest.json +3 -1
- package/data/chat-models/de/deepseek-v4-flash-284b-q2/versions/1.1.0/manifest.json +3 -1
- package/data/chat-models/de/deepseek-v4-flash-284b-q2q4/manifest.json +3 -1
- package/data/chat-models/de/deepseek-v4-flash-284b-q2q4/versions/1.0.0/manifest.json +3 -1
- package/data/chat-models/de/deepseek-v4-flash-284b-q4/manifest.json +3 -1
- package/data/chat-models/de/deepseek-v4-flash-284b-q4/versions/1.0.0/manifest.json +3 -1
- package/data/chat-models/de/deepseek-v4-flash-284b-q4/versions/1.1.0/manifest.json +3 -1
- package/data/chat-models/gl/glm-5.2-754b-q2/manifest.json +3 -1
- package/data/chat-models/gl/glm-5.2-754b-q2/versions/1.0.0/manifest.json +3 -1
- package/data/chat-models/index.json +1 -1
- package/data/chat-models/mu/muse-glimmer-30b-q4/manifest.json +1 -1
- package/data/chat-models/ne/nemotron3.5-lightning-30b-q4/manifest.json +193 -0
- package/data/chat-models/ne/nemotron3.5-lightning-30b-q4/versions/1.0.0/manifest.json +74 -0
- package/data/chat-models/ne/nemotron3.5-lightning-30b-q8/manifest.json +208 -0
- package/data/chat-models/ne/nemotron3.5-lightning-30b-q8/versions/1.0.0/manifest.json +89 -0
- package/data/connector-types/gi/github-pulls/manifest.json +17 -0
- package/data/connector-types/gi/github-pulls/versions/1.0.0/manifest.json +37 -0
- package/data/connector-types/index.json +1 -1
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/pu/pull-request-review/manifest.json +1 -1
- package/data/craftbook-templates/pu/pull-request-review/versions/1.3.0/craftbook.json +156 -0
- package/data/craftbook-templates/pu/pull-request-review/versions/1.3.0/test.json +172 -0
- package/package.json +1 -1
- package/schemas/chat-model-version.schema.json +10 -0
- package/schemas/craftbook-doc.schema.json +24 -0
- package/schemas/craftbook-template-version.schema.json +24 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"id": "pull-request-review",
|
|
5
5
|
"role": "maintenance-review",
|
|
6
6
|
"name": "Pull Request Review",
|
|
7
|
-
"description": "Staff-engineer-style PR review. Defaults to the open pull request for the project's checked-out branch,
|
|
7
|
+
"description": "Staff-engineer-style PR review. Defaults to the open pull request for the project's checked-out branch when one exists, accepts an explicit PR number from any branch, walks the full diff, and produces a structured local verdict. Requires a GitHub-connected project.",
|
|
8
8
|
"tags": [
|
|
9
9
|
"review",
|
|
10
10
|
"pull-request",
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "pull-request-review",
|
|
3
|
+
"name": "Pull Request Review",
|
|
4
|
+
"description": "Review a GitHub pull request and deliver a gated, evidence-based report. This is the PR-aware companion to Code Review: it accepts an explicit PR number from any branch, otherwise resolves the unique open PR for the project's checked-out branch, reads PR metadata, comments, files, and diff through the GitHub toolset, and writes `pr-review.md` without modifying source or posting back to GitHub. Three steps:\n\n1. **Scope the PR** — select an explicit PR number or the unique current-branch match and record the review surface\n2. **Review and report** — walk every changed file, cite concrete `path:line` evidence, and write a severity-ranked report\n3. **Deliver the verdict** — summarize approve vs request-changes in task notes\n\nThe craftbook stays available on `main`, `master`, and when the local branch is unknown because an explicit PR number is always valid. If no number is supplied and the current branch has no unique open PR, the reviewer asks instead of silently choosing another branch's PR.",
|
|
5
|
+
"basedOn": {
|
|
6
|
+
"name": "Gezel Code Review",
|
|
7
|
+
"url": "https://github.com/bendyline/gezel"
|
|
8
|
+
},
|
|
9
|
+
"entryStepId": "scope",
|
|
10
|
+
"triggers": [
|
|
11
|
+
"review this pr",
|
|
12
|
+
"review the current pr",
|
|
13
|
+
"review this pull request",
|
|
14
|
+
"pr review",
|
|
15
|
+
"review the github pull request"
|
|
16
|
+
],
|
|
17
|
+
"requirements": [
|
|
18
|
+
{
|
|
19
|
+
"kind": "github"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"toolsets": [
|
|
23
|
+
{
|
|
24
|
+
"toolsetId": "github",
|
|
25
|
+
"optional": true,
|
|
26
|
+
"autoAllow": true,
|
|
27
|
+
"reason": "read pull-request metadata, comments, changed files, and the unified diff"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"paramSchema": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"number": {
|
|
34
|
+
"type": "number",
|
|
35
|
+
"title": "Pull request number",
|
|
36
|
+
"description": "Optional PR number. Leave blank to use the open PR whose head matches the project's checked-out branch."
|
|
37
|
+
},
|
|
38
|
+
"focus": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"title": "Review focus",
|
|
41
|
+
"description": "Optional area to emphasize, e.g. security, performance, or tests."
|
|
42
|
+
},
|
|
43
|
+
"intensity": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"title": "Intensity",
|
|
46
|
+
"enum": [
|
|
47
|
+
"low",
|
|
48
|
+
"medium",
|
|
49
|
+
"high"
|
|
50
|
+
],
|
|
51
|
+
"default": "medium",
|
|
52
|
+
"squisq": {
|
|
53
|
+
"control": "segmented"
|
|
54
|
+
},
|
|
55
|
+
"description": "How deep to go on the diff walk."
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"steps": [
|
|
60
|
+
{
|
|
61
|
+
"id": "scope",
|
|
62
|
+
"name": "Scope the pull request",
|
|
63
|
+
"description": "Resolve an explicit PR or the unique open PR for the checked-out branch, then record its metadata, changed files, existing review context, and review themes.",
|
|
64
|
+
"prompt": "**You are reviewing a pull request, not authoring it. Never modify project source in this craftbook.**\n\n**Your first tool call this turn:** `github_pr_list({})`. It lists open PRs for this project, puts PRs whose head matches the checked-out branch first, and marks a unique one `Current branch match — default`.\n\nSelect the PR with this precedence:\n\n1. If the invocation parameters or user message supply a PR number, use it.\n2. Otherwise use the unique `Current branch match — default`.\n3. If multiple PRs match the current branch, or no PR matches and more than one PR is open, call `ask_user_question` with the concrete choices. Never take an unrelated first result.\n4. If no PR is open, write a task note explaining that and stop.\n\nFor the selected number, call `github_pr_view`, `github_pr_files`, and `github_pr_comments`. Read the title/body, head and base branches, file list, additions/deletions, and any feedback already raised so you do not duplicate it. Then write ONE task note beginning `## Scope — PR #<number>` and include: title, URL, head → base, draft state, changed-file list, existing-review themes, and 3–6 review themes weighted by the requested focus and intensity. End by calling `advance_task_step`.",
|
|
65
|
+
"suggestedRole": "reviewer",
|
|
66
|
+
"gate": {
|
|
67
|
+
"at": "completion",
|
|
68
|
+
"scripts": [
|
|
69
|
+
{
|
|
70
|
+
"name": "checkTaskNoteContains",
|
|
71
|
+
"scope": "standard",
|
|
72
|
+
"inputs": {
|
|
73
|
+
"pattern": "##\\s*Scope\\s*[—-]\\s*PR\\s*#\\d+"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"onReject": "scope",
|
|
78
|
+
"maxAttempts": 3
|
|
79
|
+
},
|
|
80
|
+
"next": "report"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "report",
|
|
84
|
+
"name": "Review and write the report",
|
|
85
|
+
"description": "Walk the full PR diff and every changed file, then write a gated report with concrete citations and a verdict. The report is local; this recipe never posts to GitHub automatically.",
|
|
86
|
+
"prompt": "Use the PR number selected in the Scope note. Call `github_pr_diff` for the complete unified diff and `github_pr_files` for the per-file patches. Walk every changed file and review for correctness, security, data-loss risk, error handling, concurrency, compatibility, tests, and clarity — weighted by the requested focus and intensity. Use `read_file` only when you need surrounding workspace context. Do not repeat an existing PR comment unless the issue still needs action and you explicitly say it was already raised.\n\nCite every finding as `path:line` using a changed path and a line from the new side of the diff. Do not invent files, behavior, or line numbers. Any critical or major finding requires `request-changes`; otherwise use `approve`.\n\nWrite `pr-review.md` in ONE `write_file` call using exactly this skeleton:\n\n```\n# Pull Request Review — PR #<number>: <title>\n\n## Summary\n<2–6 sentences: what changes, overall risk, and whether existing comments cover any issue. Say \"No findings.\" when there are none.>\n\n## Findings\n| # | Severity | File | Line | Finding | Recommendation |\n|---|----------|------|------|---------|----------------|\n<one row per finding; severities: critical, major, minor, nit. Keep the header when there are no findings.>\n\n## Verdict\nVerdict: approve\n<or> Verdict: request-changes\n<one sentence of rationale>\n```\n\nDo not modify source and do not call `github_pr_comment`; the user asked for a review report, not an automatic public side effect. If the gate rejects, fix exactly the named gap and rewrite the whole report. Then call `advance_task_step`.",
|
|
87
|
+
"suggestedRole": "reviewer",
|
|
88
|
+
"advanceWhen": {
|
|
89
|
+
"file": "pr-review.md",
|
|
90
|
+
"minBytes": 500
|
|
91
|
+
},
|
|
92
|
+
"gate": {
|
|
93
|
+
"at": "completion",
|
|
94
|
+
"checks": [
|
|
95
|
+
{
|
|
96
|
+
"kind": "minBytes",
|
|
97
|
+
"file": "pr-review.md",
|
|
98
|
+
"bytes": 500
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"kind": "contains",
|
|
102
|
+
"file": "pr-review.md",
|
|
103
|
+
"pattern": "#\\s+Pull Request Review\\s+[—-]\\s+PR\\s+#\\d+",
|
|
104
|
+
"label": "PR-numbered title"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"kind": "contains",
|
|
108
|
+
"file": "pr-review.md",
|
|
109
|
+
"pattern": "##\\s+Summary",
|
|
110
|
+
"label": "Summary section"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "contains",
|
|
114
|
+
"file": "pr-review.md",
|
|
115
|
+
"pattern": "##\\s+Findings",
|
|
116
|
+
"label": "Findings section"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "contains",
|
|
120
|
+
"file": "pr-review.md",
|
|
121
|
+
"pattern": "\\|\\s*Severity\\s*\\|",
|
|
122
|
+
"label": "findings table header"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"kind": "contains",
|
|
126
|
+
"file": "pr-review.md",
|
|
127
|
+
"pattern": "Verdict:\\s*(approve|request-changes)",
|
|
128
|
+
"label": "verdict line"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"kind": "tableShape",
|
|
132
|
+
"file": "pr-review.md",
|
|
133
|
+
"requiredColumns": [
|
|
134
|
+
"Severity",
|
|
135
|
+
"File",
|
|
136
|
+
"Finding"
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"onReject": "report",
|
|
141
|
+
"maxAttempts": 4
|
|
142
|
+
},
|
|
143
|
+
"next": "done"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "done",
|
|
147
|
+
"name": "Deliver the verdict",
|
|
148
|
+
"description": "The report passed its gates. Summarize the verdict and point the user to the local report.",
|
|
149
|
+
"prompt": "Read `pr-review.md`, then write one final task note with `write_task_note`: `PR #<number> — Verdict: <approve|request-changes> — N findings (a critical, b major, c minor, d nit)` plus a one-paragraph summary. Tell the user the full local review is at `pr-review.md` and was not posted to GitHub. Then call `advance_task_step` to complete the task.",
|
|
150
|
+
"suggestedRole": "reviewer",
|
|
151
|
+
"terminal": true
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"version": "1.3.0",
|
|
155
|
+
"releasedAt": "2026-08-10T00:00:00Z"
|
|
156
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"title": "Current-branch pull request review",
|
|
4
|
+
"objective": "Verify that Pull Request Review selects the PR marked as the checked-out branch default, inspects its GitHub metadata and diff through a deterministic MCP fixture, and writes a cited request-changes report without posting to GitHub.",
|
|
5
|
+
"tags": [
|
|
6
|
+
"external",
|
|
7
|
+
"mcp",
|
|
8
|
+
"pull-request"
|
|
9
|
+
],
|
|
10
|
+
"prompt": "Run the Pull Request Review craftbook for the current checked-out branch. The fake GitHub toolset is local and deterministic; do not use real network or credentials. Review the PR marked as the current-branch default, not unrelated PR #41. Write the complete local review to pr-review.md and do not post a GitHub comment.",
|
|
11
|
+
"setup": {
|
|
12
|
+
"projectName": "Current Branch PR Review Eval",
|
|
13
|
+
"about": "A local fixture project whose checked-out branch is codex/pr-review. GitHub operations are supplied by the fake github MCP toolset.",
|
|
14
|
+
"missionObjectives": "Review the open PR for codex/pr-review, cite concrete changed-file lines, identify the insecure fallback credential, and deliver pr-review.md without public side effects.",
|
|
15
|
+
"files": [
|
|
16
|
+
{
|
|
17
|
+
"path": "src/auth.ts",
|
|
18
|
+
"content": "export function isAdmin(token: string): boolean {\n const expected = process.env.ADMIN_API_KEY || 'dev-admin-key';\n return token === expected;\n}\n"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"path": "source/eval-context.md",
|
|
22
|
+
"content": "# Eval context\n\nThe checked-out branch is `codex/pr-review`. PR #52 is the only open pull request whose head matches that branch. PR #41 is unrelated and must not be reviewed.\n"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"worker": {
|
|
26
|
+
"name": "Rina",
|
|
27
|
+
"role": "Reviewer",
|
|
28
|
+
"description": "A careful code reviewer who grounds findings in changed lines."
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"mocks": [
|
|
32
|
+
{
|
|
33
|
+
"kind": "mcp",
|
|
34
|
+
"id": "github",
|
|
35
|
+
"toolsetId": "github",
|
|
36
|
+
"description": "Fake GitHub PR tools with two open PRs; PR #52 is the unique current-branch match and PR #41 is unrelated.",
|
|
37
|
+
"tools": [
|
|
38
|
+
{
|
|
39
|
+
"name": "github_pr_list",
|
|
40
|
+
"description": "List open PRs, prioritizing and marking the checked-out branch match.",
|
|
41
|
+
"resultTemplate": "#52 — Add admin API-key authentication (alex, codex/pr-review → main)\n https://github.example.test/acme/widget/pull/52\n Current branch match — default: codex/pr-review\n\n#41 — Refactor invoice export (sam, feature/invoice-export → main)\n https://github.example.test/acme/widget/pull/41"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "github_pr_view",
|
|
45
|
+
"description": "Fetch PR metadata for a selected number.",
|
|
46
|
+
"resultTemplate": "#52 — Add admin API-key authentication\nAuthor: alex\nBranches: codex/pr-review → main\nState: OPEN\nChanges: +4 −0 across 1 file(s)\nURL: https://github.example.test/acme/widget/pull/52\n\nAdds an API-key check for admin routes."
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "github_pr_files",
|
|
50
|
+
"description": "List changed files and patches for a selected PR.",
|
|
51
|
+
"resultTemplate": "src/auth.ts — added (+4 −0)\n```diff\n@@ -0,0 +1,4 @@\n+export function isAdmin(token: string): boolean {\n+ const expected = process.env.ADMIN_API_KEY || 'dev-admin-key';\n+ return token === expected;\n+}\n```"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "github_pr_diff",
|
|
55
|
+
"description": "Fetch the full unified diff for a selected PR.",
|
|
56
|
+
"resultTemplate": "diff --git a/src/auth.ts b/src/auth.ts\nnew file mode 100644\n--- /dev/null\n+++ b/src/auth.ts\n@@ -0,0 +1,4 @@\n+export function isAdmin(token: string): boolean {\n+ const expected = process.env.ADMIN_API_KEY || 'dev-admin-key';\n+ return token === expected;\n+}\n"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "github_pr_comments",
|
|
60
|
+
"description": "List existing PR comments.",
|
|
61
|
+
"resultTemplate": "No comments on this PR."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "github_pr_comment",
|
|
65
|
+
"description": "Post a PR comment. Present only so the eval can prove the review recipe does not call it.",
|
|
66
|
+
"resultTemplate": {
|
|
67
|
+
"id": 9001,
|
|
68
|
+
"url": "https://github.example.test/acme/widget/pull/52#comment-9001"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"success": {
|
|
75
|
+
"summary": "pr-review.md reviews PR #52 (the unique current-branch match), cites src/auth.ts, flags the hard-coded fallback credential, requests changes, and never calls the GitHub comment tool.",
|
|
76
|
+
"deliverables": [
|
|
77
|
+
{
|
|
78
|
+
"path": "pr-review.md",
|
|
79
|
+
"kind": "markdown-report",
|
|
80
|
+
"minBytes": 500,
|
|
81
|
+
"checks": [
|
|
82
|
+
{
|
|
83
|
+
"kind": "contains",
|
|
84
|
+
"file": "pr-review.md",
|
|
85
|
+
"pattern": "#\\s+Pull Request Review\\s+[—-]\\s+PR\\s+#52",
|
|
86
|
+
"flags": "i"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"kind": "contains",
|
|
90
|
+
"file": "pr-review.md",
|
|
91
|
+
"pattern": "src/auth\\.ts(?::|\\s*\\|\\s*)[23]",
|
|
92
|
+
"flags": "i"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"kind": "contains",
|
|
96
|
+
"file": "pr-review.md",
|
|
97
|
+
"pattern": "dev-admin-key|fallback credential|hard-coded credential|hardcoded credential",
|
|
98
|
+
"flags": "i"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"kind": "contains",
|
|
102
|
+
"file": "pr-review.md",
|
|
103
|
+
"pattern": "Verdict:\\s*request-changes",
|
|
104
|
+
"flags": "i"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"kind": "notContains",
|
|
108
|
+
"file": "pr-review.md",
|
|
109
|
+
"pattern": "PR\\s*#41|invoice export",
|
|
110
|
+
"flags": "i"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"mocks": [
|
|
116
|
+
{
|
|
117
|
+
"service": "github",
|
|
118
|
+
"requiredTools": [
|
|
119
|
+
"github_pr_list",
|
|
120
|
+
"github_pr_view",
|
|
121
|
+
"github_pr_files",
|
|
122
|
+
"github_pr_diff"
|
|
123
|
+
],
|
|
124
|
+
"toolCalls": {
|
|
125
|
+
"github_pr_comment": {
|
|
126
|
+
"minCalls": 0,
|
|
127
|
+
"maxCalls": 0
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"rubric": {
|
|
134
|
+
"artifact": {
|
|
135
|
+
"path": "pr-review.md",
|
|
136
|
+
"kind": "markdown"
|
|
137
|
+
},
|
|
138
|
+
"axes": [
|
|
139
|
+
{
|
|
140
|
+
"name": "selection",
|
|
141
|
+
"description": "The report is explicitly about PR #52, the current-branch default, and contains no analysis of unrelated PR #41."
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "grounding",
|
|
145
|
+
"description": "Every finding is grounded in the supplied diff with a concrete src/auth.ts line citation."
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "severity",
|
|
149
|
+
"description": "The insecure fallback credential receives a proportionate severity and forces request-changes."
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "side-effects",
|
|
153
|
+
"description": "The review remains local and does not post a GitHub comment."
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"qualityFocus": [
|
|
158
|
+
"current-branch PR selection",
|
|
159
|
+
"diff-grounded findings",
|
|
160
|
+
"safe local-only delivery"
|
|
161
|
+
],
|
|
162
|
+
"extensions": {
|
|
163
|
+
"legacySimulators": [
|
|
164
|
+
{
|
|
165
|
+
"id": "pull-request-review-github-mcp",
|
|
166
|
+
"kind": "mcp",
|
|
167
|
+
"status": "implemented",
|
|
168
|
+
"description": "Deterministic fake GitHub PR toolset with a unique current-branch match, an unrelated open PR, changed-file patches, and a forbidden comment side effect."
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
}
|
package/package.json
CHANGED
|
@@ -254,6 +254,16 @@
|
|
|
254
254
|
"exclusiveMinimum": 0,
|
|
255
255
|
"maximum": 9007199254740991
|
|
256
256
|
},
|
|
257
|
+
"kvBytesPerToken": {
|
|
258
|
+
"type": "integer",
|
|
259
|
+
"exclusiveMinimum": 0,
|
|
260
|
+
"maximum": 9007199254740991
|
|
261
|
+
},
|
|
262
|
+
"residentCtxTokens": {
|
|
263
|
+
"type": "integer",
|
|
264
|
+
"exclusiveMinimum": 0,
|
|
265
|
+
"maximum": 9007199254740991
|
|
266
|
+
},
|
|
257
267
|
"quantization": {
|
|
258
268
|
"type": "string"
|
|
259
269
|
},
|
|
@@ -158,6 +158,30 @@
|
|
|
158
158
|
]
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
|
+
"connectors": {
|
|
162
|
+
"type": "array",
|
|
163
|
+
"items": {
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"typeId": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"minLength": 1
|
|
169
|
+
},
|
|
170
|
+
"sourceId": {
|
|
171
|
+
"type": "string"
|
|
172
|
+
},
|
|
173
|
+
"optional": {
|
|
174
|
+
"type": "boolean"
|
|
175
|
+
},
|
|
176
|
+
"reason": {
|
|
177
|
+
"type": "string"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"required": [
|
|
181
|
+
"typeId"
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
},
|
|
161
185
|
"paramSchema": {
|
|
162
186
|
"type": "object",
|
|
163
187
|
"propertyNames": {
|
|
@@ -5505,6 +5505,30 @@
|
|
|
5505
5505
|
"toolsetId"
|
|
5506
5506
|
]
|
|
5507
5507
|
}
|
|
5508
|
+
},
|
|
5509
|
+
"connectors": {
|
|
5510
|
+
"type": "array",
|
|
5511
|
+
"items": {
|
|
5512
|
+
"type": "object",
|
|
5513
|
+
"properties": {
|
|
5514
|
+
"typeId": {
|
|
5515
|
+
"type": "string",
|
|
5516
|
+
"minLength": 1
|
|
5517
|
+
},
|
|
5518
|
+
"sourceId": {
|
|
5519
|
+
"type": "string"
|
|
5520
|
+
},
|
|
5521
|
+
"optional": {
|
|
5522
|
+
"type": "boolean"
|
|
5523
|
+
},
|
|
5524
|
+
"reason": {
|
|
5525
|
+
"type": "string"
|
|
5526
|
+
}
|
|
5527
|
+
},
|
|
5528
|
+
"required": [
|
|
5529
|
+
"typeId"
|
|
5530
|
+
]
|
|
5531
|
+
}
|
|
5508
5532
|
}
|
|
5509
5533
|
},
|
|
5510
5534
|
"required": [
|