@kawacode/mcp 6.9.5 → 8.0.0
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/CLAUDE.md.example +23 -0
- package/README.md +93 -32
- package/build/index.js +20 -21
- package/build/index.js.map +1 -1
- package/build/prompts/intent-first-workflow.js +1 -2
- package/build/prompts/intent-first-workflow.js.map +1 -1
- package/build/tools/_mangled-args.d.ts +63 -0
- package/build/tools/_mangled-args.js +116 -0
- package/build/tools/_mangled-args.js.map +1 -0
- package/build/tools/_mangled-args.test.js +110 -0
- package/build/tools/_mangled-args.test.js.map +1 -0
- package/build/tools/activate-intent.d.ts +5 -52
- package/build/tools/activate-intent.js +14 -7
- package/build/tools/activate-intent.js.map +1 -1
- package/build/tools/arbiter-apply.d.ts +0 -52
- package/build/tools/arbiter-apply.js +0 -3
- package/build/tools/arbiter-apply.js.map +1 -1
- package/build/tools/arbiter-resolve.d.ts +0 -52
- package/build/tools/arbiter-resolve.js +0 -3
- package/build/tools/arbiter-resolve.js.map +1 -1
- package/build/tools/check-active-intent.d.ts +0 -52
- package/build/tools/check-active-intent.js +2 -24
- package/build/tools/check-active-intent.js.map +1 -1
- package/build/tools/complete-intent.d.ts +4 -56
- package/build/tools/complete-intent.js +15 -44
- package/build/tools/complete-intent.js.map +1 -1
- package/build/tools/create-intent.d.ts +0 -52
- package/build/tools/create-intent.js +0 -4
- package/build/tools/create-intent.js.map +1 -1
- package/build/tools/detect-intent-conflicts.d.ts +0 -52
- package/build/tools/detect-intent-conflicts.js +0 -3
- package/build/tools/detect-intent-conflicts.js.map +1 -1
- package/build/tools/edit-session-decision.d.ts +0 -52
- package/build/tools/edit-session-decision.js +0 -3
- package/build/tools/edit-session-decision.js.map +1 -1
- package/build/tools/get-decision-detail.d.ts +19 -55
- package/build/tools/get-decision-detail.js +12 -7
- package/build/tools/get-decision-detail.js.map +1 -1
- package/build/tools/get-intents-for-file.d.ts +35 -53
- package/build/tools/get-intents-for-file.js +61 -26
- package/build/tools/get-intents-for-file.js.map +1 -1
- package/build/tools/get-project-decisions.d.ts +0 -52
- package/build/tools/get-project-decisions.js +0 -3
- package/build/tools/get-project-decisions.js.map +1 -1
- package/build/tools/get-relevant-context.d.ts +0 -52
- package/build/tools/get-relevant-context.js +0 -3
- package/build/tools/get-relevant-context.js.map +1 -1
- package/build/tools/get-resolution-context.d.ts +0 -52
- package/build/tools/get-resolution-context.js +0 -4
- package/build/tools/get-resolution-context.js.map +1 -1
- package/build/tools/get-session-decisions.d.ts +10 -53
- package/build/tools/get-session-decisions.js +2 -4
- package/build/tools/get-session-decisions.js.map +1 -1
- package/build/tools/index.d.ts +11 -679
- package/build/tools/index.js +6 -15
- package/build/tools/index.js.map +1 -1
- package/build/tools/infer-history.js +4 -19
- package/build/tools/infer-history.js.map +1 -1
- package/build/tools/list-team-intents.d.ts +4 -56
- package/build/tools/list-team-intents.js +0 -3
- package/build/tools/list-team-intents.js.map +1 -1
- package/build/tools/log-work.d.ts +0 -52
- package/build/tools/log-work.js +0 -3
- package/build/tools/log-work.js.map +1 -1
- package/build/tools/pre-edit-acknowledge.d.ts +14 -52
- package/build/tools/pre-edit-acknowledge.js +14 -2
- package/build/tools/pre-edit-acknowledge.js.map +1 -1
- package/build/tools/pre-edit-decision-check.d.ts +14 -52
- package/build/tools/pre-edit-decision-check.js +14 -4
- package/build/tools/pre-edit-decision-check.js.map +1 -1
- package/build/tools/record-decision.d.ts +2 -52
- package/build/tools/record-decision.js +6 -5
- package/build/tools/record-decision.js.map +1 -1
- package/build/tools/resume-intent.d.ts +0 -52
- package/build/tools/resume-intent.js +6 -4
- package/build/tools/resume-intent.js.map +1 -1
- package/build/tools/update-intent.d.ts +0 -52
- package/build/tools/update-intent.js +1 -5
- package/build/tools/update-intent.js.map +1 -1
- package/build/types/refs.d.ts +73 -0
- package/build/types/refs.js +73 -0
- package/build/types/refs.js.map +1 -0
- package/package.json +1 -1
- package/build/tools/_fork-fields.d.ts +0 -84
- package/build/tools/_fork-fields.js +0 -65
- package/build/tools/_fork-fields.js.map +0 -1
- package/build/tools/_salvage-mangled-args.d.ts +0 -38
- package/build/tools/_salvage-mangled-args.js +0 -87
- package/build/tools/_salvage-mangled-args.js.map +0 -1
- package/build/tools/_salvage-mangled-args.test.js +0 -73
- package/build/tools/_salvage-mangled-args.test.js.map +0 -1
- package/build/tools/evolve-decisions.d.ts +0 -90
- package/build/tools/evolve-decisions.js +0 -40
- package/build/tools/evolve-decisions.js.map +0 -1
- package/build/tools/get-intents-for-lines.d.ts +0 -123
- package/build/tools/get-intents-for-lines.js +0 -67
- package/build/tools/get-intents-for-lines.js.map +0 -1
- package/build/tools/update-features.d.ts +0 -31
- package/build/tools/update-features.js +0 -51
- package/build/tools/update-features.js.map +0 -1
- /package/build/tools/{_salvage-mangled-args.test.d.ts → _mangled-args.test.d.ts} +0 -0
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const completeIntentSchema: z.ZodObject<{
|
|
3
|
-
forkAuthor: z.ZodOptional<z.ZodObject<{
|
|
4
|
-
platform: z.ZodEnum<["github", "gitlab"]>;
|
|
5
|
-
user: z.ZodString;
|
|
6
|
-
forkOrigin: z.ZodString;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
platform: "github" | "gitlab";
|
|
9
|
-
user: string;
|
|
10
|
-
forkOrigin: string;
|
|
11
|
-
}, {
|
|
12
|
-
platform: "github" | "gitlab";
|
|
13
|
-
user: string;
|
|
14
|
-
forkOrigin: string;
|
|
15
|
-
}>>;
|
|
16
|
-
workspaceId: z.ZodOptional<z.ZodString>;
|
|
17
3
|
repoOrigin: z.ZodOptional<z.ZodString>;
|
|
18
4
|
repoPath: z.ZodString;
|
|
19
5
|
intentId: z.ZodOptional<z.ZodString>;
|
|
@@ -22,29 +8,17 @@ export declare const completeIntentSchema: z.ZodObject<{
|
|
|
22
8
|
supersededBy: z.ZodOptional<z.ZodString>;
|
|
23
9
|
humanApproved: z.ZodOptional<z.ZodBoolean>;
|
|
24
10
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
status: "done" | "abandoned" | "committed" | "pushed" | "superseded";
|
|
26
11
|
repoPath: string;
|
|
12
|
+
status: "done" | "abandoned" | "committed" | "pushed" | "superseded";
|
|
27
13
|
repoOrigin?: string | undefined;
|
|
28
|
-
forkAuthor?: {
|
|
29
|
-
platform: "github" | "gitlab";
|
|
30
|
-
user: string;
|
|
31
|
-
forkOrigin: string;
|
|
32
|
-
} | undefined;
|
|
33
|
-
workspaceId?: string | undefined;
|
|
34
14
|
intentId?: string | undefined;
|
|
35
15
|
commitSha?: string | undefined;
|
|
36
16
|
supersededBy?: string | undefined;
|
|
37
17
|
humanApproved?: boolean | undefined;
|
|
38
18
|
}, {
|
|
39
19
|
repoPath: string;
|
|
40
|
-
status?: "done" | "abandoned" | "committed" | "pushed" | "superseded" | undefined;
|
|
41
20
|
repoOrigin?: string | undefined;
|
|
42
|
-
|
|
43
|
-
platform: "github" | "gitlab";
|
|
44
|
-
user: string;
|
|
45
|
-
forkOrigin: string;
|
|
46
|
-
} | undefined;
|
|
47
|
-
workspaceId?: string | undefined;
|
|
21
|
+
status?: "done" | "abandoned" | "committed" | "pushed" | "superseded" | undefined;
|
|
48
22
|
intentId?: string | undefined;
|
|
49
23
|
commitSha?: string | undefined;
|
|
50
24
|
supersededBy?: string | undefined;
|
|
@@ -150,20 +124,6 @@ export declare const completeIntentTool: {
|
|
|
150
124
|
name: string;
|
|
151
125
|
description: string;
|
|
152
126
|
inputSchema: z.ZodObject<{
|
|
153
|
-
forkAuthor: z.ZodOptional<z.ZodObject<{
|
|
154
|
-
platform: z.ZodEnum<["github", "gitlab"]>;
|
|
155
|
-
user: z.ZodString;
|
|
156
|
-
forkOrigin: z.ZodString;
|
|
157
|
-
}, "strip", z.ZodTypeAny, {
|
|
158
|
-
platform: "github" | "gitlab";
|
|
159
|
-
user: string;
|
|
160
|
-
forkOrigin: string;
|
|
161
|
-
}, {
|
|
162
|
-
platform: "github" | "gitlab";
|
|
163
|
-
user: string;
|
|
164
|
-
forkOrigin: string;
|
|
165
|
-
}>>;
|
|
166
|
-
workspaceId: z.ZodOptional<z.ZodString>;
|
|
167
127
|
repoOrigin: z.ZodOptional<z.ZodString>;
|
|
168
128
|
repoPath: z.ZodString;
|
|
169
129
|
intentId: z.ZodOptional<z.ZodString>;
|
|
@@ -172,29 +132,17 @@ export declare const completeIntentTool: {
|
|
|
172
132
|
supersededBy: z.ZodOptional<z.ZodString>;
|
|
173
133
|
humanApproved: z.ZodOptional<z.ZodBoolean>;
|
|
174
134
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
status: "done" | "abandoned" | "committed" | "pushed" | "superseded";
|
|
176
135
|
repoPath: string;
|
|
136
|
+
status: "done" | "abandoned" | "committed" | "pushed" | "superseded";
|
|
177
137
|
repoOrigin?: string | undefined;
|
|
178
|
-
forkAuthor?: {
|
|
179
|
-
platform: "github" | "gitlab";
|
|
180
|
-
user: string;
|
|
181
|
-
forkOrigin: string;
|
|
182
|
-
} | undefined;
|
|
183
|
-
workspaceId?: string | undefined;
|
|
184
138
|
intentId?: string | undefined;
|
|
185
139
|
commitSha?: string | undefined;
|
|
186
140
|
supersededBy?: string | undefined;
|
|
187
141
|
humanApproved?: boolean | undefined;
|
|
188
142
|
}, {
|
|
189
143
|
repoPath: string;
|
|
190
|
-
status?: "done" | "abandoned" | "committed" | "pushed" | "superseded" | undefined;
|
|
191
144
|
repoOrigin?: string | undefined;
|
|
192
|
-
|
|
193
|
-
platform: "github" | "gitlab";
|
|
194
|
-
user: string;
|
|
195
|
-
forkOrigin: string;
|
|
196
|
-
} | undefined;
|
|
197
|
-
workspaceId?: string | undefined;
|
|
145
|
+
status?: "done" | "abandoned" | "committed" | "pushed" | "superseded" | undefined;
|
|
198
146
|
intentId?: string | undefined;
|
|
199
147
|
commitSha?: string | undefined;
|
|
200
148
|
supersededBy?: string | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { request } from '../services/muninn-ipc.js';
|
|
3
3
|
import { resolveOrigin } from './resolve-origin.js';
|
|
4
|
-
import { forkFieldsExtensions, extractForkFields } from './_fork-fields.js';
|
|
5
4
|
export const completeIntentSchema = z.object({
|
|
6
5
|
repoOrigin: z.string().optional().describe('Git remote origin URL. Auto-detected from repoPath via git if not provided.'),
|
|
7
6
|
repoPath: z.string().describe('Local path to the repository root'),
|
|
@@ -11,7 +10,6 @@ export const completeIntentSchema = z.object({
|
|
|
11
10
|
.describe('The new status for the intent. Use "committed" after git commit, "done" when work is complete, "abandoned" to discard, "superseded" when another intent replaces this one.'),
|
|
12
11
|
supersededBy: z.string().optional().describe('Intent ID that supersedes this one. Required when status is "superseded".'),
|
|
13
12
|
humanApproved: z.boolean().optional().describe('Set to true ONLY when the human has explicitly confirmed closing an intent created by ANOTHER team member. Required for that cross-author case; ignored for your own intents. NEVER set this on your own initiative — always ask the user first and only set it after they approve.'),
|
|
14
|
-
...forkFieldsExtensions,
|
|
15
13
|
});
|
|
16
14
|
export async function completeIntent(input) {
|
|
17
15
|
const actualOrigin = resolveOrigin(input.repoOrigin, input.repoPath);
|
|
@@ -29,14 +27,22 @@ export async function completeIntent(input) {
|
|
|
29
27
|
// back instead of the client hanging up first. Mirrors inference:estimate's
|
|
30
28
|
// ESTIMATE_TIMEOUT_MS (decision 092172fb: per-call override, not a raised global).
|
|
31
29
|
const COMPLETE_TIMEOUT_MS = 180_000;
|
|
30
|
+
// `repoPath` is forwarded (not just used to derive the origin) because Muninn's
|
|
31
|
+
// dispatcher reads it to trigger the agent worktree-diff publish on completion.
|
|
32
|
+
// That trigger has read `data["repoPath"]` since it was written, but this payload
|
|
33
|
+
// never carried the field — so it never fired once, and agent publishing was zero
|
|
34
|
+
// from 2026-06-06 until W1a (kawa.muninn decision 95de7391). Muninn resolving the
|
|
35
|
+
// path from the origin instead is NOT an option: with several checkouts of one
|
|
36
|
+
// origin (worktree-per-intent) that lookup is first-match over a HashMap and
|
|
37
|
+
// therefore non-deterministic.
|
|
32
38
|
const res = await request('intent', 'complete', {
|
|
33
39
|
repoOrigin: actualOrigin,
|
|
40
|
+
repoPath: input.repoPath,
|
|
34
41
|
intentId: input.intentId,
|
|
35
42
|
status: input.status,
|
|
36
43
|
commitSha: input.commitSha,
|
|
37
44
|
supersededBy: input.supersededBy,
|
|
38
45
|
humanApproved: input.humanApproved,
|
|
39
|
-
...extractForkFields(input),
|
|
40
46
|
}, COMPLETE_TIMEOUT_MS);
|
|
41
47
|
const intentId = res.intentId || '';
|
|
42
48
|
const intentTitle = res.intentTitle || 'Intent';
|
|
@@ -133,52 +139,17 @@ export async function completeIntent(input) {
|
|
|
133
139
|
}
|
|
134
140
|
export const completeIntentTool = {
|
|
135
141
|
name: 'complete_intent',
|
|
136
|
-
description: `Mark the active intent
|
|
142
|
+
description: `Mark the active intent completed and clear it. Call after a successful git commit, passing commitSha so code blocks are captured.
|
|
137
143
|
|
|
138
|
-
|
|
139
|
-
1. Update the intent status (committed/pushed/done/abandoned)
|
|
140
|
-
2. Store the commit SHA for tracking
|
|
141
|
-
3. Clear the active intent so a new one can be started
|
|
144
|
+
status: committed (default, local commit) | pushed | done | abandoned.
|
|
142
145
|
|
|
143
|
-
|
|
144
|
-
- "committed": Code is committed locally (default)
|
|
145
|
-
- "pushed": Code has been pushed to remote
|
|
146
|
-
- "done": Work is fully complete
|
|
147
|
-
- "abandoned": Work was discarded without committing
|
|
146
|
+
You MUST inspect the response:
|
|
148
147
|
|
|
149
|
-
|
|
148
|
+
- success === true — done. If committedDecisionCount > 0, say N decisions were recorded; do NOT list them. If apiSyncDeferred, say the sync was deferred and will replay. If collisions is non-empty, relay it as an advisory coordination heads-up (collisions[].label + files) — the completion still succeeded. If deferredConflicts is non-empty, the completion ALSO succeeded; say "N decision(s) need a disposition in the Kawa Code panel" and do NOT re-run this tool.
|
|
150
149
|
|
|
151
|
-
|
|
152
|
-
The task is complete. Briefly acknowledge the commit and — if
|
|
153
|
-
response.committedDecisionCount > 0 — mention that N distilled architectural
|
|
154
|
-
decisions were recorded for the intent. Do NOT enumerate the decisions
|
|
155
|
-
inline; they're visible via the orchestration panel and via
|
|
156
|
-
get_intent_decisions / get_relevant_context if the user wants details.
|
|
157
|
-
If response.apiSyncDeferred === true, also mention that the API sync was
|
|
158
|
-
deferred; the queued writes will replay on the next sync tick.
|
|
159
|
-
If response.collisions is non-empty, a live collaborator's (HAI's)
|
|
160
|
-
in-progress edits overlap the work you just completed — surface it as a
|
|
161
|
-
coordination heads-up (who, and which files), naming response.collisions[].label
|
|
162
|
-
and the files. It's advisory, not a failure; the completion still succeeded.
|
|
163
|
-
If response.deferredConflicts is non-empty, the distillation produced N
|
|
164
|
-
decisions that conflict with existing standards — the completion STILL
|
|
165
|
-
SUCCEEDED (the commit landed: status flipped, code blocks captured). Those
|
|
166
|
-
decisions are deferred: parked for a disposition in the Orchestration panel,
|
|
167
|
-
where the user picks per decision: supersede the standard, keep both (records
|
|
168
|
-
a "contradicts" edge for a deliberate divergence / false positive), or reject
|
|
169
|
-
the distilled decision. Tell the user "N decision(s) need a disposition in
|
|
170
|
-
the panel." There is NOTHING to retry — do NOT re-run complete_intent.
|
|
150
|
+
- success === false && reason === "transient-failure" — the intent stays active and nothing was lost. Report failedStage plus the error; retry once the cause clears, or abandon if it persists.
|
|
171
151
|
|
|
172
|
-
|
|
173
|
-
The distiller LLM call or the conflict-check API call errored. The
|
|
174
|
-
ephemerals are preserved (the bucket is intact), and the intent stays
|
|
175
|
-
"active". Tell the user the failure stage (response.failedStage) and the
|
|
176
|
-
underlying error, then suggest retrying once the issue clears, or
|
|
177
|
-
abandoning if the failure persists.
|
|
178
|
-
|
|
179
|
-
3. In a non-interactive (autonomous) session: if response.deferredConflicts is
|
|
180
|
-
non-empty, log it at INFO and continue — the commit already landed and the
|
|
181
|
-
decisions await disposition in the panel. There is no blocking state.`,
|
|
152
|
+
Autonomous sessions: deferredConflicts is not a blocking state — log and continue.`,
|
|
182
153
|
inputSchema: completeIntentSchema,
|
|
183
154
|
handler: completeIntent
|
|
184
155
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complete-intent.js","sourceRoot":"","sources":["../../src/tools/complete-intent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"complete-intent.js","sourceRoot":"","sources":["../../src/tools/complete-intent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6EAA6E,CAAC;IACzH,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IAClE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2VAA2V,CAAC;IACrY,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yEAAyE,CAAC;IACpH,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;SAC5F,QAAQ,CAAC,4KAA4K,CAAC;IACzL,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAA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,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;QACnD,cAAc,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS;QAClF,qBAAqB,EAAE,OAAO,GAAG,CAAC,qBAAqB,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS;QAC5G,aAAa,EAAE,GAAG,CAAC,aAAa;QAChC,UAAU,EAAE,oBAAoB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS;KAC/E,CAAA;AACH,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE;;;;;;;;;;mFAUoE;IACjF,WAAW,EAAE,oBAAoB;IACjC,OAAO,EAAE,cAAc;CACxB,CAAA"}
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const createAndActivateIntentSchema: z.ZodObject<{
|
|
3
|
-
forkAuthor: z.ZodOptional<z.ZodObject<{
|
|
4
|
-
platform: z.ZodEnum<["github", "gitlab"]>;
|
|
5
|
-
user: z.ZodString;
|
|
6
|
-
forkOrigin: z.ZodString;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
platform: "github" | "gitlab";
|
|
9
|
-
user: string;
|
|
10
|
-
forkOrigin: string;
|
|
11
|
-
}, {
|
|
12
|
-
platform: "github" | "gitlab";
|
|
13
|
-
user: string;
|
|
14
|
-
forkOrigin: string;
|
|
15
|
-
}>>;
|
|
16
|
-
workspaceId: z.ZodOptional<z.ZodString>;
|
|
17
3
|
repoOrigin: z.ZodOptional<z.ZodString>;
|
|
18
4
|
repoPath: z.ZodString;
|
|
19
5
|
title: z.ZodString;
|
|
@@ -28,24 +14,12 @@ export declare const createAndActivateIntentSchema: z.ZodObject<{
|
|
|
28
14
|
templateType: "feature" | "refactor" | "exploration";
|
|
29
15
|
force: boolean;
|
|
30
16
|
repoOrigin?: string | undefined;
|
|
31
|
-
forkAuthor?: {
|
|
32
|
-
platform: "github" | "gitlab";
|
|
33
|
-
user: string;
|
|
34
|
-
forkOrigin: string;
|
|
35
|
-
} | undefined;
|
|
36
|
-
workspaceId?: string | undefined;
|
|
37
17
|
constraints?: string[] | undefined;
|
|
38
18
|
}, {
|
|
39
19
|
repoPath: string;
|
|
40
20
|
title: string;
|
|
41
21
|
description: string;
|
|
42
22
|
repoOrigin?: string | undefined;
|
|
43
|
-
forkAuthor?: {
|
|
44
|
-
platform: "github" | "gitlab";
|
|
45
|
-
user: string;
|
|
46
|
-
forkOrigin: string;
|
|
47
|
-
} | undefined;
|
|
48
|
-
workspaceId?: string | undefined;
|
|
49
23
|
templateType?: "feature" | "refactor" | "exploration" | undefined;
|
|
50
24
|
constraints?: string[] | undefined;
|
|
51
25
|
force?: boolean | undefined;
|
|
@@ -77,20 +51,6 @@ export declare const createAndActivateIntentTool: {
|
|
|
77
51
|
name: string;
|
|
78
52
|
description: string;
|
|
79
53
|
inputSchema: z.ZodObject<{
|
|
80
|
-
forkAuthor: z.ZodOptional<z.ZodObject<{
|
|
81
|
-
platform: z.ZodEnum<["github", "gitlab"]>;
|
|
82
|
-
user: z.ZodString;
|
|
83
|
-
forkOrigin: z.ZodString;
|
|
84
|
-
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
platform: "github" | "gitlab";
|
|
86
|
-
user: string;
|
|
87
|
-
forkOrigin: string;
|
|
88
|
-
}, {
|
|
89
|
-
platform: "github" | "gitlab";
|
|
90
|
-
user: string;
|
|
91
|
-
forkOrigin: string;
|
|
92
|
-
}>>;
|
|
93
|
-
workspaceId: z.ZodOptional<z.ZodString>;
|
|
94
54
|
repoOrigin: z.ZodOptional<z.ZodString>;
|
|
95
55
|
repoPath: z.ZodString;
|
|
96
56
|
title: z.ZodString;
|
|
@@ -105,24 +65,12 @@ export declare const createAndActivateIntentTool: {
|
|
|
105
65
|
templateType: "feature" | "refactor" | "exploration";
|
|
106
66
|
force: boolean;
|
|
107
67
|
repoOrigin?: string | undefined;
|
|
108
|
-
forkAuthor?: {
|
|
109
|
-
platform: "github" | "gitlab";
|
|
110
|
-
user: string;
|
|
111
|
-
forkOrigin: string;
|
|
112
|
-
} | undefined;
|
|
113
|
-
workspaceId?: string | undefined;
|
|
114
68
|
constraints?: string[] | undefined;
|
|
115
69
|
}, {
|
|
116
70
|
repoPath: string;
|
|
117
71
|
title: string;
|
|
118
72
|
description: string;
|
|
119
73
|
repoOrigin?: string | undefined;
|
|
120
|
-
forkAuthor?: {
|
|
121
|
-
platform: "github" | "gitlab";
|
|
122
|
-
user: string;
|
|
123
|
-
forkOrigin: string;
|
|
124
|
-
} | undefined;
|
|
125
|
-
workspaceId?: string | undefined;
|
|
126
74
|
templateType?: "feature" | "refactor" | "exploration" | undefined;
|
|
127
75
|
constraints?: string[] | undefined;
|
|
128
76
|
force?: boolean | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { request } from '../services/muninn-ipc.js';
|
|
3
3
|
import { resolveOrigin } from './resolve-origin.js';
|
|
4
|
-
import { forkFieldsExtensions, extractForkFields } from './_fork-fields.js';
|
|
5
4
|
export const createAndActivateIntentSchema = z.object({
|
|
6
5
|
repoOrigin: z.string().optional().describe('Git remote origin URL. Auto-detected from repoPath via git if not provided.'),
|
|
7
6
|
repoPath: z.string().describe('Local path to the repository root'),
|
|
@@ -10,7 +9,6 @@ export const createAndActivateIntentSchema = z.object({
|
|
|
10
9
|
templateType: z.enum(['feature', 'refactor', 'exploration']).default('feature').describe('Type of work'),
|
|
11
10
|
constraints: z.array(z.string()).optional().describe('Requirements or constraints for this work'),
|
|
12
11
|
force: z.boolean().optional().default(false).describe('Bypass conflict detection. Set to true after the user has reviewed detected conflicts and chosen to proceed anyway.'),
|
|
13
|
-
...forkFieldsExtensions,
|
|
14
12
|
});
|
|
15
13
|
export async function createAndActivateIntent(input) {
|
|
16
14
|
const actualOrigin = resolveOrigin(input.repoOrigin, input.repoPath);
|
|
@@ -26,7 +24,6 @@ export async function createAndActivateIntent(input) {
|
|
|
26
24
|
constraints: input.constraints || [],
|
|
27
25
|
scope: { type: 'repo', paths: [] },
|
|
28
26
|
force: input.force || false,
|
|
29
|
-
...extractForkFields(input),
|
|
30
27
|
});
|
|
31
28
|
// Handle conflict detection — API returned 409 with conflict data.
|
|
32
29
|
// Return the conflicts to the caller (Claude Code) so it can present
|
|
@@ -74,7 +71,6 @@ export async function createAndActivateIntent(input) {
|
|
|
74
71
|
await request('intent', 'set-active', {
|
|
75
72
|
repoOrigin: actualOrigin,
|
|
76
73
|
intentId,
|
|
77
|
-
...extractForkFields(input),
|
|
78
74
|
});
|
|
79
75
|
const message = action === 'reactivated'
|
|
80
76
|
? `Reactivated existing similar intent: "${input.title}" — resuming previous work instead of creating a duplicate.`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-intent.js","sourceRoot":"","sources":["../../src/tools/create-intent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"create-intent.js","sourceRoot":"","sources":["../../src/tools/create-intent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAEnD,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,C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;;;;;;;;;;;;2BAiBY;IACzB,WAAW,EAAE,6BAA6B;IAC1C,OAAO,EAAE,uBAAuB;CACjC,CAAA"}
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const detectIntentConflictsSchema: z.ZodObject<{
|
|
3
|
-
forkAuthor: z.ZodOptional<z.ZodObject<{
|
|
4
|
-
platform: z.ZodEnum<["github", "gitlab"]>;
|
|
5
|
-
user: z.ZodString;
|
|
6
|
-
forkOrigin: z.ZodString;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
platform: "github" | "gitlab";
|
|
9
|
-
user: string;
|
|
10
|
-
forkOrigin: string;
|
|
11
|
-
}, {
|
|
12
|
-
platform: "github" | "gitlab";
|
|
13
|
-
user: string;
|
|
14
|
-
forkOrigin: string;
|
|
15
|
-
}>>;
|
|
16
|
-
workspaceId: z.ZodOptional<z.ZodString>;
|
|
17
3
|
repoOrigin: z.ZodOptional<z.ZodString>;
|
|
18
4
|
repoPath: z.ZodString;
|
|
19
5
|
intentId: z.ZodString;
|
|
@@ -22,23 +8,11 @@ export declare const detectIntentConflictsSchema: z.ZodObject<{
|
|
|
22
8
|
repoPath: string;
|
|
23
9
|
intentId: string;
|
|
24
10
|
repoOrigin?: string | undefined;
|
|
25
|
-
forkAuthor?: {
|
|
26
|
-
platform: "github" | "gitlab";
|
|
27
|
-
user: string;
|
|
28
|
-
forkOrigin: string;
|
|
29
|
-
} | undefined;
|
|
30
|
-
workspaceId?: string | undefined;
|
|
31
11
|
minScore?: number | undefined;
|
|
32
12
|
}, {
|
|
33
13
|
repoPath: string;
|
|
34
14
|
intentId: string;
|
|
35
15
|
repoOrigin?: string | undefined;
|
|
36
|
-
forkAuthor?: {
|
|
37
|
-
platform: "github" | "gitlab";
|
|
38
|
-
user: string;
|
|
39
|
-
forkOrigin: string;
|
|
40
|
-
} | undefined;
|
|
41
|
-
workspaceId?: string | undefined;
|
|
42
16
|
minScore?: number | undefined;
|
|
43
17
|
}>;
|
|
44
18
|
export type DetectIntentConflictsInput = z.infer<typeof detectIntentConflictsSchema>;
|
|
@@ -68,20 +42,6 @@ export declare const detectIntentConflictsTool: {
|
|
|
68
42
|
name: string;
|
|
69
43
|
description: string;
|
|
70
44
|
inputSchema: z.ZodObject<{
|
|
71
|
-
forkAuthor: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
platform: z.ZodEnum<["github", "gitlab"]>;
|
|
73
|
-
user: z.ZodString;
|
|
74
|
-
forkOrigin: z.ZodString;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
platform: "github" | "gitlab";
|
|
77
|
-
user: string;
|
|
78
|
-
forkOrigin: string;
|
|
79
|
-
}, {
|
|
80
|
-
platform: "github" | "gitlab";
|
|
81
|
-
user: string;
|
|
82
|
-
forkOrigin: string;
|
|
83
|
-
}>>;
|
|
84
|
-
workspaceId: z.ZodOptional<z.ZodString>;
|
|
85
45
|
repoOrigin: z.ZodOptional<z.ZodString>;
|
|
86
46
|
repoPath: z.ZodString;
|
|
87
47
|
intentId: z.ZodString;
|
|
@@ -90,23 +50,11 @@ export declare const detectIntentConflictsTool: {
|
|
|
90
50
|
repoPath: string;
|
|
91
51
|
intentId: string;
|
|
92
52
|
repoOrigin?: string | undefined;
|
|
93
|
-
forkAuthor?: {
|
|
94
|
-
platform: "github" | "gitlab";
|
|
95
|
-
user: string;
|
|
96
|
-
forkOrigin: string;
|
|
97
|
-
} | undefined;
|
|
98
|
-
workspaceId?: string | undefined;
|
|
99
53
|
minScore?: number | undefined;
|
|
100
54
|
}, {
|
|
101
55
|
repoPath: string;
|
|
102
56
|
intentId: string;
|
|
103
57
|
repoOrigin?: string | undefined;
|
|
104
|
-
forkAuthor?: {
|
|
105
|
-
platform: "github" | "gitlab";
|
|
106
|
-
user: string;
|
|
107
|
-
forkOrigin: string;
|
|
108
|
-
} | undefined;
|
|
109
|
-
workspaceId?: string | undefined;
|
|
110
58
|
minScore?: number | undefined;
|
|
111
59
|
}>;
|
|
112
60
|
handler: typeof detectIntentConflicts;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { request } from '../services/muninn-ipc.js';
|
|
3
3
|
import { resolveOrigin } from './resolve-origin.js';
|
|
4
|
-
import { forkFieldsExtensions, extractForkFields } from './_fork-fields.js';
|
|
5
4
|
export const detectIntentConflictsSchema = z.object({
|
|
6
5
|
repoOrigin: z.string().optional().describe('Git remote origin URL. Auto-detected from repoPath via git if not provided.'),
|
|
7
6
|
repoPath: z.string().describe('Local path to the repository root'),
|
|
8
7
|
intentId: z.string().describe('The active intent ID'),
|
|
9
8
|
minScore: z.number().optional().describe('Minimum similarity score threshold (default: 0.5)'),
|
|
10
|
-
...forkFieldsExtensions,
|
|
11
9
|
});
|
|
12
10
|
export async function detectIntentConflicts(input) {
|
|
13
11
|
const actualOrigin = resolveOrigin(input.repoOrigin, input.repoPath);
|
|
@@ -15,7 +13,6 @@ export async function detectIntentConflicts(input) {
|
|
|
15
13
|
repoOrigin: actualOrigin,
|
|
16
14
|
intentId: input.intentId,
|
|
17
15
|
minScore: input.minScore,
|
|
18
|
-
...extractForkFields(input),
|
|
19
16
|
});
|
|
20
17
|
if (res.error) {
|
|
21
18
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-intent-conflicts.js","sourceRoot":"","sources":["../../src/tools/detect-intent-conflicts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"detect-intent-conflicts.js","sourceRoot":"","sources":["../../src/tools/detect-intent-conflicts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,OAAO,E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,WAAW,IAAI,EAAE;QAChC,MAAM,EAAE,CAAC,CAAC,MAAM,IAAI,EAAE;QACtB,QAAQ,EAAE,CAAC,CAAC,QAAQ,IAAI,EAAE;QAC1B,KAAK,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC;QACnB,gBAAgB,EAAE,CAAC,CAAC,gBAAgB,IAAI,EAAE;QAC1C,SAAS,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,CAAC;YAC9C,UAAU,EAAE,CAAC,CAAC,UAAU,IAAI,EAAE;YAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,IAAI,EAAE;YACxB,SAAS,EAAE,CAAC,CAAC,SAAS,IAAI,EAAE;YAC5B,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE;YAClB,YAAY,EAAE,CAAC,CAAC,YAAY,IAAI,EAAE;SACnC,CAAC,CAAC;KACJ,CAAC,CAAC,CAAA;IAEH,OAAO;QACL,YAAY,EAAE,SAAS,CAAC,MAAM,GAAG,CAAC;QAClC,SAAS;QACT,KAAK,EAAE,SAAS,CAAC,MAAM;KACxB,CAAA;AACH,CAAC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE;;;;;;;;;;;;;;;4GAe6F;IAC1G,WAAW,EAAE,2BAA2B;IACxC,OAAO,EAAE,qBAAqB;CAC/B,CAAA"}
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const editSessionDecisionSchema: z.ZodObject<{
|
|
3
|
-
forkAuthor: z.ZodOptional<z.ZodObject<{
|
|
4
|
-
platform: z.ZodEnum<["github", "gitlab"]>;
|
|
5
|
-
user: z.ZodString;
|
|
6
|
-
forkOrigin: z.ZodString;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
platform: "github" | "gitlab";
|
|
9
|
-
user: string;
|
|
10
|
-
forkOrigin: string;
|
|
11
|
-
}, {
|
|
12
|
-
platform: "github" | "gitlab";
|
|
13
|
-
user: string;
|
|
14
|
-
forkOrigin: string;
|
|
15
|
-
}>>;
|
|
16
|
-
workspaceId: z.ZodOptional<z.ZodString>;
|
|
17
3
|
repoOrigin: z.ZodOptional<z.ZodString>;
|
|
18
4
|
repoPath: z.ZodString;
|
|
19
5
|
intentId: z.ZodString;
|
|
@@ -80,12 +66,6 @@ export declare const editSessionDecisionSchema: z.ZodObject<{
|
|
|
80
66
|
action: "update" | "delete";
|
|
81
67
|
decisionId: string;
|
|
82
68
|
repoOrigin?: string | undefined;
|
|
83
|
-
forkAuthor?: {
|
|
84
|
-
platform: "github" | "gitlab";
|
|
85
|
-
user: string;
|
|
86
|
-
forkOrigin: string;
|
|
87
|
-
} | undefined;
|
|
88
|
-
workspaceId?: string | undefined;
|
|
89
69
|
updates?: {
|
|
90
70
|
context?: string | undefined;
|
|
91
71
|
summary?: string | undefined;
|
|
@@ -108,12 +88,6 @@ export declare const editSessionDecisionSchema: z.ZodObject<{
|
|
|
108
88
|
action: "update" | "delete";
|
|
109
89
|
decisionId: string;
|
|
110
90
|
repoOrigin?: string | undefined;
|
|
111
|
-
forkAuthor?: {
|
|
112
|
-
platform: "github" | "gitlab";
|
|
113
|
-
user: string;
|
|
114
|
-
forkOrigin: string;
|
|
115
|
-
} | undefined;
|
|
116
|
-
workspaceId?: string | undefined;
|
|
117
91
|
updates?: {
|
|
118
92
|
context?: string | undefined;
|
|
119
93
|
summary?: string | undefined;
|
|
@@ -141,20 +115,6 @@ export declare const editSessionDecisionTool: {
|
|
|
141
115
|
name: string;
|
|
142
116
|
description: string;
|
|
143
117
|
inputSchema: z.ZodObject<{
|
|
144
|
-
forkAuthor: z.ZodOptional<z.ZodObject<{
|
|
145
|
-
platform: z.ZodEnum<["github", "gitlab"]>;
|
|
146
|
-
user: z.ZodString;
|
|
147
|
-
forkOrigin: z.ZodString;
|
|
148
|
-
}, "strip", z.ZodTypeAny, {
|
|
149
|
-
platform: "github" | "gitlab";
|
|
150
|
-
user: string;
|
|
151
|
-
forkOrigin: string;
|
|
152
|
-
}, {
|
|
153
|
-
platform: "github" | "gitlab";
|
|
154
|
-
user: string;
|
|
155
|
-
forkOrigin: string;
|
|
156
|
-
}>>;
|
|
157
|
-
workspaceId: z.ZodOptional<z.ZodString>;
|
|
158
118
|
repoOrigin: z.ZodOptional<z.ZodString>;
|
|
159
119
|
repoPath: z.ZodString;
|
|
160
120
|
intentId: z.ZodString;
|
|
@@ -221,12 +181,6 @@ export declare const editSessionDecisionTool: {
|
|
|
221
181
|
action: "update" | "delete";
|
|
222
182
|
decisionId: string;
|
|
223
183
|
repoOrigin?: string | undefined;
|
|
224
|
-
forkAuthor?: {
|
|
225
|
-
platform: "github" | "gitlab";
|
|
226
|
-
user: string;
|
|
227
|
-
forkOrigin: string;
|
|
228
|
-
} | undefined;
|
|
229
|
-
workspaceId?: string | undefined;
|
|
230
184
|
updates?: {
|
|
231
185
|
context?: string | undefined;
|
|
232
186
|
summary?: string | undefined;
|
|
@@ -249,12 +203,6 @@ export declare const editSessionDecisionTool: {
|
|
|
249
203
|
action: "update" | "delete";
|
|
250
204
|
decisionId: string;
|
|
251
205
|
repoOrigin?: string | undefined;
|
|
252
|
-
forkAuthor?: {
|
|
253
|
-
platform: "github" | "gitlab";
|
|
254
|
-
user: string;
|
|
255
|
-
forkOrigin: string;
|
|
256
|
-
} | undefined;
|
|
257
|
-
workspaceId?: string | undefined;
|
|
258
206
|
updates?: {
|
|
259
207
|
context?: string | undefined;
|
|
260
208
|
summary?: string | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { request } from '../services/muninn-ipc.js';
|
|
3
3
|
import { resolveOrigin } from './resolve-origin.js';
|
|
4
|
-
import { forkFieldsExtensions, extractForkFields } from './_fork-fields.js';
|
|
5
4
|
const constraintViolationSchema = z.object({
|
|
6
5
|
alternative: z.string(),
|
|
7
6
|
constraint: z.string(),
|
|
@@ -28,7 +27,6 @@ export const editSessionDecisionSchema = z.object({
|
|
|
28
27
|
decisionId: z.string().describe('The decision ID to edit or delete'),
|
|
29
28
|
action: z.enum(['update', 'delete']).describe('Action to perform: update modifies the decision, delete removes it'),
|
|
30
29
|
updates: decisionUpdatesSchema.optional().describe('Partial fields to update (only for action=update)'),
|
|
31
|
-
...forkFieldsExtensions,
|
|
32
30
|
});
|
|
33
31
|
export async function editSessionDecision(input) {
|
|
34
32
|
const actualOrigin = resolveOrigin(input.repoOrigin, input.repoPath);
|
|
@@ -38,7 +36,6 @@ export async function editSessionDecision(input) {
|
|
|
38
36
|
decisionId: input.decisionId,
|
|
39
37
|
action: input.action,
|
|
40
38
|
updates: input.updates,
|
|
41
|
-
...extractForkFields(input),
|
|
42
39
|
});
|
|
43
40
|
// No id receipt exists for an update/delete, so require an EXPLICIT
|
|
44
41
|
// success instead of inferring it from the absence of a failure
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-session-decision.js","sourceRoot":"","sources":["../../src/tools/edit-session-decision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"edit-session-decision.js","sourceRoot":"","sources":["../../src/tools/edit-session-decision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAEnD,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC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